Hmm weird.
Let me try to reproduce it on my machine.
I guess that you don't have any connectivity issue (to access to the
features XML) ?
Regards
JB
On 2013-10-23 16:58, Charles Moulliard wrote:
Same problem even If I add them as descriptor
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.3.3</version>
<executions>
<execution>
<id>add-features-to-repo</id>
<phase>generate-resources</phase>
<goals>
<goal>add-features-to-repo</goal>
</goals>
<configuration>
<descriptors>
<descriptor>mvn:org.apache.karaf.assemblies.features/standard/2.3.3/xml/features</descriptor>
<descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/2.3.3/xml/features</descriptor>
</descriptors>
</configuration>
On Wed, Oct 23, 2013 at 4:50 PM, <[email protected] [2]> wrote:
As far as remember, Christian removed the default Karaf features URL
from the Maven plugin.
Could you try to add explicitly the Karaf standard and enterprise
features URL in your POM (in the plugin configuration) ?
Regards
JB
On 2013-10-23 16:47, Charles Moulliard wrote:
Hi,
For which reason, we get a : Error populating repository:
NullPointerException -> [Help 1]
[INFO] <<< features-maven-plugin:2.3.3:add-features-to-repo
(default-cli) @ features <<<
[INFO]
[INFO] --- features-maven-plugin:2.3.3:add-features-to-repo
(default-cli) @ features ---
[INFO] Copying bundle:
org.apache.karaf.assemblies.features:standard:xml:features:2.3.3
[WARNING] Cant add
mvn:org.apache.karaf.assemblies.features/standard/2.3.3/xml/features
in the descriptors set
[INFO] Copying bundle:
org.apache.karaf.assemblies.features:enterprise:xml:features:2.3.3
[WARNING] Cant add
mvn:org.apache.karaf.assemblies.features/enterprise/2.3.3/xml/features
in the descriptors set
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.493s
[INFO] Finished at: Wed Oct 23 16:41:58 CEST 2013
[INFO] Final Memory: 10M/205M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.karaf.tooling:features-maven-plugin:2.3.3:add-features-to-repo
(default-cli) on project features: Error populating repository:
NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven
with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[ERROR]
[ERROR] For more information about the errors and possible
solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[1]
[1]
Regards,