Had a “funny” problem today, created a multi-pom project in Netbeans (on Linux) and it worked fine until my colleague tried to build the project on his Windows machine (same Maven 2 version).
Maven produced the following code in the head pom file:
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-antrun-plugin</artifactId>
….
</plugin>
which worked fine in Linux, but not in Windows. It took some time before we understood that windows version of Maven seem to require the version tag 🙂
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
Annoying, but happy that it works again 🙂