karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-504) Features Maven Plugin does not work with Maven 3
Date Sun, 13 Mar 2011 17:48:59 GMT

    [ https://issues.apache.org/jira/browse/KARAF-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006229#comment-13006229
] 

David Jencks commented on KARAF-504:
------------------------------------

Umm, actually I've never used the generate-features.xml goal since I don't understand what
its supposed to do.  I think it should be removed from trunk.

> Features Maven Plugin does not work with Maven 3
> ------------------------------------------------
>
>                 Key: KARAF-504
>                 URL: https://issues.apache.org/jira/browse/KARAF-504
>             Project: Karaf
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.2.0
>         Environment: windows, linux, 
>            Reporter: Dan Tran
>             Fix For: 2.2.1
>
>
> it fails with any simple pom ( even with one bundle )
> here is the log
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building MC - JMS Client 1.0.0.CI-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> features-maven-plugin:2.2.0:generate-features-xml (generate) @ mc-jmsclient
>>>
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mc-jmsclient ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mc-jmsclient ---
> [INFO] No sources to compile
> [INFO]
> [INFO] <<< features-maven-plugin:2.2.0:generate-features-xml (generate) @ mc-jmsclient
<<<
> [INFO]
> [INFO] --- features-maven-plugin:2.2.0:generate-features-xml (generate) @ mc-jmsclient
---
> [INFO] Step 1: Building list of provided bundle exports
> [ERROR]
> java.lang.NullPointerException
>         at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.injectSession(DefaultLegacyArtifactCollector.java:77)
>         at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:99)
>         at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:782)
>         at org.apache.maven.shared.dependency.tree.DefaultDependencyTreeBuilder.buildDependencyTree(DefaultDependencyTreeBuilder.java:97)
>         at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.readKernelBundles(GenerateFeaturesXmlMojo.java:190)
>         at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.execute(GenerateFeaturesXmlMojo.java:147)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         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:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message