David H. DeWolf wrote:
> It looks like you don't have the absolute latest.  The version you're
> using runs against Maven 2 Alpha 3, beta and the new rc required some
> changes.  Zehng checked those in last night.  Get the clean copy and see
> if it helps.

Sorry to be dumb here, but I'm not quite sure what you're saying ("new
rc"?).

I'm trying to build on a Windows XP machine, have JDK 1.5.0_04 and maven
2.0 beta 3.  I was running with the latest Pluto code from svn
(repository URI
https://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1
obtained from http://portals.apache.org/pluto/1.1/source-repository.html).

I did just do an SVN update on my copy and try the build again, but SVN
indicated no new files available and (apart from downloading a bunch of
updated M2 plugins) I seem to be getting the same results (excerpts
below [1]).

(My SVN client (Tortoise) has svn:ignore properties *.iws *.iml *.ipr,
which I assume were set in the Pluto SVN repository.)

I tried clearing out the maven repository and starting again (suspecting
intereference between Maven versions, but the problem still persists.

OK, I finally fixed that problem:  I commented out the <repositories> in
the top-level pom.xml, and the build proceeded much further.  I did get
a couple of checksum errors [2].  Unfortunately, it now fails during
"Building Maven Pluto Installer Plugin" with a Java error:
[[
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljava/lang/String;)V
        at
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
 :
]]
A copy of the complete log for this build is attached.

Do you have any further pointers or suggestions?

#g
--

...

[1] Errors building package as downloaded:

I'm getting two slightly different versions of the previous error on two
successive attempts:
[[
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Authentication failed:
  castor:castor:0.9.6:jar

from the specified remote repositories:
  m1 (scp://cvs.apache.org/repository),
  m2 (scp://people.apache.org/home/ddewolf/public_html/m2),
  central (http://repo1.maven.org/maven2)
Path to dependency:
        1) org.apache.pluto:pluto-descriptor-impl:jar:1.1-SNAPSHOT
        2) castor:castor:jar:0.9.6


Root Cause: Authentication Credentials cannot be null for SSH protocol
]]

and

[[
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Authentication failed:
  xerces:xmlParserAPIs:2.6.2:jar

from the specified remote repositories:
  m1 (scp://cvs.apache.org/repository),
  m2 (scp://people.apache.org/home/ddewolf/public_html/m2),
  central (http://repo1.maven.org/maven2)
Path to dependency:
        1) org.apache.pluto:pluto-descriptor-impl:jar:1.1-SNAPSHOT
        2) xerces:xmlParserAPIs:jar:2.6.2


Root Cause: Authentication Credentials cannot be null for SSH protocol
]]

...

[2] Checksum errors after <repositories> removed from pom.xml:

[[
[INFO]
----------------------------------------------------------------------------
[INFO] Building Pluto Descriptor Service Implementation
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
 :
[INFO] [compiler:compile]
Compiling 4 source files to
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'56435f861bb6811dc4de5f462ecd402c5fee49be'; remote
= 'caec0185db41a32e1038d5eb90c13f3df87140aa' - RETRYING
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'56435f861bb6811dc4de5f462ecd402c5fee49be'; remote
= 'caec0185db41a32e1038d5eb90c13f3df87140aa' - IGNORING
Downloading:
http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
147b downloaded
 :
[INFO] [compiler:testCompile]
Compiling 1 source file to
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir:
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target/surefire-reports
]]


-- 
Graham Klyne
Research Technology Service
Oxford University Computing Services
D:\Work\OxfordCS\Pluto-1.1>m2 install
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Pluto
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [install:install]
[INFO] Installing D:\Work\OxfordCS\Pluto-1.1\pom.xml to 
C:\DEV\M2\repository\org\apache\pluto\pluto\1.1-SNAPSHOT\pluto-1
.1-SNAPSHOT.pom
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Pluto Descriptor Service API
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-api\target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no test to run.

Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0

[INFO] [jar:jar]
[INFO] Building jar: 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-api\target\pluto-descriptor-api-1.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-api\target\pluto-descriptor-api-1.1-SNAPSHOT.jar
 to C:\DEV
\M2\repository\org\apache\pluto\pluto-descriptor-api\1.1-SNAPSHOT\pluto-descriptor-api-1.1-SNAPSHOT.jar
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Pluto Descriptor Service Implementation
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.pom
153b downloaded
Downloading: 
http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.pom
150b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.pom
168b downloaded
Downloading: http://repo1.maven.org/maven2/castor/castor/0.9.6/castor-0.9.6.pom
146b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar
25K downloaded
Downloading: 
http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
121K downloaded
Downloading: 
http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
986K downloaded
Downloading: http://repo1.maven.org/maven2/castor/castor/0.9.6/castor-0.9.6.jar
1784K downloaded
[INFO] [compiler:compile]
Compiling 4 source files to 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'56435f861bb6811dc4de5f462ecd402c5fee49be'; remote
= 'caec0185db41a32e1038d5eb90c13f3df87140aa' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'56435f861bb6811dc4de5f462ecd402c5fee49be'; remote
= 'caec0185db41a32e1038d5eb90c13f3df87140aa' - IGNORING
Downloading: http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
147b downloaded
Downloading: 
http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
167b downloaded
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.6/log4j-1.2.6.pom
145b downloaded
Downloading: 
http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar
62K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
37K downloaded
Downloading: http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.jar
70K downloaded
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.6/log4j-1.2.6.jar
342K downloaded
[INFO] [compiler:testCompile]
Compiling 1 source file to 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running 
org.apache.pluto.descriptors.services.castor.WebAppDescriptorServiceImplTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0 sec

Results :
[surefire] Tests run: 4, Failures: 0, Errors: 0

[INFO] [jar:jar]
[INFO] Building jar: 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\pluto-descriptor-impl-1.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing 
D:\Work\OxfordCS\Pluto-1.1\pluto-descriptor-impl\target\pluto-descriptor-impl-1.1-SNAPSHOT.jar
 to C:\D
EV\M2\repository\org\apache\pluto\pluto-descriptor-impl\1.1-SNAPSHOT\pluto-descriptor-impl-1.1-SNAPSHOT.jar
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Pluto Deployer
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.pom
164b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
2K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0/commons-logging-1.0.pom
163b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.pom
2K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-jelly/commons-jelly/1.0-beta-4/commons-jelly-1.0-beta-4.pom
165b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom
168b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-jelly/commons-jelly/1.0-beta-4/commons-jelly-1.0-beta-4.jar
159K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
184K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
29K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.jar
62K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
164K downloaded
[INFO] [compiler:compile]
Compiling 17 source files to 
D:\Work\OxfordCS\Pluto-1.1\pluto-deploy\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Setting reports dir: 
D:\Work\OxfordCS\Pluto-1.1\pluto-deploy\target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no test to run.

Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0

[INFO] [jar:jar]
[INFO] Building jar: 
D:\Work\OxfordCS\Pluto-1.1\pluto-deploy\target\pluto-deploy-1.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing 
D:\Work\OxfordCS\Pluto-1.1\pluto-deploy\target\pluto-deploy-1.1-SNAPSHOT.jar to 
C:\DEV\M2\repository\o
rg\apache\pluto\pluto-deploy\1.1-SNAPSHOT\pluto-deploy-1.1-SNAPSHOT.jar
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Maven Pluto Installer Plugin
[INFO]    task-segment: [install]
[INFO] 
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-plugin-plugin: checking for 
updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/2.0/maven-plugin-plugin-2.0.pom
2K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/2.0/maven-plugin-plugin-2.0.jar
16K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-java/2.0/maven-plugin-tools-java-2.0.pom
885b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools/2.0/maven-plugin-tools-2.0.pom
553b downloaded
Downloading: http://repo1.maven.org/maven2/qdox/qdox/1.5/qdox-1.5.pom
140b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-api/2.0/maven-plugin-tools-api-2.0.pom
865b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-beanshell/2.0/maven-plugin-tools-beanshel
l-2.0.pom
895b downloaded
Downloading: http://repo1.maven.org/maven2/bsh/bsh/1.3.0/bsh-1.3.0.pom
210b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.
pom
2K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom
521b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.pom
168b downloaded
Downloading: http://repo1.maven.org/maven2/oro/oro/2.0.7/oro-2.0.7.pom
141b downloaded
Downloading: 
http://repo1.maven.org/maven2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.pom
4K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-java/2.0/maven-plugin-tools-java-2.0.jar
10K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar
82K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-api/2.0/maven-plugin-tools-api-2.0.jar
22K downloaded
Downloading: 
http://repo1.maven.org/maven2/doxia/doxia-core/1.0-alpha-4/doxia-core-1.0-alpha-4.jar
254K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-impl/2.0/maven-reporting-impl-2.0.
jar
15K downloaded
Downloading: http://repo1.maven.org/maven2/oro/oro/2.0.7/oro-2.0.7.jar
63K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-tools-beanshell/2.0/maven-plugin-tools-beanshel
l-2.0.jar
8K downloaded
Downloading: http://repo1.maven.org/maven2/bsh/bsh/1.3.0/bsh-1.3.0.jar
236K downloaded
Downloading: http://repo1.maven.org/maven2/qdox/qdox/1.5/qdox-1.5.jar
77K downloaded
[INFO] [plugin:descriptor]
---------------------------------------------------
constituent[0]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/commons-cli-1.0.jar
constituent[1]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar
constituent[2]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/jline-0.9.1.jar
constituent[3]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/jsch-0.1.21.jar
constituent[4]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar
constituent[5]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar
constituent[6]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar
constituent[7]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar
constituent[8]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar
constituent[9]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar
constituent[10]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar
constituent[11]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-beta
-3.jar
constituent[12]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar
constituent[13]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar
constituent[14]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar
constituent[15]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar
constituent[16]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar
constituent[17]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar
constituent[18]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar
constituent[19]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar
constituent[20]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar
constituent[21]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar
constituent[22]: file:/C:/DEV/Apache Software 
Foundation/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar
---------------------------------------------------
Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljav
a/lang/String;)V
        at 
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:50
8)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:247)
        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)

D:\Work\OxfordCS\Pluto-1.1>

Reply via email to