[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.rag@rag:~/git/maven-osgi/maven-osgi > mvn install pax:provision
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for ch.rag.maven-osgi.build:compiled-bundle-settings:pom:1.0-SNAPSHOT
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ch.rag.maven-osgi (OSGi project)
[INFO] maven-osgi - plugin configuration
[INFO] maven-osgi - wrapper instructions
[INFO] maven-osgi - bundle instructions
[INFO] maven-osgi - imported bundles
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ch.rag.maven-osgi (OSGi project) 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ maven-osgi ---
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/1.0-SNAPSHOT/maven-osgi-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-osgi - plugin configuration 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ shared-plugin-settings ---
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/poms/pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/build/shared-plugin-settings/1.0-SNAPSHOT/shared-plugin-settings-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-osgi - wrapper instructions 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wrapper-bundle-settings ---
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/poms/wrappers/pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/build/wrapper-bundle-settings/1.0-SNAPSHOT/wrapper-bundle-settings-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-osgi - bundle instructions 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ compiled-bundle-settings ---
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/poms/compiled/pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/build/compiled-bundle-settings/1.0-SNAPSHOT/compiled-bundle-settings-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-osgi - imported bundles 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ provision ---
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/provision/pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/build/provision/1.0-SNAPSHOT/provision-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ch.rag.maven-osgi (OSGi project) 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-pax-plugin:1.6.0:provision (default-cli) @ maven-osgi ---
[INFO] ~~~~~~~~~~~~~~~~~~~
[INFO] No bundles found!
[INFO] ~~~~~~~~~~~~~~~~~~~
[INFO] Installing /Users/rag/git/maven-osgi/maven-osgi/runner/deploy-pom.xml to /Users/rag/.m2/repository/ch/rag/maven-osgi/build/deployment/1.0-SNAPSHOT/deployment-1.0-SNAPSHOT.pom
__________ __________
\______ \_____ ___ ___ \______ \__ __ ____ ____ ___________
| ___/\__ \ \ \/ / | _/ | \/ \ / \_/ __ \_ __ \
| | / __ \_> < | | \ | / | \ | \ ___/| | \/
|____| (____ /__/\_ \ |____|_ /____/|___| /___| /\___ >__|
\/ \/ \/ \/ \/ \/
Pax Runner (1.9.0) from OPS4J - http://www.ops4j.org
----------------------------------------------------
-> Using only arguments from command line
-> Scan bundles from [/Users/rag/git/maven-osgi/maven-osgi/runner/deploy-pom.xml]
-> Scan bundles from [scan-pom:file:/Users/rag/git/maven-osgi/maven-osgi/runner/deploy-pom.xml]
-> Preparing framework [Felix 5.4.0]
-> Downloading bundles...
611 [main] WARN org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL - Repository spec https://repo.maven.apache.org/maven2/ does not contain an identifier. This is deprecated & discouraged & just evil.
611 [main] WARN org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL - Repository spec http://repository.ops4j.org/maven2/ does not contain an identifier. This is deprecated & discouraged & just evil.
-> Felix 5.4.0 : 690862 bytes @ [ 76762kBps ]
-> Apache Felix Gogo Command (0.16.0) : 52560 bytes @ [ 26280kBps ]
-> Apache Felix Gogo Runtime (0.16.2) : 125027 bytes @ [ 125027kBps ]
-> Apache Felix Gogo Shell (0.12.0) : 54420 bytes @ [ 54420kBps ]
___
/ /
/ / Oops, there has been a problem!
/ /
/__/ org.ops4j.pax.runner.platform.PlatformException: Execution environment [J2SE-11.] could not be found
___
/__/ Use --log=debug to see details.
Hi Rome,
For Pax Runner you are right (I don't have the issue in Pax Exam as we are using Karaf).
I will create the Jira and fix that.
Regards
JB
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/cce76364-42fa-4229-879c-dcb973979ee1%40googlegroups.com.