Closed GoogleCodeExporter closed 9 years ago
According to StackOverflow: "You can use the second eclipse quickfix for this
(Permamnently mark goal add-classes in pom.xml as ignored in eclipse build)"
http://stackoverflow.com/questions/7391201/maven-plugin-error-execution-not-cove
red-by-lifecycle-configuration
It seems to work (although POM hasn't changed).
Original comment by gethinpj...@gmail.com
on 19 Jan 2012 at 12:48
This is the pluginManagement section I add for maven projects created with that
archetype:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[2.0,)</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.sourcesense.maven</groupId>
<artifactId>maven-nosnapshot-plugin</artifactId>
<versionRange>[0.0,)</versionRange>
<goals>
<goal>strip</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Original comment by rgau...@gmail.com
on 21 Feb 2012 at 7:19
This issue was closed by revision r379.
Original comment by mauri...@session.it
on 4 Apr 2012 at 5:11
Committed pluginManagement provided by Ray (thanks!) -
http://code.google.com/p/maven-alfresco-archetypes/source/detail?r=379
Original comment by mauri...@session.it
on 4 Apr 2012 at 5:11
Original comment by mauri...@session.it
on 6 Apr 2012 at 6:26
Original issue reported on code.google.com by
Sergey.Z...@gmail.com
on 2 Jan 2012 at 10:14Attachments: