On 3/12/07, Jon Loken <[EMAIL PROTECTED]> wrote:
Hi,

Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO
environmental variable, when running either 'mvn jetty:run-war' or 'mvn
integration-test' there was a problem downloading tomcat. This was
resolved by updating the <cargo.container.url> to become
http://apache.org/dist/tomcat/tomcat-5/v5.5.20/bin/apache-tomcat-5.5.20.
zip (version 5.5.17 is/was unavailable):

<!-- Cargo settings -->
<cargo.container>tomcat5x</cargo.container>
<cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>

<cargo.container.url>http://apache.org/dist/tomcat/tomcat-5/v5.5.20/bin/
apache-tomcat-5.5.20.zip</cargo.container.url>
<!--<cargo.container.url>http://apache.org/dist/tomcat/tomcat-5/v5.5.17/
bin/apache-tomcat-5.5.17.zip</cargo.container.url>-->
<cargo.host>localhost</cargo.host>
<cargo.port>8081</cargo.port>
<cargo.wait>false</cargo.wait>


It looks like it's still available, just at archive.apache.org instead
of apache.org.  I'll try upgrading to 5.5.23 (the latest release) now.

http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip


I also have a question regarding Eclipse integration. Regardless if I
try Eclipse WTP or (Easy)Eclipse I get the following message in the
Eclipse Console:

10/03/07 20:23:26 GMT: Missing:

----------

1) org.appfuse:appfuse-spring:warpath:2.0-m4-SNAPSHOT


Try downloading the file manually from the project website.


Then, install it using the command:

mvn install:install-file -DgroupId=org.appfuse
-DartifactId=appfuse-spring \

-Dversion=2.0-m4-20070307.091744-31 -Dpackaging=warpath
-Dfile=/path/to/file


Path to dependency:

1) com.bipsolutions:delta:war:1.0-SNAPSHOT

2) org.appfuse:appfuse-spring:warpath:2.0-m4-SNAPSHOT


2) org.appfuse:appfuse-web-common:warpath:2.0-m4-SNAPSHOT


Try downloading the file manually from the project website.


Then, install it using the command:

mvn install:install-file -DgroupId=org.appfuse
-DartifactId=appfuse-web-common \

-Dversion=2.0-m4-20070307.094505-72 -Dpackaging=warpath
-Dfile=/path/to/file


Path to dependency:

1) com.bipsolutions:delta:war:1.0-SNAPSHOT

2) org.appfuse:appfuse-spring:warpath:2.0-m4-SNAPSHOT

3) org.appfuse:appfuse-web-common:warpath:2.0-m4-SNAPSHOT


----------

2 required artifacts are missing.


for artifact: com.bipsolutions:delta-1.0-SNAPSHOT.war

-------
How does one interpret this message? Do I have to install jar/war file
into my local repository? Wonder why no one else has had the same
issue....

This is likely happening because Eclipse is not aware of Maven plugins
and their extensions mechanism.  IDEA works though. ;-)

Matt


Many thanks guys,
Jon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to