Re: generated feature file in karaf-maven-plugin 3.0.3 don't work in karaf 4.0.0.M2

2015-02-27 Thread Rodrigo Serra
Thank JB, i upgrade  the versión of the plugin to 4.0.0.M2 and works.

Regards,
Rodrigo

 El 27/2/2015, a las 5:09, Jean-Baptiste Onofré j...@nanthrax.net escribió:
 
 Hi Rodrigo,
 
 yes, the feature namespace version (and so content) is different between 
 3.0.3 and 4.0.0.M2.
 
 If you change the namespace in the generated features.xml, it should work.
 
 Regards
 JB
 
 On 02/27/2015 02:16 AM, Rodrigo Serra wrote:
 Hello,
 
 I found problem with karaf-maven-plugin 3.0.3 generated feature file in 
 karaf 4.0.0.M2. When try command feature:repo-add fail with this exception:
 
 java.io.IOException: Unsupported namespace: 
 http://karaf.apache.org/xmlns/features/v1.2.1 : 
 mvn:ar.com.jlab.osgi.karaf/jpa-eclipselink/1.0.2-SNAPSHOT/xml/features
  at 
 org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:78)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.internal.service.FeaturesServiceImpl.loadRepository(FeaturesServiceImpl.java:346)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:366)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.command.RepoAddCommand.doExecute(RepoAddCommand.java:50)[28:org.apache.karaf.features.command:4.0.0.M2]
  at 
 org.apache.karaf.features.command.FeaturesCommandSupport.execute(FeaturesCommandSupport.java:33)[28:org.apache.karaf.features.command:4.0.0.M2]
  at 
 org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at 
 org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:267)[41:org.apache.karaf.shell.core:4.0.0.M2]
  at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
 Caused by: java.lang.IllegalArgumentException: Unsupported namespace: 
 http://karaf.apache.org/xmlns/features/v1.2.1
  at 
 org.apache.karaf.features.internal.model.JaxbUtil.getSchema(JaxbUtil.java:162)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.internal.model.JaxbUtil.unmarshalValidate(JaxbUtil.java:124)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.internal.model.JaxbUtil.unmarshal(JaxbUtil.java:104)[6:org.apache.karaf.features.core:4.0.0.M2]
  at 
 org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:76)[6:org.apache.karaf.features.core:4.0.0.M2]
  ... 15 more
 
 When i change the version of plugin to 4.0.0.M2 works.
 
 Is this the espected behavior?
 
 Regards,
 Rodrigo
 
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Bundle class loaders details

2014-11-11 Thread Rodrigo Serra
Hi,

Is possible to view details of the class loader for specifics bundle?

Regards,
Rodrigo


Re: Bundle class loaders details

2014-11-11 Thread Rodrigo Serra
Thanks!
 El 12/11/2014, a las 2:56, Christian Schneider ch...@die-schneider.net 
 escribió:
 
 If you mean programmatically then try this:
 
 bundle.adapt(BundleWiring.class).getClassLoader()
 
 From the karaf shell you can list the imports of the bundle which contains 
 the most interesting details. Also the headers command helps if the bundle is 
 not resolved.
 
 Christian
 
 Am 11.11.2014 21:52, schrieb Rodrigo Serra:
 Hi,
 
 Is possible to view details of the class loader for specifics bundle?
 
 Regards,
 Rodrigo
 
 
 -- 
 Christian Schneider
 http://www.liquid-reality.de
 
 Open Source Architect
 Talend Application Integration Division http://www.talend.com
 



Re: [UPDATE] New install-kar goal of karaf-maven-plugin

2014-09-25 Thread Rodrigo Serra
Helo JB,

You make the tests with the pom from my previous mail?

I found the problem. I compare the dependencies from my test pom vs  
dependencies in module Apache Karaf :: Assemblies :: Default Distribution” and 
i found a dependency to spring feature:
dependency
groupIdorg.apache.karaf.features/groupId
artifactIdspring/artifactId
classifierfeatures/classifier
typexml/type
scoperuntime/scope
/dependency

When include this dependency to my pom the resulting assembly works. No more 
missing bundles.

This is the expected behavior?

Regards,
Rodrigo

El 25/09/2014, a las 03:11, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 By the way, I tested both Java7 and Java8 successfully (again on CentOS 7 
 without Internet connection) ;)
 
 Regards
 JB
 
 On 09/24/2014 02:59 PM, Rodrigo Serra wrote:
 Hi JB, the resulting distribution. Regards, Rodrigo
 
 El 24/09/2014, a las 09:52, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 you mean you launch mvn without Internet ?
 or the resulting distribution on a vm without Internet ?
 
 Regards
 JB
 
 On 09/24/2014 02:41 PM, Rodrigo Serra wrote:
 Hello JB,
 
 I try with a reduced version of my pom and i can reproduce problem. The 
 only catch is running the assembly in VM a isolated from internet. This is 
 the pom:
 
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion
 groupIdtest/groupId
 artifactIdassembly/artifactId
 packagingkaraf-assembly/packaging
 version1.0.0-SNAPSHOT/version
 
 properties
 karaf.version3.0.2-SNAPSHOT/karaf.version
 /properties
 
 nameTest :: Assembly/name
 dependencies
 dependency
 groupIdorg.apache.karaf.features/groupId
 artifactIdframework/artifactId
 version${karaf.version}/version
 typekar/type
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdstandard/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdenterprise/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 /dependencies
 build
 plugins
 plugin
 groupIdorg.apache.karaf.tooling/groupId
 artifactIdkaraf-maven-plugin/artifactId
 version${karaf.version}/version
 extensionstrue/extensions
 configuration
 
 resourcesDir${basedir}/target/resources/resourcesDir
 /configuration
 /plugin
 /plugins
 /build
 /project
 
 Regards,
 Rodrigo
 
 El 24/09/2014, a las 09:22, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 unfortunately, I can't fully test your pom as it depends to other 
 artifacts (sgc-features or osgi-derby-feature).
 
 Anyway, it looks good to me (I tested something similar with camel and it 
 works fine).
 So maybe you have some artifacts resolution issue (at bundle level).
 
 If you can send to me (private) the output of mvn -X clean install of 
 your assembly, I can take a look.
 
 Thanks,
 Regards
 JB
 
 On 09/24/2014 11:38 AM, Rodrigo Serra wrote:
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion
 parent
 artifactIdsgc/artifactId
 groupIdar.com.jlab/groupId
 version1.1.13-SNAPSHOT/version
 /parent
 
 groupIdar.com.jlab.sgc.sgc-assembly/groupId
 artifactIdsgc/artifactId
 packagingkaraf-assembly/packaging
 
 nameSGC :: Assembly/name
 dependencies
 dependency
 groupIdorg.apache.karaf.features/groupId
 artifactIdframework/artifactId
 version${karaf.version}/version
 typekar/type
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdstandard/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdenterprise/artifactId

Re: [UPDATE] New install-kar goal of karaf-maven-plugin

2014-09-24 Thread Rodrigo Serra
/plugin

plugin
groupIdorg.apache.karaf.tooling/groupId
artifactIdkaraf-maven-plugin/artifactId
version${karaf.version}/version
extensionstrue/extensions
configuration
resourcesDir${basedir}/target/resources/resourcesDir
bootFeatures
featurewrapper/feature
featurederby-server/feature
featuresgc/feature
/bootFeatures
/configuration
/plugin
/plugins
/build
/project


El 24/09/2014, a las 03:46, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 I fixed it.
 
 I'm preparing some tests.
 
 Regards
 JB
 
 On 09/24/2014 07:08 AM, Jean-Baptiste Onofré wrote:
 OK, I see a small mistake in the update of
 etc/org.apache.karaf.features.cfg file.
 
 I gonna fix that.
 
 Regards
 JB
 
 On 09/23/2014 10:55 PM, Rodrigo Serra wrote:
 Hi JB,
 
 I compile and run the generated assembly in a VM without internet
 access. The resulting assembly has reference to directories of my
 development environment. This is can be see in the karaf log:
 
 2014-09-23 17:45:33,573 | WARN  | FelixStartLevel  |
 FeaturesServiceImpl  | 20 - org.apache.karaf.features.core
 - 3.0.2.SNAPSHOT | Unable to add features repository
 /Users/rserra/NetBeansProjects/Lecici/sgc/assembly/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
 at startup
 java.lang.IllegalArgumentException: invalid URI:
 /Users/rserra/NetBeansProjects/Lecici/sgc/assembly/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
 
 
 /Users/rserra/NetBeansProjects/Lecici/sgc is the project root on my
 machine.
 
 Another problem was a generation of NPE if a regular jar is on
 dependencies: (is not necessary for my project, I included this
 dependencies in my last intent to generate a completed assembly)
 
 [ERROR] Failed to execute goal
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
 (default-install-kars)
 on project sgc: Execution default-install-kars of goal
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
 failed.
 NullPointerException - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
 execute goal
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
 (default-install-kars)
 on project sgc: Execution default-install-kars of goal
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
 failed.
 
at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
 
at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 
at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 
at
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 
at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:606)
at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 
at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 
at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 
at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
 default-install-kars of goal
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
 failed.
 
at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
 
at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 
... 19 more
 Caused by: java.lang.NullPointerException
at
 org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:178

Re: [UPDATE] New install-kar goal of karaf-maven-plugin

2014-09-24 Thread Rodrigo Serra
Hello JB,

I try with a reduced version of my pom and i can reproduce problem. The only 
catch is running the assembly in VM a isolated from internet. This is the pom:

?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;
modelVersion4.0.0/modelVersion
groupIdtest/groupId
artifactIdassembly/artifactId
packagingkaraf-assembly/packaging
version1.0.0-SNAPSHOT/version

properties
karaf.version3.0.2-SNAPSHOT/karaf.version
/properties

nameTest :: Assembly/name
dependencies
dependency
groupIdorg.apache.karaf.features/groupId
artifactIdframework/artifactId
version${karaf.version}/version
typekar/type
/dependency
dependency
groupIdorg.apache.karaf.features/groupId
version${karaf.version}/version
artifactIdstandard/artifactId
classifierfeatures/classifier
typexml/type
scoperuntime/scope
/dependency
dependency
groupIdorg.apache.karaf.features/groupId
version${karaf.version}/version
artifactIdenterprise/artifactId
classifierfeatures/classifier
typexml/type
scoperuntime/scope
/dependency
/dependencies
build
plugins
plugin
groupIdorg.apache.karaf.tooling/groupId
artifactIdkaraf-maven-plugin/artifactId
version${karaf.version}/version
extensionstrue/extensions
configuration
resourcesDir${basedir}/target/resources/resourcesDir
/configuration
/plugin
/plugins
/build
/project

Regards,
Rodrigo

El 24/09/2014, a las 09:22, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 unfortunately, I can't fully test your pom as it depends to other artifacts 
 (sgc-features or osgi-derby-feature).
 
 Anyway, it looks good to me (I tested something similar with camel and it 
 works fine).
 So maybe you have some artifacts resolution issue (at bundle level).
 
 If you can send to me (private) the output of mvn -X clean install of your 
 assembly, I can take a look.
 
 Thanks,
 Regards
 JB
 
 On 09/24/2014 11:38 AM, Rodrigo Serra wrote:
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion
 parent
 artifactIdsgc/artifactId
 groupIdar.com.jlab/groupId
 version1.1.13-SNAPSHOT/version
 /parent
 
 groupIdar.com.jlab.sgc.sgc-assembly/groupId
 artifactIdsgc/artifactId
 packagingkaraf-assembly/packaging
 
 nameSGC :: Assembly/name
 dependencies
 dependency
 groupIdorg.apache.karaf.features/groupId
 artifactIdframework/artifactId
 version${karaf.version}/version
 typekar/type
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdstandard/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdenterprise/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdar.com.jlab.sgc.sgc-features/groupId
 artifactIdsgc/artifactId
 version1.1.13-SNAPSHOT/version
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdar.com.jlab.osgi.derby/groupId
 artifactIdosgi-derby-feature/artifactId
 version${osgi-derby.version}/version
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 /dependencies
 build
 resources
 resource
 directory${pom.basedir}/src/main/directory
 filteringtrue/filtering
 includes
 include**/*/include
 /includes
 /resource
 /resources
 plugins
 plugin
 artifactIdmaven-antrun-plugin/artifactId
 version1.7/version
 executions
 execution
 phasevalidate/phase

Re: [UPDATE] New install-kar goal of karaf-maven-plugin

2014-09-24 Thread Rodrigo Serra
Hi JB, the resulting distribution. Regards, Rodrigo

El 24/09/2014, a las 09:52, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 you mean you launch mvn without Internet ?
 or the resulting distribution on a vm without Internet ?
 
 Regards
 JB
 
 On 09/24/2014 02:41 PM, Rodrigo Serra wrote:
 Hello JB,
 
 I try with a reduced version of my pom and i can reproduce problem. The only 
 catch is running the assembly in VM a isolated from internet. This is the 
 pom:
 
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion
 groupIdtest/groupId
 artifactIdassembly/artifactId
 packagingkaraf-assembly/packaging
 version1.0.0-SNAPSHOT/version
 
 properties
 karaf.version3.0.2-SNAPSHOT/karaf.version
 /properties
 
 nameTest :: Assembly/name
 dependencies
 dependency
 groupIdorg.apache.karaf.features/groupId
 artifactIdframework/artifactId
 version${karaf.version}/version
 typekar/type
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdstandard/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdenterprise/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 /dependencies
 build
 plugins
 plugin
 groupIdorg.apache.karaf.tooling/groupId
 artifactIdkaraf-maven-plugin/artifactId
 version${karaf.version}/version
 extensionstrue/extensions
 configuration
 resourcesDir${basedir}/target/resources/resourcesDir
 /configuration
 /plugin
 /plugins
 /build
 /project
 
 Regards,
 Rodrigo
 
 El 24/09/2014, a las 09:22, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 unfortunately, I can't fully test your pom as it depends to other artifacts 
 (sgc-features or osgi-derby-feature).
 
 Anyway, it looks good to me (I tested something similar with camel and it 
 works fine).
 So maybe you have some artifacts resolution issue (at bundle level).
 
 If you can send to me (private) the output of mvn -X clean install of your 
 assembly, I can take a look.
 
 Thanks,
 Regards
 JB
 
 On 09/24/2014 11:38 AM, Rodrigo Serra wrote:
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
 http://maven.apache.org/xsd/maven-4.0.0.xsd;
 modelVersion4.0.0/modelVersion
 parent
 artifactIdsgc/artifactId
 groupIdar.com.jlab/groupId
 version1.1.13-SNAPSHOT/version
 /parent
 
 groupIdar.com.jlab.sgc.sgc-assembly/groupId
 artifactIdsgc/artifactId
 packagingkaraf-assembly/packaging
 
 nameSGC :: Assembly/name
 dependencies
 dependency
 groupIdorg.apache.karaf.features/groupId
 artifactIdframework/artifactId
 version${karaf.version}/version
 typekar/type
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdstandard/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdorg.apache.karaf.features/groupId
 version${karaf.version}/version
 artifactIdenterprise/artifactId
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdar.com.jlab.sgc.sgc-features/groupId
 artifactIdsgc/artifactId
 version1.1.13-SNAPSHOT/version
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 dependency
 groupIdar.com.jlab.osgi.derby/groupId
 artifactIdosgi-derby-feature/artifactId
 version${osgi-derby.version}/version
 classifierfeatures/classifier
 typexml/type
 scoperuntime/scope
 /dependency
 /dependencies
 build
 resources
 resource
 directory${pom.basedir}/src/main/directory
 filteringtrue/filtering

Re: [UPDATE] New install-kar goal of karaf-maven-plugin

2014-09-23 Thread Rodrigo Serra
Hi JB,

I compile and run the generated assembly in a VM without internet access. The 
resulting assembly has reference to directories of my development environment. 
This is can be see in the karaf log:

2014-09-23 17:45:33,573 | WARN  | FelixStartLevel  | FeaturesServiceImpl
  | 20 - org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Unable to add 
features repository 
/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
 at startup
java.lang.IllegalArgumentException: invalid URI: 
/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml

/Users/rserra/NetBeansProjects/Lecici/sgc is the project root on my machine. 

Another problem was a generation of NPE if a regular jar is on dependencies: 
(is not necessary for my project, I included this dependencies in my last 
intent to generate a completed assembly)

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
(default-install-kars) on project sgc: Execution default-install-kars of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars failed. 
NullPointerException - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars 
(default-install-kars) on project sgc: Execution default-install-kars of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars failed.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
default-install-kars of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars failed.
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.NullPointerException
at 
org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:178)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 20 more


Regards,
Rodrigo

El 23/09/2014, a las 16:28, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi guys,
 
 as discussed with some of you on IRC, I pushed my refactoring of the 
 karaf-maven-plugin. For now, I only pushed the install-kar goal (I will push 
 the feature-generate-descriptor goal tomorrow).
 
 This new install-kar goal now work recursively to resolve transitive 
 features repositories and features.
 
 It simplifies the custom distribution creation and avoid Karaf to download 
 some core artifacts from Internet at startup.
 
 If you have some time to test it, it would be helpful.
 
 I keep you posted for the other goals.
 
 Thanks,
 Regards
 JB
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



karaf-maven-plugin: missing bundle in bootFeatures feature

2014-09-21 Thread Rodrigo Serra
Hi,

I try to make a karaf assembly with all bundles in system directory to avoid 
internet connection o using mvm mirror. All looks good until the transaction 
feature. In the system folder of the generated assembly, there are a missing 
bundle required by this feature:  
mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1

Some body know what is happens?

This is the plugin configuration:

plugin
groupIdorg.apache.karaf.tooling/groupId
artifactIdkaraf-maven-plugin/artifactId
version${karaf.version}/version
extensionstrue/extensions
configuration
resourcesDir${basedir}/target/resources/resourcesDir
bootFeatures
featurejndi/feature
featurejdbc/feature
featuretransaction/feature
featurederby-server/feature
featurewrapper/feature
featuresgc/feature
/bootFeatures
/configuration
/plugin

Regards,
Rodrigo

Re: karaf-maven-plugin: missing bundle in bootFeatures feature

2014-09-21 Thread Rodrigo Serra
Hi JB, Thanks you!!!

Regards,
Rodrigo

El 21/09/2014, a las 13:27, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 if it's a transitive feature, it's normal as it's not yet supported. I will 
 push the change tomorrow (maybe tonight).
 
 Regards
 JB
 
 On 09/21/2014 04:07 PM, Rodrigo Serra wrote:
 Hi,
 
 I try to make a karaf assembly with all bundles in system directory to avoid 
 internet connection o using mvm mirror. All looks good until the 
 transaction feature. In the system folder of the generated assembly, there 
 are a missing bundle required by this feature:  
 mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
 
 Some body know what is happens?
 
 This is the plugin configuration:
 
 plugin
 groupIdorg.apache.karaf.tooling/groupId
 artifactIdkaraf-maven-plugin/artifactId
 version${karaf.version}/version
 extensionstrue/extensions
 configuration
 resourcesDir${basedir}/target/resources/resourcesDir
 bootFeatures
 featurejndi/feature
 featurejdbc/feature
 featuretransaction/feature
 featurederby-server/feature
 featurewrapper/feature
 featuresgc/feature
 /bootFeatures
 /configuration
 /plugin
 
 Regards,
 Rodrigo
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Karaf branding

2014-09-16 Thread Rodrigo Serra
Hi,

I have trouble with branding. I used this facility in the past with no problems 
but now simply doesn't work, nothing happens. I have a bundle with file 
org.apache.karaf.branding/branding.properties:

#  Copyright 2014 JLab S.A.
#  Todos los derechos reservados

welcome = \
\u001B[36m  \u001B[0m\r\n\
\u001B[36m/ ___|  __ _  ___ \u001B[0m\r\n\
\u001B[36m\\___ \\ / _` |/ __|\u001B[0m\r\n\
\u001B[36m ___) | (_| | (__ \u001B[0m\r\n\
\u001B[36m|/ \\__, |\\___|\u001B[0m\r\n\
\u001B[36m   |___/  \u001B[0m\r\n\
\r\n\
\u001B[1mSgc\u001B[0m\r\n\
\r\n\
Presione '\u001B[1mtab\u001B[0m' para listar los comandos disponibles\r\n\
   y '\u001B[1m[cmd] --help\u001B[0m' para la ver la ayuda de un comando 
especifico.\r\n\
Presione '\u001B[1mctrl-d\u001B[0m' o '\u001B[1mosgi:shutdown\u001B[0m' para 
apagar.\r\n

prompt = \u001B[1m${USER}@${APPLICATION}\u001B[0m

I try with 3.0.1 and 3.0.2-SNAPSHOT.

¿Some one have a idea what is wrong?

Regards,
Rodrigo

Re: Karaf branding

2014-09-16 Thread Rodrigo Serra
Is the same. When I said org.apache.karaf.branding/branding.properties means 
org/apache/karaf/branding containing branding.properties.

I tried with file etc/branding.properties and works but my bundle does not.

This is the bundle details:

unzip -l sgc-karaf-branding-1.1.11-SNAPSHOT.jar 
Archive:  sgc-karaf-branding-1.1.11-SNAPSHOT.jar
  Length  DateTimeName
-  -- -   
  468  09-16-2014 08:35   META-INF/MANIFEST.MF
0  09-16-2014 08:35   META-INF/
0  09-16-2014 08:35   META-INF/maven/
0  09-16-2014 08:35   META-INF/maven/ar.com.jlab.sgc/
0  09-16-2014 08:35   META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/
  152  09-16-2014 08:35   
META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/pom.properties
 2233  09-16-2014 08:35   
META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/pom.xml
0  09-16-2014 08:35   org/
0  09-16-2014 08:35   org/apache/
0  09-16-2014 08:35   org/apache/karaf/
0  09-16-2014 08:35   org/apache/karaf/branding/
  709  09-16-2014 08:29   org/apache/karaf/branding/branding.properties


META-INF/MANIFEST.MF:

Manifest-Version: 1.0
Bnd-LastModified: 1410877447528
Build-Jdk: 1.7.0_67
Built-By: rserra
Bundle-DocURL: http://jlab.com.ar
Bundle-ManifestVersion: 2
Bundle-Name: SGC :: Karaf :: Branding
Bundle-SymbolicName: sgc-karaf-branding
Bundle-Vendor: JLab S.A.
Bundle-Version: 1.1.11.SNAPSHOT
Created-By: Apache Maven Bundle Plugin
Export-Package: org.apache.karaf.branding;version=1.1.11
Tool: Bnd-2.3.0.201405100607

When bundle is copied to deploy directory, the screen of the console display 
standar karaf banner again.

Any idea?

Regards,
Rodrigo


El 16/09/2014, a las 08:51, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 The console looks for branding in 
 org/apache/karaf/branding/branding.properties.
 
 So in your bundle, you should have the folder org/apache/karaf/branding 
 containing branding.properties.
 
 I don't know if it's the same for you as you said 
 org.apache.karaf.branding/branding.properties.
 
 The branding.properties contains a welcome property.
 
 Now, as an alternative, instead of looking for a bundle, you can put directly 
 the branding.properties in Karaf etc folder.
 
 Regards
 JB
 
 On 09/16/2014 01:42 PM, Rodrigo Serra wrote:
 Hi,
 
 I have trouble with branding. I used this facility in the past with no 
 problems but now simply doesn't work, nothing happens. I have a bundle with 
 file org.apache.karaf.branding/branding.properties:
 
 #  Copyright 2014 JLab S.A.
 #  Todos los derechos reservados
 
 welcome = \
 \u001B[36m  \u001B[0m\r\n\
 \u001B[36m/ ___|  __ _  ___ \u001B[0m\r\n\
 \u001B[36m\\___ \\ / _` |/ __|\u001B[0m\r\n\
 \u001B[36m ___) | (_| | (__ \u001B[0m\r\n\
 \u001B[36m|/ \\__, |\\___|\u001B[0m\r\n\
 \u001B[36m   |___/  \u001B[0m\r\n\
 \r\n\
 \u001B[1mSgc\u001B[0m\r\n\
 \r\n\
 Presione '\u001B[1mtab\u001B[0m' para listar los comandos disponibles\r\n\
y '\u001B[1m[cmd] --help\u001B[0m' para la ver la ayuda de un comando 
 especifico.\r\n\
 Presione '\u001B[1mctrl-d\u001B[0m' o '\u001B[1mosgi:shutdown\u001B[0m' 
 para apagar.\r\n
 
 prompt = \u001B[1m${USER}@${APPLICATION}\u001B[0m
 
 I try with 3.0.1 and 3.0.2-SNAPSHOT.
 
 ¿Some one have a idea what is wrong?
 
 Regards,
 Rodrigo
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



karaf-maven-plugin fails to use features with bundles with wrap and blueprint keyword.

2014-09-14 Thread Rodrigo Serra
Hi,

When i try to generate a karaf distribution with karaf-maven-plugin, the plugin 
fails in bundles with wrap o blueprint keyboard. The error is:

--- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars (default-install-kars) @ sgc 
---
Installing feature 
file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
 to system and startup.properties
Adding feature repository to system: 
mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
Installing feature 
file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/ar/com/jlab/sgc/features/sgc/1.1.11-SNAPSHOT/sgc-1.1.11-SNAPSHOT-features.xml
 to system and startup.properties
Could not resolve 
wrap:mvn:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find 
wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in the 
local repository, resolution will not be reattempted until the update interval 
of JLabMirror has elapsed or updates are forced
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
at 
org.apache.karaf.tooling.features.Dependency31Helper.resolveById(Dependency31Helper.java:321)
at 
org.apache.karaf.tooling.features.InstallKarsMojo.install(InstallKarsMojo.java:307)
at 
org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:247)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to 
find 
wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in the 
local repository, resolution will not be reattempted until the update interval 
of JLabMirror has elapsed or updates are forced
at 
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
at 
org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
at 

Re: karaf-maven-plugin fails to use features with bundles with wrap and blueprint keyword.

2014-09-14 Thread Rodrigo Serra
Thanks JB!

Regards,
Rodrigo

 El 14/09/2014, a las 12:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:
 
 Hi Rodrigo,
 
 I added support of some URLs but not all. I will add wrap and blueprint 
 support.
 
 Regards
 JB
 
 On 09/14/2014 01:57 PM, Rodrigo Serra wrote:
 Hi,
 
 When i try to generate a karaf distribution with karaf-maven-plugin, the 
 plugin fails in bundles with wrap o blueprint keyboard. The error is:
 
 --- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars (default-install-kars) @ 
 sgc ---
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
  to system and startup.properties
 Adding feature repository to system: 
 mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/ar/com/jlab/sgc/features/sgc/1.1.11-SNAPSHOT/sgc-1.1.11-SNAPSHOT-features.xml
  to system and startup.properties
 Could not resolve 
 wrap:mvn:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find 
 wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
  in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in the 
 local repository, resolution will not be reattempted until the update 
 interval of JLabMirror has elapsed or updates are forced
at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at 
 org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
at 
 org.apache.karaf.tooling.features.Dependency31Helper.resolveById(Dependency31Helper.java:321)
at 
 org.apache.karaf.tooling.features.InstallKarsMojo.install(InstallKarsMojo.java:307)
at 
 org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:247)
at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to 
 find 
 wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
  in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in the 
 local repository, resolution will not be reattempted until the update 
 interval of JLabMirror has elapsed or updates are forced
at 
 org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
at 
 org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599

Re: karaf-maven-plugin fails to use features with bundles with wrap and blueprint keyword.

2014-09-14 Thread Rodrigo Serra
Hi,

I figure out what is the problem with wrap and in my case the problema is the 
character “/ before $ in this URL:

wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1

The mvnToAether method in the class org.apache.karaf.tooling.features.MavenUtil 
 can’t handle this kind of url. With this patch both problem, bundles with 
character “/ and blueprint are fixed:

# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Index
+++ Modified In Working Tree
@@ -41,7 +41,7 @@
 
 static final DefaultRepositoryLayout layout = new 
DefaultRepositoryLayout();
 private static final Pattern aetherPattern = Pattern.compile(([^: 
]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+));
-private static final Pattern mvnPattern = 
Pattern.compile((?:wrap:)?mvn:([^/ ]+)/([^/ ]+)/([^/\\$ ]*)(/([^/\\$ 
]+)(/([^/\\$ ]+))?)?(\\$.+)?);
+private static final Pattern mvnPattern = 
Pattern.compile((?:(?:wrap:)|(?:blueprint:))?mvn:([^/ ]+)/([^/ ]+)/([^/\\$ 
]*)(/([^/\\$ ]+)(/([^/\\$ ]+))?)?(/\\$.+)?);
 
 /**
  * Convert PAX URL mvn format to aether coordinate format.




El 14/09/2014, a las 13:37, Rodrigo Serra rodrigo.se...@jlab.com.ar escribió:

 Thanks JB!
 
 Regards,
 Rodrigo
 
 El 14/09/2014, a las 12:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 I added support of some URLs but not all. I will add wrap and blueprint 
 support.
 
 Regards
 JB
 
 On 09/14/2014 01:57 PM, Rodrigo Serra wrote:
 Hi,
 
 When i try to generate a karaf distribution with karaf-maven-plugin, the 
 plugin fails in bundles with wrap o blueprint keyboard. The error is:
 
 --- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars (default-install-kars) @ 
 sgc ---
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
  to system and startup.properties
 Adding feature repository to system: 
 mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/ar/com/jlab/sgc/features/sgc/1.1.11-SNAPSHOT/sgc-1.1.11-SNAPSHOT-features.xml
  to system and startup.properties
 Could not resolve 
 wrap:mvn:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find 
 wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
  in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in the 
 local repository, resolution will not be reattempted until the update 
 interval of JLabMirror has elapsed or updates are forced
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
   at 
 org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
   at 
 org.apache.karaf.tooling.features.Dependency31Helper.resolveById(Dependency31Helper.java:321)
   at 
 org.apache.karaf.tooling.features.InstallKarsMojo.install(InstallKarsMojo.java:307)
   at 
 org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:247)
   at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
   at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
   at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57

Re: karaf-maven-plugin fails to use features with bundles with wrap and blueprint keyword.

2014-09-14 Thread Rodrigo Serra
Thanks!

Regards,
Rodrigo

El 14/09/2014, a las 15:44, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Thanks for the update. As I said, I added support of new URLs.
 
 I'm creating a Jira and will fix your issue.
 
 Thanks !
 Regards
 JB
 
 On 09/14/2014 08:41 PM, Rodrigo Serra wrote:
 Hi,
 
 I figure out what is the problem with wrap and in my case the problema is 
 the character “/ before $ in this URL:
 
 wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 
 The mvnToAether method in the class 
 org.apache.karaf.tooling.features.MavenUtil  can’t handle this kind of url. 
 With this patch both problem, bundles with character “/ and blueprint are 
 fixed:
 
 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- Index
 +++ Modified In Working Tree
 @@ -41,7 +41,7 @@
 
  static final DefaultRepositoryLayout layout = new 
 DefaultRepositoryLayout();
  private static final Pattern aetherPattern = Pattern.compile(([^: 
 ]+):([^: ]+)(:([^: ]*)(:([^: ]+))?)?:([^: ]+));
 -private static final Pattern mvnPattern = 
 Pattern.compile((?:wrap:)?mvn:([^/ ]+)/([^/ ]+)/([^/\\$ ]*)(/([^/\\$ 
 ]+)(/([^/\\$ ]+))?)?(\\$.+)?);
 +private static final Pattern mvnPattern = 
 Pattern.compile((?:(?:wrap:)|(?:blueprint:))?mvn:([^/ ]+)/([^/ ]+)/([^/\\$ 
 ]*)(/([^/\\$ ]+)(/([^/\\$ ]+))?)?(/\\$.+)?);
 
  /**
   * Convert PAX URL mvn format to aether coordinate format.
 
 
 
 
 El 14/09/2014, a las 13:37, Rodrigo Serra rodrigo.se...@jlab.com.ar 
 escribió:
 
 Thanks JB!
 
 Regards,
 Rodrigo
 
 El 14/09/2014, a las 12:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 I added support of some URLs but not all. I will add wrap and blueprint 
 support.
 
 Regards
 JB
 
 On 09/14/2014 01:57 PM, Rodrigo Serra wrote:
 Hi,
 
 When i try to generate a karaf distribution with karaf-maven-plugin, the 
 plugin fails in bundles with wrap o blueprint keyboard. The error is:
 
 --- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars (default-install-kars) 
 @ sgc ---
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
  to system and startup.properties
 Adding feature repository to system: 
 mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
 Installing feature 
 file:/Users/rserra/NetBeansProjects/Lecici/sgc/assembly/distribucion/target/assembly/system/ar/com/jlab/sgc/features/sgc/1.1.11-SNAPSHOT/sgc-1.1.11-SNAPSHOT-features.xml
  to system and startup.properties
 Could not resolve 
 wrap:mvn:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
 org.eclipse.aether.resolution.ArtifactResolutionException: Failure to 
 find 
 wrap:mvn:jar:com.vaadin.addon/vaadin-touchkit-agpl/4.0.0.rc1/$Bundle-SymbolicName=vaadin-touchkit-agplBundle-Version=4.0.0.rc1
  in https://zeus.jlab.com.ar/nexus/content/groups/public/ was cached in 
 the local repository, resolution will not be reattempted until the update 
 interval of JLabMirror has elapsed or updates are forced
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
   at 
 org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
   at 
 org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
   at 
 org.apache.karaf.tooling.features.Dependency31Helper.resolveById(Dependency31Helper.java:321)
   at 
 org.apache.karaf.tooling.features.InstallKarsMojo.install(InstallKarsMojo.java:307)
   at 
 org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:247)
   at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
   at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
   at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
   at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
   at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154

Custom feature name in org.apache.karaf.tooling:feature-generate

2014-09-13 Thread Rodrigo Serra
Hi,

Is posible to customize the feature name generated by tooling plugin?

Regards,
Rodrigo


Re: Custom feature name in org.apache.karaf.tooling:feature-generate

2014-09-13 Thread Rodrigo Serra
Thank you JB. I wait your push

Regards,
Rodrigo

El 13/09/2014, a las 14:00, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 using the features-generate-descriptor goal I guess.
 
 Currently no. You can always provide the features. It's the way we do in 
 Cellar for instance:
 
 https://git-wip-us.apache.org/repos/asf?p=karaf-cellar.git;a=blob_plain;f=assembly/src/main/resources/features.xml;hb=HEAD
 
 Anyway, I did some improvements on the karaf-maven-plugin, where you can use 
 a kind of template file for features generation where you can specify the 
 feature name.
 I'm preparing the merge.
 
 Regards
 JB
 
 On 09/13/2014 05:00 PM, Rodrigo Serra wrote:
 Hi,
 
 Is posible to customize the feature name generated by tooling plugin?
 
 Regards,
 Rodrigo
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Unexpected folder '${karaf.data}'

2014-09-09 Thread Rodrigo Serra
Hi,

Latest karaf 3.0.2-SNAPSHOT create a folder with name ‘${karaf.data}’ (without 
the quotes) in KARAF_HOME. Inside the folder exists another folder called 
pax-web-jsp. Some thing create the folder without convert the parameters values.

Regards,
Rodrigo

Re: Unexpected folder '${karaf.data}'

2014-09-09 Thread Rodrigo Serra
Hi,

I tested it and works. No more '${karaf.data}’ folder is created and the 
exception with transaction configuration are fixed.

Regards,
Rodrigo

El 09/09/2014, a las 17:21, Achim Nierbeck bcanh...@googlemail.com escribió:

 Hi,
 
 I fixed KARAF-3212, it's been a regression I introduced, sorry for that.
 Current master and karaf-3.0.x branches are fixed and ready to be checked :)
 
 regards, Achim
 
 
 
 
 2014-09-09 19:09 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net:
 
 Hey,
 
 honestly, after some quick tests, I suspect KARAF-2453 to be source of
 couple of regressions ;)
 
 I'm fixing the latest Jira for Karaf 2.4.0, I will go back on 3.0.x just
 after.
 
 Regards
 JB
 
 On 09/09/2014 07:06 PM, Achim Nierbeck wrote:
 
 Hi,
 
 might be a regression of KARAF-2453
 https://issues.apache.org/jira/browse/KARAF-2453
 
 I'm gonna take a look  :)
 
 regards, Achim
 
 
 
 2014-09-09 15:23 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net:
 
 Yup I saw the Jira, I will tackle that asap.
 
 Regards
 JB
 
 On 09/09/2014 03:12 PM, Sobkowiak, Krzysztof wrote:
 
 https://issues.apache.org/jira/browse/KARAF-3212 - I have raised an
 issue yesterday
 
 Best regards
 Krzysztof
 
 
 
 
 
 On 09.09.2014 15:01, Jean-Baptiste Onofré wrote:
 
 Hi Rodrigo,
 
 I'm checking that but I don't think I saw that.
 
 Regards
 JB
 
 On 09/09/2014 02:56 PM, Rodrigo Serra wrote:
 
 Hi,
 
 Latest karaf 3.0.2-SNAPSHOT create a folder with name ‘${karaf.data}’
 (without the quotes) in KARAF_HOME. Inside the folder exists another
 folder called pax-web-jsp. Some thing create the folder without
 convert the parameters values.
 
 Regards,
 Rodrigo
 
 
 
 
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com
 
 
 
 
 
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com
 
 
 
 
 -- 
 
 Apache Member
 Apache Karaf http://karaf.apache.org/ Committer  PMC
 OPS4J Pax Web http://wiki.ops4j.org/display/paxweb/Pax+Web/ Committer 
 Project Lead
 blog http://notizblog.nierbeck.de/
 
 Software Architect / Project Manager / Scrum Master



Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation to 
 the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Just adding dependency in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Yes, is Maven version. I change to 3.0.5 and works

Thank JB and Krzys,

Regards,
Rodrigo

El 08/09/2014, a las 07:30, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 I guess that you use Maven 3.1 or 3.2 ?
 
 For now, only 3.0.x is supported.
 
 Regards
 JB
 
 On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
 Hello JB,
 
 Now the build failt with this error:
 
 [ERROR] Failed to execute goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  (compile) on project framework: Execution compile of goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  failed: A required class was missing while executing 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
  org/sonatype/aether/RepositorySystem
 
 in module Apache Karaf :: Assemblies :: Features :: Framework”
 
 Regards,
 Rodrigo
 
 El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation 
 to the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Just adding dependency in the plugin section with wagon lightweight 
 http should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO

MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
Hi,

When starting latest karaf 3.0.2-SNAPSHOT i get this error:

2014-09-08 08:06:26,646 | ERROR | es.transaction]) | configadmin
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
[org.osgi.service.cm.ManagedService, id=652, 
bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
 Unexpected problem updating configuration 
org.apache.aries.transactionjava.lang.ExceptionInInitializerError
at 
org.apache.aries.transaction.internal.TransactionManagerService.init(TransactionManagerService.java:114)
at 
org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)  
  at 
org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[6:org.apache.felix.configadmin:1.8.0]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
org.apache.aries.transaction.txManager, locale es_ES
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
at 
org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:152)[9:org.apache.aries.util:1.1.0]
at 
org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)[9:org.apache.aries.util:1.1.0]
at 
org.apache.aries.transaction.internal.NLS.clinit(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
... 8 more

and no transaction manager service is available. Is some thing regarding my OS 
installation locale?

Regards,
Rodrigo



El 08/09/2014, a las 08:03, Rodrigo Serra rodrigo.se...@jlab.com.ar escribió:

 Yes, is Maven version. I change to 3.0.5 and works
 
 Thank JB and Krzys,
 
 Regards,
 Rodrigo
 
 El 08/09/2014, a las 07:30, Jean-Baptiste Onofré j...@nanthrax.net escribió:
 
 Hi Rodrigo,
 
 I guess that you use Maven 3.1 or 3.2 ?
 
 For now, only 3.0.x is supported.
 
 Regards
 JB
 
 On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
 Hello JB,
 
 Now the build failt with this error:
 
 [ERROR] Failed to execute goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  (compile) on project framework: Execution compile of goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  failed: A required class was missing while executing 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
  org/sonatype/aether/RepositorySystem
 
 in module Apache Karaf :: Assemblies :: Features :: Framework”
 
 Regards,
 Rodrigo
 
 El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation 
 are broken. The first problem is the upgrade of pax web to  
 3.1.2-SNAPSHOT. I don’t have this jar in my m2, but c2eef4e fix the 
 version but the current error emerge. Some thin in the middle of two 
 commit broke the compilation to the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Just adding dependency in the plugin section with wagon lightweight 
 http should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to 
 Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014

Re: MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
(ManagedServiceTracker.java:81)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[6:org.apache.felix.configadmin:1.8.0]
at 
org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[6:org.apache.felix.configadmin:1.8.0]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
org.apache.aries.transaction.txManager, locale en_US
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
at 
org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:152)[9:org.apache.aries.util:1.1.0]
at 
org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)[9:org.apache.aries.util:1.1.0]
at 
org.apache.aries.transaction.internal.NLS.clinit(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
... 8 more

Regards,
Rodrigo

El 08/09/2014, a las 09:32, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Is it when you install the transaction feature or directly when you start 
 ConfigAdmin/karaf ?
 
 Regards
 JB
 
 On 09/08/2014 01:23 PM, Rodrigo Serra wrote:
 Hi,
 
 When starting latest karaf 3.0.2-SNAPSHOT i get this error:
 
 2014-09-08 08:06:26,646 | ERROR | es.transaction]) | configadmin 
  | 6 - org.apache.felix.configadmin - 1.8.0 | 
 [org.osgi.service.cm.ManagedService, id=652, 
 bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
  Unexpected problem updating configuration 
 org.apache.aries.transactionjava.lang.ExceptionInInitializerError
 at 
 org.apache.aries.transaction.internal.TransactionManagerService.init(TransactionManagerService.java:114)
 at 
 org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)   
  at 
 org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)[6:org.apache.felix.configadmin:1.8.0]
 at 
 org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)[6:org.apache.felix.configadmin:1.8.0]
 at 
 org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[6:org.apache.felix.configadmin:1.8.0]
 at 
 org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[6:org.apache.felix.configadmin:1.8.0]
 at 
 org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[6:org.apache.felix.configadmin:1.8.0]
 at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
 Caused by: java.util.MissingResourceException: Can't find bundle for base 
 name org.apache.aries.transaction.txManager, locale es_ES
 at 
 java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
 at 
 java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)[:1.7.0_67]
 at 
 java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)[:1.7.0_67]
 at 
 org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:152)[9:org.apache.aries.util:1.1.0]
 at 
 org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)[9:org.apache.aries.util:1.1.0]
 at 
 org.apache.aries.transaction.internal.NLS.clinit(NLS.java:25)[67:org.apache.aries.transaction.manager:1.1.0]
 ... 8 more
 
 and no transaction manager service is available. Is some thing regarding my 
 OS installation locale?
 
 Regards,
 Rodrigo
 
 
 
 El 08/09/2014, a las 08:03, Rodrigo Serra rodrigo.se...@jlab.com.ar 
 escribió:
 
 Yes, is Maven version. I change to 3.0.5 and works
 
 Thank JB and Krzys,
 
 Regards,
 Rodrigo
 
 El 08/09/2014, a las 07:30, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 I guess that you use Maven 3.1 or 3.2 ?
 
 For now, only 3.0.x is supported.
 
 Regards
 JB
 
 On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
 Hello JB,
 
 Now the build failt with this error:
 
 [ERROR] Failed to execute goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  (compile) on project framework: Execution compile of goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  failed: A required class was missing while executing 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
  org/sonatype/aether/RepositorySystem
 
 in module Apache Karaf :: Assemblies :: Features :: Framework

Re: MissingResourceException in aries transaction

2014-09-08 Thread Rodrigo Serra
it works!. I try with karaf transaction feature content.Thank!!!

Regards,
Rodrigo

El 08/09/2014, a las 17:29, Krzysztof Sobkowiak krzys.sobkow...@gmail.com 
escribió:

 I have just tested ServiceMix and the problem doesn't occur there. But
 here is one difference:
 
  * when you install transaction feature in Karaf, there is no file
org.apache.aries.transaction.cfg in etc directory.
  * ServiceMix has a predefined org.apache.aries.transaction.cfg with
following content:
 
aries.transaction.timeout=600
aries.transaction.howl.logFileDir=${karaf.data}/txlog/
aries.transaction.recoverable=true
 
  * after copying the file from ServiceMix into Karaf and deleting the
data directory, the problem seems to be fixed
  * I have copied the content of the Karaf transaction feature config
into the org.apache.aries.transaction.cfg file
 
aries.transaction.recoverable = true
aries.transaction.timeout = 600
aries.transaction.howl.logFileDir = ${karaf.data}/txlog
aries.transaction.howl.maxLogFiles = 2
aries.transaction.howl.maxBlocksPerFile = 512
aries.transaction.howl.bufferSizeKBytes = 4
 
 
It works too.
 
 
 It means, the problem is missing etc/org.apache.aries.transaction.cfg
 file. But I think this is a correct behavior (missing file), because the
 configuration is stored now in the cache, when defined in feature files
 using  config tag
 
 Best regards
 Krzysztof
 
 
 On 08.09.2014 22:03, Krzysztof Sobkowiak wrote:
 I can reproduce it on Karaf master too. Karaf 2.4 no problem.
 
 On 08.09.2014 21:05, Jean-Baptiste Onofré wrote:
 I don't have it on my machine. Let me check ;)
 
 Regards
 JB
 
 On 09/08/2014 08:10 PM, Krzysztof Sobkowiak wrote:
 I could reproduce this problem on my machine too
 
 On 08.09.2014 15:17, Rodrigo Serra wrote:
 Both of cases. When install feature i get this error (this is for
 clean data dir: rm -fr data):
 
 2014-09-08 10:11:35,275 | INFO  | FelixStartLevel  |
 RegionsPersistenceImpl   | 63 -
 org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | Loading region
 digraph persistence
 2014-09-08 10:11:35,310 | INFO  | FelixStartLevel  |
 RegionsPersistenceImpl   | 63 -
 org.apache.karaf.region.persist - 3.0.2.SNAPSHOT | initializing
 region digraph from etc/regions-config.xml
 2014-09-08 10:11:35,467 | INFO  | FelixStartLevel  |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.karaf.bundle.command is waiting for dependencies
 [(objectClass=org.apache.karaf.bundle.core.BundleWatcher),
 (objectClass=org.apache.karaf.bundle.core.BundleService)]
 2014-09-08 10:11:35,479 | INFO  | rint Extender: 3 |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.karaf.bundle.command is waiting for dependencies
 [(objectClass=org.apache.karaf.bundle.core.BundleService)]
 2014-09-08 10:11:48,657 | INFO  | Local user karaf |
 FeaturesServiceImpl  | 20 -
 org.apache.karaf.features.core - 3.0.2.SNAPSHOT | Installing
 feature transaction 1.1.0
 2014-09-08 10:11:48,688 | INFO  | Local user karaf |
 BlueprintContainerImpl   | 15 -
 org.apache.aries.blueprint.core - 1.4.1 | Bundle
 org.apache.aries.transaction.blueprint is waiting for dependencies
 [(objectClass=javax.transaction.TransactionManager)]
 2014-09-08 10:11:48,722 | ERROR | es.transaction]) |
 configadmin  | 6 - org.apache.felix.configadmin
 - 1.8.0 | [org.osgi.service.cm.ManagedService, id=652,
 bundle=67/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.0]:
 Unexpected problem updating configuration org.apache.aries.transaction
 java.lang.ExceptionInInitializerError
at
 org.apache.aries.transaction.internal.TransactionManagerService.init(TransactionManagerService.java:114)
at
 org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
at
 org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)[6:org.apache.felix.configadmin:1.8.0]
at
 org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)[6:org.apache.felix.configadmin:1.8.0]
at
 org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)[6:org.apache.felix.configadmin:1.8.0]
at
 org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)[6:org.apache.felix.configadmin:1.8.0]
at
 org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)[6:org.apache.felix.configadmin:1.8.0]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
 Caused by: java.util.MissingResourceException: Can't find bundle
 for base name org.apache.aries.transaction.txManager, locale en_US
at
 java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)[:1.7.0_67]
at
 java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Rodrigo Serra
Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Just adding dependency in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
 [INFO] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
 [INFO] at java.lang.reflect.Method.invoke(Method.java:606)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 
 [INFO] at
 

Re: JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-23 Thread Rodrigo Serra
ok, sound good. Thank you. Regards, Rodrigo

El 23/07/2014, a las 03:23, Achim Nierbeck bcanh...@googlemail.com escribió:

 Hmm, DynamicImport-Package should always be used as the last alternative.
 In your case I'd make sure it is restricted to org.eclipse.persistence.*.
 This way you make sure you don't start to import other not intended
 packages.
 
 regards, Achim
 
 
 2014-07-23 5:22 GMT+02:00 Rodrigo Serra rodrigo.se...@jlab.com.ar:
 
 I found the way to ignore custom Import-Package required for eclipselink.
 Replace Import-Package with
 DynamicImport-Package*/DynamicImport-Package.
 
 Regards,
 Rodrigo
 
 El 22/07/2014, a las 12:54, Jean-Baptiste Onofré j...@nanthrax.net
 escribió:
 
 Awesome Rodrigo,
 
 thanks a bunch for sharing this.
 
 Regards
 JB
 
 On 07/22/2014 05:28 PM, Rodrigo Serra wrote:
 Hello,
 
 I tried to work with last SNAPSHOT of karat 3.0.2 and i can be able to
 run JPA 2.1 with eclipselinks 2.5.2. This is the procedure to install
 eclipselink 2.5.2:
 
 karaf@root() feature:install jdbc
 karaf@root() feature:install jndi
 karaf@root() feature:install transaction
 karaf@root() feature:install jpa
 karaf@root() list -t 0 | grep -i hibernate-jpa
 91 | Active   |  30 | 1.0.0.Final   | hibernate-jpa-2.1-api
 karaf@root() uninstall -f 91
 karaf@root() install -s
 mvn:org.eclipse.persistence/javax.persistence/2.1.0
 Bundle ID: 96
 karaf@root() install -s
 mvn:org.eclipse.persistence/org.eclipse.persistence.antlr/2.5.2
 Bundle ID: 97
 karaf@root() install -s
 mvn:org.eclipse.persistence/org.eclipse.persistence.asm/2.5.2
 Bundle ID: 98
 karaf@root() install -s
 mvn:org.eclipse.persistence/org.eclipse.persistence.core/2.5.2
 Bundle ID: 99
 karaf@root() install -s
 mvn:org.eclipse.persistence/org.eclipse.persistence.jpa.jpql/2.5.2
 Bundle ID: 100
 karaf@root() install -s
 mvn:org.eclipse.persistence/org.eclipse.persistence.jpa/2.5.2
 Bundle ID: 101
 karaf@root() list
 START LEVEL 100 , List Threshold: 50
 ID | State  | Lvl | Version | Name
 
 --
 79 | Active |  80 | 1.6.0   | Commons Pool
 80 | Active |  80 | 1.4 | Commons DBCP
 81 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC ::
 Core
 82 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC ::
 Command
 90 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JNDI ::
 Command
 96 | Active |  80 | 2.1.0.v201304241213 | Java Persistence API 2.1
 97 | Active |  80 | 3.2.0.v201302191141 | EclipseLink ANTLR
 98 | Active |  80 | 3.3.1.v201302191223 | EclipseLink ASM
 99 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Core
 100 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Hermes Parser
 101 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink JPA
 karaf@root() ^D
 
 Deploy eclipselink provider:
 
 create file deploy/eclipselink-provider.xml
 
 blueprint xmlns=http://www.osgi.org/xmlns/blueprint/v1.0.0;
   xmlns:cm=
 http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0;
 
manifest xmlns=
 http://karaf.apache.org/xmlns/deployer/blueprint/v1.0.0;
Bundle-Version: 1.0.0
Bundle-Description: Eclipselink JPA Provider
Bundle-Name: EclipseLink JPA Provider
Bundle-SymbolicName:
 org.eclipse.persistence.jpa.PersistenceProvider
/manifest
 
bean id=ECLIPSELINK_PERSISTENCE_PROVIDER
  class=org.eclipse.persistence.jpa.PersistenceProvider
/bean
 
service ref = ECLIPSELINK_PERSISTENCE_PROVIDER
 interface = javax.persistence.spi.PersistenceProvider
service-properties
entry key = org.apache.aries.jpa.proxy.factory
 value=true/
entry key = osgi.jndi.service.name
   value = eclipselink.persistence.provider/
entry key = osgi.unit.provider
   value =
 org.eclipse.persistence.jpa.PersistenceProvider/
entry key = javax.persistence.provider
   value =
 org.eclipse.persistence.jpa.PersistenceProvider/
entry key = javax.persistence.spi.PersistenceProvider
   value =
 org.eclipse.persistence.jpa.PersistenceProvider/
entry key = javax.persistence.PersistenceProvider
   value =
 org.eclipse.persistence.jpa.PersistenceProvider/
/service-properties
/service
 /blueprint
 
 This is the final installation:
 
 karaf@root() list
 START LEVEL 100 , List Threshold: 50
 ID | State  | Lvl | Version | Name
 
 --
 79 | Active |  80 | 1.6.0   | Commons Pool
 80 | Active |  80 | 1.4 | Commons DBCP
 81 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC ::
 Core
 82 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC ::
 Command
 90 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JNDI

Re: JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-22 Thread Rodrigo Serra
Hello everybody,

Any news about JPA 2.1 and feature eclipselink? Is already in branch karat 
3.0.2?

Regards
Rodrigo

El 10/07/2014, a las 12:44, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 3.0.2 is planned in two weeks (you can see the release schedule on the 
 website).
 
 It's not yet on trunk as I didn't push the Aries change yet. I will do it 
 during the week end max.
 
 Regards
 JB
 
 On 07/10/2014 05:39 PM, Rodrigo Serra wrote:
 Thank for you fast response JB.
 
 Is already in trunk? What is the release time for 3.0.2?
 
 Regards,
 Rodrigo
 
 El 10/07/2014, a las 12:00, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 no, JPA 2.1 will be supported in 3.0.2.
 
 Regards
 JB
 
 On 07/10/2014 04:57 PM, Rodrigo Serra wrote:
 Hello,
 
 Is supported eclipselink JPA 2.1 in Karaf 3.01?
 
 Regards
 Rodrigo
 
 
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Re: JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-22 Thread Rodrigo Serra
 eclipselink are showed 
to stdout.

hibernate-jpa-2.1-api bundle need to by uninstalled because eclipselink have a 
dependency to bundle org.eclipse.persistence/javax.persistence/2.1.0 and these 
two bundle provide the same clases. The final effect are a confusion between 
Aries JPA and users bundle with class cast exception.

There is a extra trick, i don’t know why, but is necessary to add some package  
import in the bundle with persistence unit definition. This is the section 
needed for maven-bundle-plugin:

Import-Package
org.eclipse.persistence.internal.weaving,
org.eclipse.persistence.internal.descriptors,
org.eclipse.persistence.queries,
org.eclipse.persistence.descriptors.changetracking,
org.eclipse.persistence.internal.identitymaps,
org.eclipse.persistence.sessions,
org.eclipse.persistence.internal.jpa.rs.metadata.model,
org.eclipse.persistence.indirection,
*
/Import-Package

I hope this can be usefully to make eclipselink feature :)

Regards,
Rodrigo

El 22/07/2014, a las 09:03, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 I released Aries JPA 1.0.2 which now supports JPA 2.1.
 Karaf 3.0.2-SNAPSHOT is already updated to this version and so supports JPA 
 2.1.
 
 I didn't work on the eclipselink feature yet.
 
 Regards
 JB
 
 On 07/22/2014 01:49 PM, Rodrigo Serra wrote:
 Hello everybody,
 
 Any news about JPA 2.1 and feature eclipselink? Is already in branch karat 
 3.0.2?
 
 Regards
 Rodrigo
 
 El 10/07/2014, a las 12:44, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 3.0.2 is planned in two weeks (you can see the release schedule on the 
 website).
 
 It's not yet on trunk as I didn't push the Aries change yet. I will do it 
 during the week end max.
 
 Regards
 JB
 
 On 07/10/2014 05:39 PM, Rodrigo Serra wrote:
 Thank for you fast response JB.
 
 Is already in trunk? What is the release time for 3.0.2?
 
 Regards,
 Rodrigo
 
 El 10/07/2014, a las 12:00, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Hi Rodrigo,
 
 no, JPA 2.1 will be supported in 3.0.2.
 
 Regards
 JB
 
 On 07/10/2014 04:57 PM, Rodrigo Serra wrote:
 Hello,
 
 Is supported eclipselink JPA 2.1 in Karaf 3.01?
 
 Regards
 Rodrigo
 
 
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com
 
 
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Re: JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-22 Thread Rodrigo Serra
I found the way to ignore custom Import-Package required for eclipselink. 
Replace Import-Package with DynamicImport-Package*/DynamicImport-Package.

Regards,
Rodrigo

El 22/07/2014, a las 12:54, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Awesome Rodrigo,
 
 thanks a bunch for sharing this.
 
 Regards
 JB
 
 On 07/22/2014 05:28 PM, Rodrigo Serra wrote:
 Hello,
 
 I tried to work with last SNAPSHOT of karat 3.0.2 and i can be able to run 
 JPA 2.1 with eclipselinks 2.5.2. This is the procedure to install 
 eclipselink 2.5.2:
 
 karaf@root() feature:install jdbc
 karaf@root() feature:install jndi
 karaf@root() feature:install transaction
 karaf@root() feature:install jpa
 karaf@root() list -t 0 | grep -i hibernate-jpa
 91 | Active   |  30 | 1.0.0.Final   | hibernate-jpa-2.1-api
 karaf@root() uninstall -f 91
 karaf@root() install -s mvn:org.eclipse.persistence/javax.persistence/2.1.0
 Bundle ID: 96
 karaf@root() install -s 
 mvn:org.eclipse.persistence/org.eclipse.persistence.antlr/2.5.2
 Bundle ID: 97
 karaf@root() install -s 
 mvn:org.eclipse.persistence/org.eclipse.persistence.asm/2.5.2
 Bundle ID: 98
 karaf@root() install -s 
 mvn:org.eclipse.persistence/org.eclipse.persistence.core/2.5.2
 Bundle ID: 99
 karaf@root() install -s 
 mvn:org.eclipse.persistence/org.eclipse.persistence.jpa.jpql/2.5.2
 Bundle ID: 100
 karaf@root() install -s 
 mvn:org.eclipse.persistence/org.eclipse.persistence.jpa/2.5.2
 Bundle ID: 101
 karaf@root() list
 START LEVEL 100 , List Threshold: 50
  ID | State  | Lvl | Version | Name
 --
  79 | Active |  80 | 1.6.0   | Commons Pool
  80 | Active |  80 | 1.4 | Commons DBCP
  81 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC :: Core
  82 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC :: 
 Command
  90 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JNDI :: 
 Command
  96 | Active |  80 | 2.1.0.v201304241213 | Java Persistence API 2.1
  97 | Active |  80 | 3.2.0.v201302191141 | EclipseLink ANTLR
  98 | Active |  80 | 3.3.1.v201302191223 | EclipseLink ASM
  99 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Core
 100 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Hermes Parser
 101 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink JPA
 karaf@root() ^D
 
 Deploy eclipselink provider:
 
 create file deploy/eclipselink-provider.xml
 
 blueprint xmlns=http://www.osgi.org/xmlns/blueprint/v1.0.0;

 xmlns:cm=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0;
 
 manifest 
 xmlns=http://karaf.apache.org/xmlns/deployer/blueprint/v1.0.0;
 Bundle-Version: 1.0.0
 Bundle-Description: Eclipselink JPA Provider
 Bundle-Name: EclipseLink JPA Provider
 Bundle-SymbolicName: org.eclipse.persistence.jpa.PersistenceProvider
 /manifest
 
 bean id=ECLIPSELINK_PERSISTENCE_PROVIDER
   class=org.eclipse.persistence.jpa.PersistenceProvider
 /bean
 
 service ref = ECLIPSELINK_PERSISTENCE_PROVIDER
  interface = javax.persistence.spi.PersistenceProvider
 service-properties
 entry key = org.apache.aries.jpa.proxy.factory value=true/
 entry key = osgi.jndi.service.name
value = eclipselink.persistence.provider/
 entry key = osgi.unit.provider
value = 
 org.eclipse.persistence.jpa.PersistenceProvider/
 entry key = javax.persistence.provider
value = 
 org.eclipse.persistence.jpa.PersistenceProvider/
 entry key = javax.persistence.spi.PersistenceProvider
value = 
 org.eclipse.persistence.jpa.PersistenceProvider/
 entry key = javax.persistence.PersistenceProvider
value = 
 org.eclipse.persistence.jpa.PersistenceProvider/
 /service-properties
 /service
 /blueprint
 
 This is the final installation:
 
 karaf@root() list
 START LEVEL 100 , List Threshold: 50
  ID | State  | Lvl | Version | Name
 --
  79 | Active |  80 | 1.6.0   | Commons Pool
  80 | Active |  80 | 1.4 | Commons DBCP
  81 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC :: Core
  82 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JDBC :: 
 Command
  90 | Active |  80 | 3.0.2.SNAPSHOT  | Apache Karaf :: JNDI :: 
 Command
  96 | Active |  80 | 2.1.0.v201304241213 | Java Persistence API 2.1
  97 | Active |  80 | 3.2.0.v201302191141 | EclipseLink ANTLR
  98 | Active |  80 | 3.3.1.v201302191223 | EclipseLink ASM
  99 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Core
 100 | Active |  80 | 2.5.2.v20140319-9ad6abd | EclipseLink Hermes Parser
 101 | Active |  80 | 2.5.2.v20140319-9ad6abd

JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-10 Thread Rodrigo Serra
Hello,

Is supported eclipselink JPA 2.1 in Karaf 3.01? 

Regards
Rodrigo


Re: JPA 2.1 (eclipselink) in Karaf 3.01

2014-07-10 Thread Rodrigo Serra
Thank for you fast response JB.

Is already in trunk? What is the release time for 3.0.2? 

Regards,
Rodrigo

El 10/07/2014, a las 12:00, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 no, JPA 2.1 will be supported in 3.0.2.
 
 Regards
 JB
 
 On 07/10/2014 04:57 PM, Rodrigo Serra wrote:
 Hello,
 
 Is supported eclipselink JPA 2.1 in Karaf 3.01?
 
 Regards
 Rodrigo
 
 
 -- 
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Re: Task scheduler in Karaf

2013-04-24 Thread Rodrigo Serra
Is very nice feature to have!!!

Enviado desde mi iPad

El 24/04/2013, a las 09:41, roedll lukas.ro...@ait.ac.at escribió:

 More than a year ago Ioannis Canellos posted that he added a rudimentary
 scheduler as a new module to trunk. (See
 http://karaf.922171.n3.nabble.com/Introducing-a-task-scheduler-in-Karaf-td3185322.html
 for details)
 
 In the following discussion some people suggested to use Quartz and/or the
 scheduler implementation from Apache Sling (which already uses Quartz). As
 the Apache Sling implementation only implements support for SCR and not
 Blueprint it's unfortunately not plug and play in Karaf (without activating
 the SCR support)
 
 I've recently implemented Blueprint support for one of our projects and now
 wonder if this functionality would be of interest for Karaf?!
 
 
 
 
 --
 View this message in context: 
 http://karaf.922171.n3.nabble.com/Task-scheduler-in-Karaf-tp4028481.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.