Re: Pax Runner Issue with Java11

2019-11-01 Thread Jean-Baptiste Onofré
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

On 01/11/2019 19:39, Rome Agapkin wrote:
> i have just checked the source code of the pax-runner-platform project
> and see that there is no execution environment in
>
> /pax-runner-platform/src/main/resources/META-INF/platform/ee
>
> for neither one above java 8, so i'm wondering, what would be
> necessary to create one, beside removing outdated packages like
> javax.xml. and others...?
> -- 
> -- 
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ops4j/cce76364-42fa-4229-879c-dcb973979ee1%40googlegroups.com
> .

-- 
-- 
--
OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/a5a48408-f22c-40d9-2807-a8c3c4737cbd%40gmail.com.


Re: Pax Runner Issue with Java11

2019-11-01 Thread Rome Agapkin
i have just checked the source code of the pax-runner-platform project and 
see that there is no execution environment in 

/pax-runner-platform/src/main/resources/META-INF/platform/ee

for neither one above java 8, so i'm wondering, what would be necessary to 
create one, beside removing outdated packages like javax.xml. and others...?

-- 
-- 
--
OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/cce76364-42fa-4229-879c-dcb973979ee1%40googlegroups.com.


Pax Runner Issue with Java11

2019-11-01 Thread Rome Agapkin
Hi guys,
i'm relatively new to pax. Today i was trying to create an OSGi project 
with maven and found this tutorial 
https://books.sonatype.com/mcookbook/reference/osgi.html
started from the beginning, i was able to reach only step 1.3 :-)

what i noticed when creating project is this error:
[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.


but anyway, build was successful.

then i went on to the next step: mvn install pax:provision

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]