Automatic downloading through Maven according to the README worked for
me a day ago or so. It is probably a temporary problem.
Right now we are using a snapshot of the maven-jetty6-plugin, this is
because Jorg worked together with the Jetty plugin community to make it
more suitable for us. But as this is fixed some while ago the ordinary
releases are good enough for us. And by using a fixed release we don't
need to connect to the repository each time we rebuild the cocoon-webapp.
I updated the POM to fix this.
/Daniel
Jean-Baptiste Quenot skrev:
* Daniel Fagerstrom:
To use the current trunk you start with the cocoon-webapp.
$ cd cocoon-webapp
$ mvn war:inplace jetty6:run
Hello Daniel,
I get an error with the command you suggest. Shall I download the
plugin? How?
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty6-plugin' does not exist
or no valid version could be found
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Feb 27 10:38:28 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------------
Is it possible to update the INSTALL.txt file?
I tried this command:
mvn plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven,
http://cvs.apache.org/repository/ -DgroupId=maven
-DartifactId=maven-jetty-plugin -Dversion=1.1
But it fails:
[ERROR] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Required goal not found: plugin:download
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Feb 27 10:47:47 CET 2006
[INFO] Final Memory: 3M/5M
[INFO]
----------------------------------------------------------------------------
Please help!