Hi,
In this situation, I think that you should try:
maven -U clean install
-U means that newer versions of plugins should be checked from the
plugin repositories.
Thanks,
Gianny
Vamsavardhana Reddy wrote:
Got the following error trying to build geronimo-spec-javamail. Help!!!!
C:\GeronimoSource\geronimo\specs\trunk\geronimo-spec-javamail>c:\maven-2.0.2\bi
\mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
---
[INFO] Building Java Mail
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin'
does not ex
st or no valid version could be found
[INFO]
------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
---
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Feb 08 16:11:36 IST 2006
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
---
On 2/7/06, *Bruce Snyder* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On 2/6/06, Jian Liao <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> Geronimo spec updated. you have to rebuild it. But you still can
not make it
> right after rebuild geronimo-spec, so I just bypass this module
in the top
> maven.xml.
Jian is correct, the compilation errors are due to changes to the
geronimo-spec-javamail module today. In order to avoid the compilation
errors, you'll need to check out the whole specs trunk:
https://svn.apache.org/repos/asf/geronimo/specs/trunk/
and at least build the geronimo-spec-javamail module using Maven 2 and
the following command:
mvn clean install
This will place the updated javamail spec jar here:
~/.maven/repository/org.apache.geronimo.specs/jars/geronimo-javamail_1.3.1_spec-1.1-SNAPSHOT.jar
which will then allow the javamail-transport module to be built
correctly.
HTH
Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo ( http://geronimo.apache.org/)
Castor (http://castor.org/)