You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Steve B." <st...@browsermedia.com> on 2005/06/24 15:13:17 UTC

Cannot build from SVN

When running allClean allBuild on my home linux box, I fail with the 
following (The failure is during the allBuild portion). I do NOT get 
this error, however when I build from my office linux box. I do not know 
if it is relavant, but a few months back I gave-up trying to build from 
source, so it is possible some relic remains.

I have deleted ~/.maven/cache/* as well as the repository/*/jar 
directories as indicated by the WIKI. I have also reinstalled Tomcat 
(5.5.9) so I do not believe anything remains in the Tomcat directories. 
Any help/hints are appreciated.

TIA, Steve B.

+----------------------------------------
| Build and Install all Jetspeed 2 jars Jetspeed-2 Core API
| Memory: 40M/60M
+----------------------------------------
Attempting to download pluto-1.0-svn-169718.jar.
WARNING: Failed to download pluto-1.0-svn-169718.jar.
 
BUILD FAILED
File...... /root/jetspeed-2/maven.xml
Element... maven:reactor
Line...... 133
Column.... 40
The build cannot continue because of the following unsatisfied dependency:
 
pluto-1.0-svn-169718.jar
 
Total time: 42 seconds
Finished at: Fri Jun 24 08:58:50 EDT 2005



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Cannot build from SVN

Posted by "Steve B." <st...@browsermedia.com>.
Thanks, David, it works. I added the line below to my ~/build.properties:

maven.repo.remote = http://www.bluesunrise.com/maven/, 
http://www.ibiblio.org/maven/, http://dist.codehaus.org/, 
http://cvs.apache.org/repository

Not sure why I had to do this as this is the same line which appears in 
[Jetspeed-Home]/project.properties. Anyway, I'm just happy that it 
compiled and installed. Thanks for your help.

Steve B.

David Pankros wrote:

>>Using the -X, it seems that maven is looking to ibiblio for the file:
>>    
>>
>
>Well then that's your problem.  It needs to check bluesunrise too!  It's
>here:
>http://www.bluesunrise.com/maven/pluto/jars/
>
>So make sure you add http://www.bluesunrise.com/maven/ as a repo in
>maven.  THEN it should work.
>
>Dave
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Cannot build from SVN

Posted by David Pankros <dp...@miragy.com>.
> Using the -X, it seems that maven is looking to ibiblio for the file:

Well then that's your problem.  It needs to check bluesunrise too!  It's
here:
http://www.bluesunrise.com/maven/pluto/jars/

So make sure you add http://www.bluesunrise.com/maven/ as a repo in
maven.  THEN it should work.

Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 6/23/2005
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Cannot build from SVN

Posted by "Steve B." <st...@browsermedia.com>.
Thankyou for the reply.

Using the -X, it seems that maven is looking to ibiblio for the file:

Verifying dependencies for jetspeed2:jetspeed-api
Getting failed dependencies: 
[org.apache.maven.repository.GenericArtifact@bf6ec3]
Attempting to download pluto-1.0-svn-169718.jar.
Getting URL: 
http://www.ibiblio.org/maven/pluto/jars/pluto-1.0-svn-169718.jar
Received status code: 404
File not found on one of the repos
java.io.FileNotFoundException: 
http://www.ibiblio.org/maven/pluto/jars/pluto-1.0-svn-169718.jar
        at 
org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:552)
 ...

 Looking at the project.properties, this is listed after bluesunrise:

maven.repo.remote = http://www.bluesunrise.com/maven/, 
http://www.ibiblio.org/maven/, http://dist.codehaus.org/, 
http://cvs.apache.org/repository

Is it possible that maven has stored somewhere the ibiblio server as a 
source for this file from my past attempts? If so, where is it stored?

I apologize for my lack of knowledgre WRT maven.

Steve B.

PS - I did not copy/past the whole maven -X output as I thought it was 
too much. Let me know if the above info is insufficient.

David Pankros wrote:

>>When running allClean allBuild on my home linux box, I fail with the
>>following (The failure is during the allBuild portion).
>>    
>>
>
>That's odd. I checked everything out and built last night (and rebuilt
>today) and everything worked fine.  It's definitely in your local
>environment, especially since you can build on a different machine.
>
>An initial thought is that you may have changed your remote repositories
>in one of the build.properties files.  I'm guessing that file is hosted
>at bluesunrise.  If you don't have that repo listed in your overridden
>version, you won't be able to find the file and you'll get that error.
>
>If you can't find anything wrong with the build.properties file, try
>running "maven -X allBuild" so we can see the actual error. (-X turns on
>debugging)  You'll also be able to see which repos maven is asking for
>the file.
>
>Dave
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Cannot build from SVN

Posted by David Pankros <dp...@miragy.com>.
> When running allClean allBuild on my home linux box, I fail with the
> following (The failure is during the allBuild portion).

That's odd. I checked everything out and built last night (and rebuilt
today) and everything worked fine.  It's definitely in your local
environment, especially since you can build on a different machine.

An initial thought is that you may have changed your remote repositories
in one of the build.properties files.  I'm guessing that file is hosted
at bluesunrise.  If you don't have that repo listed in your overridden
version, you won't be able to find the file and you'll get that error.

If you can't find anything wrong with the build.properties file, try
running "maven -X allBuild" so we can see the actual error. (-X turns on
debugging)  You'll also be able to see which repos maven is asking for
the file.

Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 6/23/2005
 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org