I'm trying to build the OpenEJB 2.2 release so that I can continue working on Geronimo CTS/TCK automation... but the openejb-2.2 release tag is not buildable in a clean environment:

<snip>
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   OpenEJB
[INFO]   OpenEJB :: Modules
[INFO]   OpenEJB :: Core
[INFO]   OpenEJB :: Axis
[INFO]   OpenEJB :: PK Generation :: Builder
[INFO]   OpenEJB :: CORBA
[INFO]   OpenEJB :: Builder
[INFO]   OpenEJB :: CORBA Builder
[INFO]   OpenEJB :: CORBA :: Yoko
[INFO]   OpenEJB :: iTests
[INFO]   OpenEJB :: iTests :: Core
[INFO] snapshot org.apache.geronimo.genesis.plugins:tools-maven- plugin:1.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.genesis.plugins:tools-maven- plugin:1.1-SNAPSHOT: checking for updates from apache-snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ apache/geronimo/genesis/plugins/tools-maven-plugin/1.1-SNAPSHOT/tools- maven-plugin-1.1-20061214.032036-20.pom
1K downloaded
[INFO] snapshot org.apache.geronimo.genesis.plugins:plugins:1.1- SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.genesis.plugins:plugins:1.1- SNAPSHOT: checking for updates from apache-snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ apache/geronimo/genesis/plugins/plugins/1.1-SNAPSHOT/ plugins-1.1-20061214.032036-13.pom
9K downloaded
[INFO] snapshot org.apache.geronimo.genesis:genesis:1.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.genesis:genesis:1.1-SNAPSHOT: checking for updates from apache-snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/ apache/geronimo/genesis/genesis/1.1-SNAPSHOT/ genesis-1.1-20061214.032036-13.pom
10K downloaded
Downloading: http://repository.codehaus.org/org/apache/apache/3/ apache-3.pom [WARNING] Unable to get resource from repository codehaus (http:// repository.codehaus.org) Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/ apache-3.pom
3K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/ geronimo/genesis/plugins/tools-maven-plugin/1.1-SNAPSHOT/tools-maven- plugin-1.1-SNAPSHOT.jar [WARNING] Unable to get resource from repository codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file - DgroupId=org.apache.geronimo.genesis.plugins -DartifactId=tools-maven- plugin \ -Dversion=1.1-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/ to/file org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file - DgroupId=org.apache.geronimo.genesis.plugins -DartifactId=tools-maven- plugin \ -Dversion=1.1-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/ to/file org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions (DefaultLifecycleExecutor.java:179) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLifecycleExecutor.java:138)
        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)
Caused by: org.apache.maven.plugin.PluginNotFoundException: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file - DgroupId=org.apache.geronimo.genesis.plugins -DartifactId=tools-maven- plugin \ -Dversion=1.1-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/ to/file org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
org.apache.geronimo.genesis.plugins:tools-maven-plugin:maven- plugin:1.1-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin (DefaultPluginManager.java:227) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin (DefaultPluginManager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin (DefaultLifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findArtifactTypeHand lers(DefaultLifecycleExecutor.java:1171) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions (DefaultLifecycleExecutor.java:173)
        ... 12 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact (DefaultWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:124) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:63) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin (DefaultPluginManager.java:190)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Mon Dec 18 13:34:49 PST 2006
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------
ERROR: : exec returned: 1
command exit code: 1
</snip>

Project appears to be missing a pluginRepository configuration for the apache snapshots repository... and since this build is still using SNAPSHOT versions for Genesis, this tag will never be buildable unless some compatible version of Genesis 1.1-SNAPSHOT was built locally first.

Also, similar problems with xmlbeans-maven-plugin and Geronimo exist as they are also pulled into this tags build as SNAPSHOT artifacts.

IMO... release tags should always be buildable. I know that change over time to repository locations and other configuration may cause old releases to need some special attention to get building again... but this baby just get pushed out the door and its already in a non- buildable state.

I believe that by using a build automation system to perform releases from source in a clean environment and by following some standard build configuration + scm policy that this type of build breakage can be avoided... even when using mvn to perform the build. I am not sure that this is a priority for many folks, but I hope that someday it will become more important in your eyes.

--jason


Reply via email to