2 Replies Latest reply on Jul 21, 2007 7:17 AM by Kevin Conner

    MAVEN woven aop-mc-int tests no longer working

    Kabir Khan Master

       

      
      Kabir@KabirDell ~/sourcecontrol/microcontainer/aop-mc-int
      $ mvn surefire-report:report -Pant-tests-weave
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'surefire-report'.
      WAGON_VERSION: 1.0-beta-2
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building JBoss Microcontainer AOP MC INT
      [INFO] task-segment: [surefire-report:report]
      [INFO] ----------------------------------------------------------------------------
      [INFO] Preparing surefire-report:report
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] An invalid artifact was detected.
      
      This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact:
      
       o GroupID: org.apache.ant
       o ArtifactID: ant-junit
       o Version: <<< MISSING >>>
       o Type: jar
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.ant:ant-junit:null:jar}: The version cannot be empty.
       at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:147)
       at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:122)
       at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:158)
       at org.apache.maven.artifact.factory.DefaultArtifactFactory.createDependencyArtifact(DefaultArtifactFactory.java:70)
       at org.apache.maven.project.artifact.MavenMetadataSource.createArtifacts(MavenMetadataSource.java:333)
       at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:319)
       at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:201)
       at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1221)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:987)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:759)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 seconds
      [INFO] Finished at: Wed Jul 18 13:06:33 BST 2007
      [INFO] Final Memory: 6M/11M
      [INFO] ------------------------------------------------------------------------