Your settings.xml seems to be correct. The NPE appaers when maven api try to write <activeProfiles>
on the console.
You'll have the same error if you run this command: mvn help:effective-settings
So I think it's a bug in maven.
Try to replace all <threshold>DEBUG</threshold> by <threshold>INFO</threshold>
in application.xml
Emmanuel
LECAN Damien a écrit :
Can you send your settings.xml?
<settings>
<localRepository>/home/m2/repositories/local</localRepository>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>192.168.128.254</host>
<port>3128</port>
<nonProxyHosts>cvs.abcd.fr</nonProxyHosts>
</proxy>
</proxies>
<mirrors>
<mirror>
<id>abcd.eu</id>
<name>Repository de dev abcd</name>
<url>http://cvs.abcd.fr:8080/repository</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>central</id>
<url>http://cvs.abcd.fr/repository</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>interval:120</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<id>abcd.plugins</id>
<name>Repository de dev de plugins de abcd</name>
<url>http://cvs.abcd.fr/maven2</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</settings>
The NPE appears only in debug mode. You can change the log
level at the end of
apps/continuum/conf/application.xml with something like this:
<level>
<hierarchy>org.apache.maven.continuum.execution.maven.m2.Maven
BuilderHelper</hierarchy>
<level>INFO</level>
</level>
I put DEBUG instead of INFO, restart Continuum, by stack trace remains the
same. No additionnal information appear.