Rémy Sanlaville wrote:
Are you using the maven plugin snapshots repository? If you are, then
many of the maven plugins could have been updated.
Not directly but others projects yes.
For information, here, is my test
pom.xml
-------------
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>test.maven.profiles</groupId>
<artifactId>test1</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<configuration>
<tasks>
<echo>${profile.common.message}</echo>
<echo>${profile.dev.message}</echo>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
profiles.xml
-----------------
<profilesXml>
<profiles>
<profile>
<id>common</id>
<properties>
<profile.common.message>common
property</profile.common.message>
</properties>
</profile>
<profile>
<id>dev</id>
<properties>
<profile.dev.message>dev
property</profile.dev.message>
</properties>
<activation>
<property>
<name>env</name>
<value>dev</value>
</property>
</activation>
</profile>
</profiles>
<activeProfiles>
<activeProfile>common</activeProfile>
</activeProfiles>
</profilesXml>
Looks like your operating system memvar activated the dev profile.
My experience with maven is that there are so many variables affecting
operations that you see inexplicable situations like this all the time.
Plus black magic ;)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]