Building OpenNMS results in a NullPointerException on module "container/features"

Description

When compiling OpenNMS with compile.pl I run into a NullPointerException on module "container/features":

[ERROR] Failed to execute goal org.opennms.maven.plugins:features-maven-plugin:1.2.0-SNAPSHOT:generate-features-xml (features.xml) on project opennms: Execution features.xml of goal org.opennms.maven.plugins:features-maven-plugin:1.2.0-SNAPSHOT:generate-features-xml failed. NullPointerException -> [Help 1]

If I manually invoke mvn -X features:generate-features-xml on module container/features the error stack trace is as follows:

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)

Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: US-ASCII
OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.3.3/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/mvrueden/.m2/settings.xml
[DEBUG] Reading global toolchains from /usr/local/Cellar/maven/3.3.3/libexec/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/mvrueden/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/mvrueden/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/mvrueden/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=1, ConflictMarker.nodeCount=9, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=5, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=9, DefaultDependencyCollector.collectTime=46, DefaultDependencyCollector.transformTime=6}
[DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:2.6:
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.8:compile
[DEBUG] org.apache.maven.wagon:wagon-ssh-common:jar:2.6:compile
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:2.6:compile
[DEBUG] Created new class realm extension>org.apache.maven.wagon:wagon-ssh-external:2.6
[DEBUG] Importing foreign packages into class realm extension>org.apache.maven.wagon:wagon-ssh-external:2.6
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm extension>org.apache.maven.wagon:wagon-ssh-external:2.6
[DEBUG] Included: org.apache.maven.wagon:wagon-ssh-external:jar:2.6
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.8
[DEBUG] Included: org.apache.maven.wagon:wagon-ssh-common:jar:2.6
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6
[DEBUG] Extension realms for project org.opennms.karaf:opennms:pom:17.0.0-SNAPSHOT: [ClassRealm[extension>org.apache.maven.wagon:wagon-ssh-external:2.6, parent: sun.misc.Launcher$AppClassLoader@6d6f6e28]]
[DEBUG] Created new class realm project>org.opennms.karaf:opennms:17.0.0-SNAPSHOT
[DEBUG] Populating class realm project>org.opennms.karaf:opennms:17.0.0-SNAPSHOT
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>org.opennms.karaf:opennms:17.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.opennms:container:pom:17.0.0-SNAPSHOT: [ClassRealm[extension>org.apache.maven.wagon:wagon-ssh-external:2.6, parent: sun.misc.Launcher$AppClassLoader@6d6f6e28]]
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>org.opennms.karaf:opennms:17.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.opennms:opennms:pom:17.0.0-SNAPSHOT: [ClassRealm[extension>org.apache.maven.wagon:wagon-ssh-external:2.6, parent: sun.misc.Launcher$AppClassLoader@6d6f6e28]]
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[project>org.opennms.karaf:opennms:17.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Resolving plugin prefix features from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Could not find metadata org.opennms.maven.plugins:features-maven-plugin:1.2.0-SNAPSHOT/maven-metadata.xml in local (/Users/mvrueden/.m2/repository)
[DEBUG] Could not find metadata org.opennms.maven.plugins:features-maven-plugin:1.2.0-SNAPSHOT/maven-metadata.xml in local (/Users/mvrueden/.m2/repository)
[DEBUG] Resolved plugin prefix features to org.opennms.maven.plugins:features-maven-plugin from POM org.opennms.karaf:opennms:pom:17.0.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.opennms.karaf:opennms:pom:17.0.0-SNAPSHOT
[DEBUG] Tasks: [features:generate-features-xml]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building OpenNMS OSGi Container - OpenNMS Features 17.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------ [DEBUG] Resolving plugin prefix features from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix features to org.opennms.maven.plugins:features-maven-plugin from POM org.opennms.karaf:opennms:pom:17.0.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: org.opennms.karaf:opennms:17.0.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [runtime]
[DEBUG] Repositories (dependencies): [servicemix (http://maven.opennms.org/content/groups/servicemix-release/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [opennms-repo (http://maven.opennms.org/content/groups/opennms.org-release, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.opennms.maven.plugins:features-maven-plugin:1.2.0-SNAPSHOT:generate-features-xml (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<features>
<feature>activemq-broker</feature>
<feature>opennms-osgi-core</feature>
<feature>opennms-core</feature>
<feature>opennms-core-web</feature>
<feature>jmxconfiggenerator.webui</feature>
<feature>dashlet-alarms</feature>
<feature>dashlet-charts</feature>
<feature>dashlet-image</feature>
<feature>dashlet-ksc</feature>
<feature>dashlet-map</feature>
<feature>dashlet-rrd</feature>
<feature>dashlet-rtc</feature>
<feature>dashlet-summary</feature>
<feature>dashlet-surveillance</feature>
<feature>dashlet-topology</feature>
<feature>dashlet-url</feature>
<feature>nrtg</feature>
<feature>opennms-activemq-event-forwarder</feature>
<feature>opennms-activemq-event-receiver</feature>
<feature>opennms-topology-dev</feature>
<feature>opennms-topology-runtime-base</feature>
<feature>opennms-topology-runtime-browsers</feature>
<feature>opennms-topology-runtime-linkd</feature>
<feature>opennms-topology-runtime-ncs</feature>
<feature>opennms-topology-runtime-sfree</feature>
<feature>opennms-topology-runtime-simple</feature>
<feature>opennms-topology-runtime-vmware</feature>
<feature>vaadin-dashboard</feature>
<feature>vaadin-node-maps</feature>
<feature>vaadin-snmp-events-and-metrics</feature>
<feature>vaadin-surveillance-views</feature>
</features>
<importRepositories>true</importRepositories>
<importRepositoryExclusions>
<value>karaf-2.4.0</value>
<value>activemq-5.10.0</value>
<value>camel-2.14.1</value>
</importRepositoryExclusions>
<localRepository default-value="${localRepository}"/>
<name>opennms-17.0.0-SNAPSHOT</name>
<outputFile>${project.build.directory}/features/features.xml</outputFile>
<project>${project}</project>
<repositories>
<repository>file:/Users/mvrueden/dev/opennms/container/features/target/classes/features.xml</repository>
<repository>mvn:org.opennms.osgi/opennms-osgi-core/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features/jmxconfiggenerator/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features/jmxconfiggenerator.webui/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features/vaadin-snmp-events-and-metrics/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features/vaadin-node-maps/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.nrtg/nrtg/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-dev/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-base/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-browsers/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-linkd/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-ncs/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-sfree/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-simple/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.osgi.features.topology/opennms-topology-runtime-vmware/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features/vaadin-dashboard/17.0.0-SNAPSHOT/xml/features</repository>
<repository>mvn:org.opennms.features.vaadin-dashlets/dashlet-features/17.0.0-SNAPSHOT/xml</repository>
<repository>mvn:org.opennms.features/vaadin-surveillance-views/17.0.0-SNAPSHOT/xml/features</repository>
</repositories>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Skipped remote request for org.opennms.features.topology.build:compiled-bundle-settings:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.topology.build:shared-plugin-settings:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:topology:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms:org.opennms.features:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.osgi.features.topology:vaadin:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.osgi.features.topology:vaadin:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.topology:features:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.topology:features:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.topology:features:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:onms-default-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:themes:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:themes:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:themes:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:jmxconfiggenerator:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:jmxconfiggenerator:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:jmxconfiggenerator:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:jmxconfiggenerator:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.geocoder:org.opennms.features.geocoder.api:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.geocoder:org.opennms.features.geocoder.api:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.geocoder:org.opennms.features.geocoder.api:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.geocoder:org.opennms.features.geocoder.api:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:org.opennms.features.geocoder:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features:org.opennms.features.geocoder:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.dependencies:gwt-dependencies:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.dependencies:gwt-dependencies:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms:dependencies:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms:dependencies:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.dependencies:hibernate-dependencies:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.themes:dashboard-theme:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Skipped remote request for org.opennms.features.vaadin-components:graph:17.0.0-SNAPSHOT/maven-metadata.xml, locally installed metadata up-to-date.
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=1, ConflictMarker.nodeCount=471, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=187, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=14, ConflictResolver.conflictItemCount=332, DefaultDependencyCollector.collectTime=576, DefaultDependencyCollector.transformTime=17}
[DEBUG] org.opennms.karaf:opennms:pom:17.0.0-SNAPSHOT
[DEBUG] org.opennms.container:karaf:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.container:branding:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.apache.karaf:org.apache.karaf.main:jar:2.4.0:provided
[DEBUG] org.apache.karaf:org.apache.karaf.util:jar:2.4.0:provided
[DEBUG] org.apache.felix:org.apache.felix.utils:jar:1.6.0:provided
[DEBUG] org.apache.karaf.jaas:org.apache.karaf.jaas.boot:jar:2.4.0:provided
[DEBUG] org.opennms.osgi:opennms-osgi-core:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features:jmxconfiggenerator:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features:org.opennms.features.name-cutter:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.apache.velocity:velocity:jar:1.7:provided
[DEBUG] commons-collections:commons-collections:jar:3.2.1:provided
[DEBUG] args4j:args4j:jar:2.0.16:provided
[DEBUG] org.apache.commons:commons-lang3:jar:3.1:provided
[DEBUG] org.slf4j:slf4j-api:jar:1.7.7:runtime
[DEBUG] ch.qos.logback:logback-classic:jar:1.0.6:provided
[DEBUG] ch.qos.logback:logback-core:jar:1.0.6:provided
[DEBUG] org.opennms.features:jmxconfiggenerator.webui:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.osgi.features.topology:vaadin:pom:17.0.0-SNAPSHOT:provided
[DEBUG] com.vaadin:vaadin-server:jar:7.2.7:provided
[DEBUG] com.vaadin:vaadin-sass-compiler:jar:0.9.6:provided
[DEBUG] net.sourceforge.cssparser:cssparser:jar:0.9.11:provided
[DEBUG] com.vaadin:vaadin-client-compiled:jar:7.2.7:provided
[DEBUG] com.vaadin:vaadin-client:jar:7.2.7:provided
[DEBUG] org.w3c.css:sac:jar:1.3:provided
[DEBUG] javax.validation:validation-api:jar:1.0.0.GA:provided
[DEBUG] javax.validation:validation-api:jar:sources:1.0.0.GA:provided
[DEBUG] com.vaadin:vaadin-themes:jar:7.2.7:provided
[DEBUG] com.vaadin:vaadin-shared:jar:7.2.7:provided
[DEBUG] com.vaadin.external.flute:flute:jar:1.3.0.gg2:provided
[DEBUG] com.vaadin.external.streamhtmlparser:streamhtmlparser-jsilver:jar:0.0.10.vaadin1:provided
[DEBUG] com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:provided
[DEBUG] com.vaadin:vaadin-shared-deps:jar:1.0.2:provided
[DEBUG] org.jsoup:jsoup:jar:1.7.2:provided
[DEBUG] org.vaadin.addons:contextmenu:jar:4.2.1:provided
[DEBUG] org.vaadin.addons:refresher:jar:1.2.3.7:provided
[DEBUG] org.vaadin.addon:confirmdialog:jar:2.0.4:provided
[DEBUG] com.google.guava:guava:jar:17.0:provided
[DEBUG] org.opennms.features:jmxconfiggenerator:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features:vaadin-snmp-events-and-metrics:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.vaadin-extender:service:jar:1.0.0:provided
[DEBUG] org.opennms.features.themes:onms-default-theme:jar:17.0.0-SNAPSHOT:provided
[DEBUG] commons-lang:commons-lang:jar:2.6:provided
[DEBUG] commons-beanutils:commons-beanutils:jar:1.8.3:provided
[DEBUG] org.opennms.features:vaadin-node-maps:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.geocoder:org.opennms.features.geocoder.api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:gwt-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] com.google.gwt:gwt-servlet:jar:2.6.1:provided
[DEBUG] org.gwtwidgets:gwt-widgets-server:jar:1.1:provided
[DEBUG] de.novanic:gwteventservice:jar:1.1.1:provided
[DEBUG] org.gwtbootstrap3:gwtbootstrap3:jar:0.8.1:provided
[DEBUG] org.opennms.osgi.features.nrtg:nrtg:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.osgi.features.topology:opennms-topology-dev:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.topology:shell:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.topology.plugins:devutils:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.osgi.features.topology:opennms-topology-runtime-base:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.topology:app:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-dao:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core:org.opennms.core.logging:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:castor-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.codehaus.castor:castor:jar:1.1.2.1:provided
[DEBUG] org.opennms.core:org.opennms.core.castor-properties:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-config-api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-config-model:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-config-jaxb:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core:org.opennms.core.soa:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:hibernate-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.hibernate:hibernate-core:jar:3.6.10.Final:provided
[DEBUG] antlr:antlr:jar:2.7.7:provided (version managed from 2.7.6 by org.opennms:opennms:17.0.0-SNAPSHOT)
[DEBUG] dom4j:dom4j:jar:1.6.1:provided
[DEBUG] org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:provided
[DEBUG] xml-apis:xml-apis:jar:1.4.01:provided
[DEBUG] org.opennms.dependencies:atomikos-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] com.atomikos:transactions-jta:jar:3.9.2:provided
[DEBUG] com.atomikos:transactions:jar:3.9.2:provided
[DEBUG] com.atomikos:transactions-api:jar:3.9.2:provided
[DEBUG] com.atomikos:atomikos-util:jar:3.9.2:provided
[DEBUG] com.atomikos:transactions-jdbc:jar:3.9.2:provided
[DEBUG] javax.transaction:jta:jar:1.1:provided
[DEBUG] org.opennms.core:org.opennms.core.xml:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core:org.opennms.core.lib:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core:org.opennms.core.spring:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-dao-api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.events:org.opennms.features.events.api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core.snmp:org.opennms.core.snmp.api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.json:json:jar:20140107:provided
[DEBUG] org.opennms:opennms-model:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:snmp-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core.snmp:org.opennms.core.snmp.implementations.joesnmp:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core.snmp:org.opennms.core.snmp.joesnmp:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core.snmp:org.opennms.core.snmp.implementations.snmp4j:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:snmp4j-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.snmp4j:snmp4j:jar:2.3.1:provided
[DEBUG] org.slf4j:log4j-over-slf4j:jar:1.7.7:runtime
[DEBUG] org.opennms.features.poller:org.opennms.features.poller.api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.core:org.opennms.core.criteria:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms:opennms-rrd-api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.features.collection:org.opennms.features.collection.api:jar:17.0.0-SNAPSHOT:provided
[DEBUG] org.opennms.dependencies:spring-dependencies:pom:17.0.0-SNAPSHOT:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-aop:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-aspects:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context-support:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-core:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-instrument:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-oxm:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-jdbc:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-jms:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-orm:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-tx:jar:4.0.5.RELEASE_1:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance:jar:1.0_6:provided
[DEBUG] org.apache.servicemix.bundles:org.apache.servicemix.bundles.aspectj:jar:1.7.4_1:provided
[DEBUG] javax.annotation:jsr250-api:jar:1.0:provided
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.13:provided
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:provided
[DEBUG] org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:provided
[DEBUG] org.codehaus.jackson:jackson-xc:jar:1.9.13:provided
[DEBUG] org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:provided
[DEBUG] org.javassist:javassist:jar:3.18.2-GA:provided
[DEBUG] org.opennms:opennms-util:jar:17.0.0-SNAPSHOT:provided
[DEBUG] commons-dbcp:commons-dbcp:jar:1.4:provided
[DEBUG] commons-pool:commons-pool:ja

Environment

Mac OS 10.10.3

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Markus von Rüden June 3, 2015 at 6:03 AM
Edited

While resolving all features/repositories on goal "features:generate-features-xml" the optional settings.xml one may have stored in the local maven repository is considered as well.

Turns out that there is a "bug" in the transitive used dependency of the pax-url-aether module. When resolving optional servers which have a configuration attached, a NPE is thrown if that configuration does not have an httpHeaders-element.

Example which results in NPE:

<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>opennms-docs-ssh</id> <username>example</username> <privateKey>/Users/ulf/.ssh/ulf_id</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <configuration> <knownHostsProvider implementation="org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostProvider"> <hostKeyChecking>no</hostKeyChecking> </knownHostsProvider> </configuration> </server> </servers> </settings>

Example which DOES NOT results in NPE:

<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>opennms-docs-ssh</id> <username>example</username> <privateKey>/Users/ulf/.ssh/ulf_id</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <configuration> <knownHostsProvider implementation="org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostProvider"> <hostKeyChecking>no</hostKeyChecking> </knownHostsProvider> <httpHeaders/> </configuration> </server> </servers> </settings>

In detail the NPE occurs in class AetherBasedResolver on line 436 method getChild(String) is invoked on a Xpp3Dom object.
That method call returns null if the given String does not exist as a key in the childList-map of that object.
This then results in a NPE on line 437.

The problem is very specific to one's settings.xml.
I therefore mark this as won't fix as there is a workaround to simply put an empty httpHeaders-element inside the configuration-element.

Ronny Trommer June 3, 2015 at 4:29 AM

I have the same issue on my machine. Last git log message is 2d79b56a29cf5c173891fcd8830aa319e18320de.

Won't Fix

Details

Assignee

Reporter

Fix versions

Priority

PagerDuty

Created June 3, 2015 at 4:28 AM
Updated June 3, 2015 at 6:08 AM
Resolved June 3, 2015 at 6:08 AM

Flag notifications