You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Serge Huber (JIRA)" <je...@jakarta.apache.org> on 2004/11/24 17:15:23 UTC

[jira] Commented: (JS2-164) maven's allBuild goal fails with missing dependencies

     [ http://nagoya.apache.org/jira/browse/JS2-164?page=comments#action_55828 ]
     
Serge Huber commented on JS2-164:
---------------------------------

I'm also having this problem. I'm beginning to think it's a Maven bug. The myfaces JARs ARE present on the http://www.bluesunrise.com/maven/ repository, but for some strange reason, Maven is defaulting back to only ibiblio in the list of remote repositories.

In order to illustrate this, I installed the JARs manually from bluesunrise and it worked. I then added a maven.xml file in the portals-bridges directory with the following content : 

<project default="allBuild"
         xmlns:j="jelly:core"
         xmlns:maven="jelly:maven"
         xmlns:ant="jelly:ant">

  <goal name="display-repos">
    <echo>${maven.repo.remote}</echo>
  </goal>
  
</project>

The result of the variable display is the following : 

display-repos:
    [echo] http://www.ibiblio.org/maven

I did check my ${user.home}/build.properties but I don't have any remote repositories defined. Also Maven seems to include the following properties files : 

Using userBuildPropertiesFile: C:\Documents and Settings\Serge Huber\build.properties
Using projectPropertiesFile: C:\java\technologies\jakarta-cvs\jakarta-jetspeed-2\portals-bridges\myfaces\project.properties
Using projectBuildPropertiesFile: C:\java\technologies\jakarta-cvs\jakarta-jetspeed-2\portals-bridges\myfaces\build.properties
Using userBuildPropertiesFile: C:\Documents and Settings\Serge Huber\build.properties
Using projectPropertiesFile: C:\java\technologies\jakarta-cvs\jakarta-jetspeed-2\project.properties
Using projectBuildPropertiesFile: C:\java\technologies\jakarta-cvs\jakarta-jetspeed-2\build.properties

I've looked in all those files (those that exist that is), and apart from the root-level project.properties I didn't find another definition of the maven.repo.remote variable. This is very strange.

> maven's allBuild goal fails with missing dependencies
> -----------------------------------------------------
>
>          Key: JS2-164
>          URL: http://nagoya.apache.org/jira/browse/JS2-164
>      Project: Jetspeed 2
>         Type: Bug
>  Environment: Windows 2K, Maven 1.0.1, jdk-1.4.2, tomcat-4.1
> Internet accessthrough proxy.
>     Reporter: Legolas Greenleaf
>     Priority: Critical

>
> Following the instructions on the getting-started page, I ran maven allClean allBuild, it first failed with the following message:
>   Attempting to download pluto-1.0.1-rc1.jar.
>   WARNING: Failed to download pluto-1.0.1-rc1.jar.
>   BUILD FAILED
>   File...... C:\usr\jetspeed2\maven.xml
>   Element... maven:reactor
>   Line...... 133
>   Column.... 40
>   The build cannot continue because of the following unsatisfied dependency:
>   pluto-1.0.1-rc1.jar
> After I downloaded pluto-1.0.1-rc1.jar and placed into the repository, I again run maven allClean allBuild, which resulted in the following:
>   Attempting to download myfaces-jsf-api-1.0.8.jar.
>   WARNING: Failed to download myfaces-jsf-api-1.0.8.jar.
>   Attempting to download myfaces-1.0.8.jar.
>   WARNING: Failed to download myfaces-1.0.8.jar.
>   Attempting to download myfaces-impl-1.0.8.jar.
>   WARNING: Failed to download myfaces-impl-1.0.8.jar.
>   Attempting to download myfaces-extensions-1.0.8.jar.
>   WARNING: Failed to download myfaces-extensions-1.0.8.jar.
>   BUILD FAILED
>   File...... C:\usr\jetspeed2\maven.xml
>   Element... maven:reactor
>   Line...... 133
>   Column.... 40
>   The build cannot continue because of the following unsatisfied dependencies:
>   myfaces-jsf-api-1.0.8.jar
>   myfaces-1.0.8.jar
>   myfaces-impl-1.0.8.jar
>   myfaces-extensions-1.0.8.jar
> Since I cannot find these jar files anywhere on the internet I cannot build JetSpeed2 from the sources

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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