Edison,
The following code was removed from pom.xml at 2012-09-28
==================================================================================
<profile>
<id>developer</id>
<modules>
<module>developer</module>
<module>tools/apidoc</module>
<module>tools/devcloud</module>
<module>tools/marvin</module>
<module>tools/cli</module>
</modules>
</profile>
==================================================================================
Is this why the error happens when running ""mvn -P developer -pl developer
-Ddeploydb"?
("[ERROR] Could not find the selected project in the reactor: developer")
Jessica
-----Original Message-----
From: Jessica Wang [mailto:[email protected]]
Sent: Wednesday, January 09, 2013 1:51 PM
To: Edison Su; [email protected]
Cc: Sheng Yang; Alex Huang
Subject: RE: "mvn install" failed on apache 4.0 branch: [ERROR] Could not find
the selected project in the reactor: developer -> [Help 1]
I removed "~/.m2/repository" many times and still got the same error.
Then, I removed "~/.m2/repository/org/apache/xalan/xalan/2.7.1/" only and "mvn
install" succeeded (the error was gone).
Then, I run "mvn -P developer -pl developer -Ddeploydb" and got another error:
=======================================================================================================================================
[ERROR] Could not find the selected project in the reactor: developer -> [Help
1]
=======================================================================================================================================
From: Edison Su
Sent: Wednesday, January 09, 2013 1:26 PM
To: Jessica Wang; [email protected]
Cc: Sheng Yang
Subject: RE: "mvn install" failed on apache 4.0 branch: "error reading
C:\Users\jessica\.m2\repository\org\apache\xalan\xalan\2.7.1\xalan-2.7.1.jar;
error in opening zip file"
Remove ~/.m2/repository, then try again.
From: Jessica Wang
Sent: Wednesday, January 09, 2013 11:05 AM
To: Edison Su; [email protected]
Cc: Sheng Yang
Subject: RE: "mvn install" failed on apache 4.0 branch: "error reading
C:\Users\jessica\.m2\repository\org\apache\xalan\xalan\2.7.1\xalan-2.7.1.jar;
error in opening zip file"
Edison,
I did what you said, then "mvn install" failed with another error:
=======================================================================================================================================
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project cloud-awsapi: Compilation failure
[ERROR] error: error reading
C:\Users\jessica\.m2\repository\org\apache\xalan\xalan\2.7.1\xalan-2.7.1.jar;
error in opening zip file
[ERROR] -> [Help 1]
=======================================================================================================================================
Jessica
From: Edison Su
Sent: Tuesday, January 08, 2013 4:24 PM
To: Jessica Wang;
[email protected]<mailto:[email protected]>
Subject: RE: "mvn install" failed on apache 4.0 branch: [ERROR] Failed to
execute goal on project cloud-awsapi: Could not resolve dependencies for
project org.apache.cloudstack:cloud-awsapi:jar:4.0.1-incubating-SNAPS
Remove your ~/.m2/settings.xml, then try again. I don't know how to configure
maven settings.xml, to automatically download from external maven repo if it's
not cached by local nexus server.
Right now, in our local nexus server, only repo1.maven.org and libvirt.org is
cached, if there is any dependency which is not in these two repos, then mvn
complains can't find corresponding poms.
From: Jessica Wang
Sent: Tuesday, January 08, 2013 3:10 PM
To:
[email protected]<mailto:[email protected]>
Cc: Edison Su
Subject: "mvn install" failed on apache 4.0 branch: [ERROR] Failed to execute
goal on project cloud-awsapi: Could not resolve dependencies for project
org.apache.cloudstack:cloud-awsapi:jar:4.0.1-incubating-SNAPS
Hi,
I just got latest code from apache 4.0 branch and "mvn install" failed:
=======================================================================================================================================
[ERROR] Failed to execute goal on project cloud-awsapi: Could not resolve
dependencies for project
org.apache.cloudstack:cloud-awsapi:jar:4.0.1-incubating-SNAPS
HOT: Could not find artifact opensaml:opensaml:jar:1.1 in nexus
(http://10.223.75.59:8081/nexus/content/groups/public) -> [Help 1]
=======================================================================================================================================
Did anyone encounter the same error when running "mvn install" on apache 4.0
branch?
Jessica