karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Topping (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-883) NPE in features-maven-plugin
Date Wed, 21 Sep 2011 04:13:08 GMT

     [ https://issues.apache.org/jira/browse/KARAF-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Topping resolved KARAF-883.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 3.0.0

Seems to be fixed in 3.0.0-SNAPSHOT

> NPE in features-maven-plugin
> ----------------------------
>
>                 Key: KARAF-883
>                 URL: https://issues.apache.org/jira/browse/KARAF-883
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 2.2.2
>         Environment: OSX, JDK 1.6
>            Reporter: Brian Topping
>             Fix For: 3.0.0
>
>
> NPE while trying to generate a features xml.  See attached capture from terminal.
> Brian-Toppings-MacBook-Pro:querydsl-root topping$ mvn org.apache.karaf.tooling:features-maven-plugin:2.2.2:generate-features-xml
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-core:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 87, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ line 99, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-apt:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-collections:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-sql:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 145, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ line 157, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-maven-plugin:maven-plugin:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-jpa:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 211, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-jdo:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 149, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-lucene:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-hibernate-search:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-mongodb:bundle:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 131, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-scala:jar:2.2.2-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique:
com.h2database:h2:jar -> duplicate declaration of version 1.2.133 @ line 108, column 17
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ com.mysema.querydsl:querydsl-root:2.2.2-SNAPSHOT, /Users/topping/dev/querydsl/querydsl-root/pom.xml,
line 358, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for com.mysema.querydsl:querydsl-root:pom:2.2.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 32, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin
is missing. @ line 229, column 15
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin
is missing. @ com.mysema.home:mysema-source:0.2.0, /Users/topping/.m2/repository/com/mysema/home/mysema-source/0.2.0/mysema-source-0.2.0.pom,
line 46, column 13
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ line 340, column 15
> [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin
is missing. @ line 358, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability
of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such
malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Querydsl
> [INFO] Querydsl - Core module
> [INFO] Querydsl - APT support
> [INFO] Querydsl - Collections support
> [INFO] Querydsl - SQL support
> [INFO] Querydsl - Maven plugin
> [INFO] Querydsl - JPA support
> [INFO] Querydsl - JDO support
> [INFO] Querydsl - Lucene support
> [INFO] Querydsl - Hibernate Search support
> [INFO] Querydsl - Mongodb support
> [INFO] Querydsl - Scala support
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Querydsl 2.2.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> features-maven-plugin:2.2.2:generate-features-xml (default-cli) @
querydsl-root >>>
> [INFO] 
> [INFO] <<< features-maven-plugin:2.2.2:generate-features-xml (default-cli) @
querydsl-root <<<
> [INFO] 
> [INFO] --- features-maven-plugin:2.2.2:generate-features-xml (default-cli) @ querydsl-root
---
> [INFO] Step 1: Building list of provided bundle exports
> [INFO] ...done!
> [INFO] Step 2 : No Bundle file supplied for building list of exports
> [INFO] ...done!
> [INFO] Step 3 : Discovering bundles in Maven dependencies
> [INFO] ...done!
> [INFO] Step 4 : Generating /Users/topping/dev/querydsl/querydsl-root/target/classes/feature.xml
> [INFO]  Generating feature junit from junit:junit:jar:4.8.1:test
> [INFO]  Generating feature easymock from org.easymock:easymock:jar:3.0:test
> [INFO] ...done!
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Querydsl - Core module 2.2.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] >>> features-maven-plugin:2.2.2:generate-features-xml (default-cli) @
querydsl-core >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ querydsl-core ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/topping/dev/querydsl/querydsl-core/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ querydsl-core ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] <<< features-maven-plugin:2.2.2:generate-features-xml (default-cli) @
querydsl-core <<<
> [INFO] 
> [INFO] --- features-maven-plugin:2.2.2:generate-features-xml (default-cli) @ querydsl-core
---
> [INFO] Step 1: Building list of provided bundle exports
> [INFO] ...done!
> [INFO] Step 2 : No Bundle file supplied for building list of exports
> [INFO] ...done!
> [INFO] Step 3 : Discovering bundles in Maven dependencies
> [INFO] ...done!
> [INFO] Step 4 : Generating /Users/topping/dev/querydsl/querydsl-core/target/classes/feature.xml
> [INFO]  Generating feature collections-generic from net.sourceforge.collections:collections-generic:jar:4.01:compile
> [INFO]  Generating feature commons-lang from commons-lang:commons-lang:jar:2.4:compile
> [INFO]  Generating feature mysema-commons-lang from com.mysema.commons:mysema-commons-lang:jar:0.2.1:compile
> [INFO]  Generating feature codegen from com.mysema.codegen:codegen:jar:0.4.2:compile
> [INFO]  Generating feature jsr305 from net.sourceforge.findbugs:jsr305:jar:1.3.2:compile
> [INFO]  Generating feature annotations from net.sourceforge.findbugs:annotations:jar:1.3.2:compile
> [INFO]  Generating feature javax.inject from javax.inject:javax.inject:jar:1:compile
> [ERROR] 
> java.lang.NullPointerException
> 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:193)
> 	at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.getManifest(GenerateFeaturesXmlMojo.java:504)
> 	at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.addRequirements(GenerateFeaturesXmlMojo.java:381)
> 	at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.getFeature(GenerateFeaturesXmlMojo.java:327)
> 	at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.writeFeatures(GenerateFeaturesXmlMojo.java:313)
> 	at org.apache.karaf.tooling.features.GenerateFeaturesXmlMojo.execute(GenerateFeaturesXmlMojo.java:163)
> 	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)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Querydsl .......................................... SUCCESS [0.464s]
> [INFO] Querydsl - Core module ............................ FAILURE [0.563s]
> [INFO] Querydsl - APT support ............................ SKIPPED
> [INFO] Querydsl - Collections support .................... SKIPPED
> [INFO] Querydsl - SQL support ............................ SKIPPED
> [INFO] Querydsl - Maven plugin ........................... SKIPPED
> [INFO] Querydsl - JPA support ............................ SKIPPED
> [INFO] Querydsl - JDO support ............................ SKIPPED
> [INFO] Querydsl - Lucene support ......................... SKIPPED
> [INFO] Querydsl - Hibernate Search support ............... SKIPPED
> [INFO] Querydsl - Mongodb support ........................ SKIPPED
> [INFO] Querydsl - Scala support .......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.805s
> [INFO] Finished at: Tue Sep 20 22:56:09 EDT 2011
> [INFO] Final Memory: 8M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.2:generate-features-xml
(default-cli) on project querydsl-core: Unable to create features.xml file: java.lang.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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :querydsl-core
> Brian-Toppings-MacBook-Pro:querydsl-root topping$ 

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

        

Mime
View raw message