[jboss-dev-forums] [Design of JBoss Build System] - Problem running tests in microcontainer/aop-mc-int
adrian@jboss.org
do-not-reply at jboss.com
Tue Mar 4 05:11:18 EST 2008
I can't get the tests to run in aop-mc-int.
Output using mvn -X test -Ptests-no-weave
| [DEBUG] Artifact not found - using stub model: Unable to determine the latest version
|
| org.apache.maven.plugins:maven-surefire-report-plugin:pom:LATEST
|
|
| [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-report-plugin:pom:LATEST
| [DEBUG] maven-surefire-report-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the release version
|
| org.apache.maven.plugins:maven-surefire-report-plugin:pom:RELEASE
|
|
| [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-surefire-report-plugin:pom:RELEASE
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-report-plugin' does not exist or no valid version could be found
| [INFO] ------------------------------------------------------------------------
| [DEBUG] Trace
| org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-surefire-report-plugin' does not exist or no valid version could be found
|
I've got this workaround which is to disable the reference to the plugin
| Index: pom.xml
| ===================================================================
| --- pom.xml (revision 70351)
| +++ pom.xml (working copy)
| @@ -396,13 +396,13 @@
| </execution>
| </executions>
| </plugin>
| - <plugin>
| + <!--plugin>
| <artifactId>maven-surefire-report-plugin</artifactId>
| <configuration>
| <reportsDirectory>${project.build.directory}/surefire-reports/no-weave</reportsDirectory>
| <outputName>surefire-report-no-weave</outputName>
| </configuration>
| - </plugin>
| + </plugin-->
| </plugins>
| </build>
| </profile>
| @@ -665,4 +665,4 @@
| </build>
| </profile>
| </profiles>
| -</project>
| \ No newline at end of file
| +</project>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133819#4133819
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133819
More information about the jboss-dev-forums
mailing list