You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "james strachan (JIRA)" <ji...@codehaus.org> on 2006/05/24 12:34:41 UTC

[jira] Created: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

strange issue when trying to generate a site which uses the multi project and assembly stuff
--------------------------------------------------------------------------------------------

         Key: MNG-2319
         URL: http://jira.codehaus.org/browse/MNG-2319
     Project: Maven 2
        Type: Bug

  Components: Artifacts and Repositories  
    Versions: 2.0.4    
    Reporter: james strachan


Grab a checkout of ActiveMQ and try

mvn clean install site:site -Dmaven.test.skip=true                          


And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.


[INFO] Preparing assembly:assembly
[INFO] ----------------------------------------------------------------------------
[INFO] Building ActiveMQ
[INFO] ----------------------------------------------------------------------------
[INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] No goals needed for project - skipping
[INFO] ----------------------------------------------------------------------------
[INFO] Building ActiveMQ :: JAAS
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
        at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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] -----------------------------------------------------------------


If you try just to make the site via

mvn clean  site:site -Dmaven.test.skip=true  

then you get...

[INFO] ----------------------------------------------------------------------------
[INFO] Building ActiveMQ :: Assembly
[INFO]    task-segment: [clean, site:site]
[INFO] ----------------------------------------------------------------------------
[INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
[INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] [clean:clean]
[INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
[INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
[INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
[INFO] Preparing surefire-report:report
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
[INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
[INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
[INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
[INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
[INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
[WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
[INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
          -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file

  Path to dependency: 
        1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
        2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT

2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
          -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency: 
        1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
        2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT

3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
          -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency: 
        1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
        2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT

4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
          -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency: 
        1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
        2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT

5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
          -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file

  Path to dependency: 
        1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
        2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT

----------
5 required artifacts are missing.

for artifact: 
  incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
  codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
  apache-maven1-snapshot (http://cvs.apache.org/repository),
  maven-csharp (http://maven-csharp.javaforge.com/repo)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 26 seconds
[INFO] Finished at: Wed May 24 11:32:08 BST 2006
[INFO] Final Memory: 29M/63M                                                                   



which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MSITE-445) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-445.
---------------------------------

    Resolution: Duplicate

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MSITE-445
>                 URL: http://jira.codehaus.org/browse/MSITE-445
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>            Reporter: james strachan
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2319?page=all ]

John Casey updated MNG-2319:
----------------------------

    Fix Version: 2.1

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>          Key: MNG-2319
>          URL: http://jira.codehaus.org/browse/MNG-2319
>      Project: Maven 2
>         Type: Bug

>   Components: Artifacts and Repositories
>     Versions: 2.0.4
>     Reporter: james strachan
>      Fix For: 2.1

>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91207 ] 

Joerg Schaible commented on MNG-2319:
-------------------------------------

Isn't this simply a dup of MASSEMBLY-102 and MASSEMBLY-97 that's already documented at http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html? It's just that the examples in http://maven.apache.org/plugins/maven-assembly-plugin/usage.html still "forces" users to use the wrong goal ...

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.1.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91205 ] 

Arnaud Heritier commented on MNG-2319:
--------------------------------------

I reproduced it with maven 2.0.5
For example in plexus you can launch : mvn clean eclipse:eclipse idea:idea install
But if you launch each phase/goal separately, the problem doesn't occur.
You can reproduce it in others projects like archiva, continuum, ...

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.1.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Anders Kr. Andersen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131776#action_131776 ] 

aka3 edited comment on MNG-2319 at 4/22/08 4:10 PM:
-------------------------------------------------------------------

My experience is that install and site cannot be a one-liner

mvn clean install site

can fail. The site instruction seems to require dependencies before they are build (installed)
So have you never build the software before the site command will try to download the nested artifacts ... and ofcause not find them.
 
Changing it to

mvn clean install
mvn site

will work.

      was (Author: aka3):
    My experience is that install and site cannot be a one-liner

mvn clean install site

can fail. The site instruction seems to require dependencies before they are build (installed) 
Changing it to

mvn clean install
mvn site

will work.
  
> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.0.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Anders Kr. Andersen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131776#action_131776 ] 

Anders Kr. Andersen commented on MNG-2319:
------------------------------------------

My experience is that install and site cannot be a one-liner

mvn clean install site

can fail. The site instruction seems to require dependencies before they are build (installed) 
Changing it to

mvn clean install
mvn site

will work.

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.0.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (MSITE-445) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl moved MNG-2319 to MSITE-445:
------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Artifacts and Repositories)
        Fix Version/s:     (was: 2.2.x)
    Affects Version/s:     (was: 2.0.4)
                  Key: MSITE-445  (was: MNG-2319)
              Project: Maven 2.x Site Plugin  (was: Maven 2 & 3)

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MSITE-445
>                 URL: http://jira.codehaus.org/browse/MSITE-445
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>            Reporter: james strachan
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2319:
------------------------------

    Fix Version/s:     (was: 2.1)
                   2.0.x

not sure if it's already fixed, but we should definitely be defending against NPEs and reporting something properly.

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.0.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-445) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Horvath Aniko (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219492#action_219492 ] 

Horvath Aniko commented on MSITE-445:
-------------------------------------

I think it is not nice that we have to use mvn install first than we can use mvn site only after.
We use Hudson for building projects, and I really want to use mvn clean deploy site site:deploy at the same time..
Till it is not solved, we can not use the site goal...
We use maven site plugin 2.1 version.

> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MSITE-445
>                 URL: http://jira.codehaus.org/browse/MSITE-445
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>            Reporter: james strachan
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MNG-2319) strange issue when trying to generate a site which uses the multi project and assembly stuff

Posted by "Anders Kr. Andersen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131776#action_131776 ] 

aka3 edited comment on MNG-2319 at 4/22/08 4:12 PM:
-------------------------------------------------------------------

My experience is that install and site cannot be a one-liner

mvn clean install site

can fail. The site instruction seems to require dependencies before they are build (installed)
So have you never build the software before the site command will try to download the nested artifacts ... and ofcause not find them. 
The version used was: version 2.0.5
 
Changing it to

mvn clean install
mvn site

will work.

      was (Author: aka3):
    My experience is that install and site cannot be a one-liner

mvn clean install site

can fail. The site instruction seems to require dependencies before they are build (installed)
So have you never build the software before the site command will try to download the nested artifacts ... and ofcause not find them.
 
Changing it to

mvn clean install
mvn site

will work.
  
> strange issue when trying to generate a site which uses the multi project and assembly stuff
> --------------------------------------------------------------------------------------------
>
>                 Key: MNG-2319
>                 URL: http://jira.codehaus.org/browse/MNG-2319
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: james strachan
>             Fix For: 2.0.x
>
>
> Grab a checkout of ActiveMQ and try
> mvn clean install site:site -Dmaven.test.skip=true                          
> And you get this - which seems to be related to maven's insistence on rebuilding everything again when it tries to build the 'assembly' module.
> [INFO] Preparing assembly:assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO] ----------------------------------------------------------------------------
> [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
> [INFO] No goals needed for project - skipping
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: JAAS
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.artifact.ArtifactUtils.copyArtifact(ArtifactUtils.java:109)
>         at org.apache.maven.project.MavenProject.<init>(MavenProject.java:251)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:886)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:729)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:505)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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] -----------------------------------------------------------------
> If you try just to make the site via
> mvn clean  site:site -Dmaven.test.skip=true  
> then you get...
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Assembly
> [INFO]    task-segment: [clean, site:site]
> [INFO] ----------------------------------------------------------------------------
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from codehaus.snapshots
> [INFO] snapshot incubator-activemq:maven-bundle-plugin:4.0-SNAPSHOT: checking for updates from maven-csharp-plugins
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] [clean:clean]
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/classes
> [INFO] Deleting directory /workspace/eclipse/activemq/assembly/target/test-classes
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-web-demo:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/wars/activemq-web-demo-4.0-20060516.121213-13.war
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-optional:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-optional-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activecluster:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activecluster-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-console:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/jars/activemq-console-4.0-20060516.121213-13.jar
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from codehaus-snapshot
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from maven-csharp
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [INFO] snapshot incubator-activemq:activemq-rar:4.0-SNAPSHOT: checking for updates from apache-maven1-snapshot
> Downloading: http://cvs.apache.org/repository/incubator-activemq/rars/activemq-rar-4.0-20060516.121213-13.rar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-web-demo \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=war -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-web-demo:war:4.0-SNAPSHOT
> 2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-optional \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-optional:jar:4.0-SNAPSHOT
> 3) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activecluster \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activecluster:jar:4.0-SNAPSHOT
> 4) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-console \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-console:jar:4.0-SNAPSHOT
> 5) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=incubator-activemq -DartifactId=activemq-rar \
>           -Dversion=4.0-20060516.121213-13 -Dpackaging=rar -Dfile=/path/to/file
>   Path to dependency: 
>         1) incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
>         2) incubator-activemq:activemq-rar:rar:4.0-SNAPSHOT
> ----------
> 5 required artifacts are missing.
> for artifact: 
>   incubator-activemq:incubator-activemq:jar:4.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Wed May 24 11:32:08 BST 2006
> [INFO] Final Memory: 29M/63M                                                                   
> which is bizarre as 'mvn clean install' works fine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira