portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timony, Michael" <Michael.Tim...@FMR.COM>
Subject RE: it fails in the seed data
Date Mon, 22 Jan 2007 18:39:35 GMT
I replaced my repository with David's and it looks like David's is
missing some things. Running Maven 2 in offline mode:


Missing:
----------
1) org.apache.derby:derby:jar:10.1.1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.derby
-DartifactId=derby \
          -Dversion=10.1.1.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.portals.jetspeed-2:etc:pom:2.1-dev
        2) org.apache.derby:derby:jar:10.1.1.0

----------
1 required artifact is missing.

for artifact:
  org.apache.portals.jetspeed-2:etc:pom:2.1-dev 



Running in online mode, it complains about 4 missing artifacts:

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

Missing:
----------
1) xalan:xalan:jar:2.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=xalan -DartifactId=xalan \
          -Dversion=2.4 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.portals.jetspeed-2:jetspeed-portal-site:jar:2.1-dev
        2) org.apache.portals.jetspeed-2:jetspeed-cm:jar:2.1-dev
        3) org.springmodules:spring-modules-ojb:jar:0.6
        4) ojb:db-ojb:jar:1.0.4
        5) xalan:xalan:jar:2.4

2) jdo:jdori:jar:1.0.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=jdo -DartifactId=jdori \
          -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.portals.jetspeed-2:jetspeed-portal-site:jar:2.1-dev
        2) org.apache.portals.jetspeed-2:jetspeed-cm:jar:2.1-dev
        3) org.springmodules:spring-modules-ojb:jar:0.6
        4) ojb:db-ojb:jar:1.0.4
        5) jdo:jdori:jar:1.0.1

3) hsqldb:hsqldb:jar:1.8.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=hsqldb -DartifactId=hsqldb \
          -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.portals.jetspeed-2:jetspeed-portal-site:jar:2.1-dev
        2) org.apache.portals.jetspeed-2:jetspeed-cm:jar:2.1-dev
        3) org.springmodules:spring-modules-ojb:jar:0.6
        4) ojb:db-ojb:jar:1.0.4
        5) hsqldb:hsqldb:jar:1.8.0

4) jdo:jdo:jar:1.0.1

  Try downloading the file manually from:
      http://jcp.org/aboutJava/communityprocess/final/jsr012/index2.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=jdo -DartifactId=jdo \
          -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.portals.jetspeed-2:jetspeed-portal-site:jar:2.1-dev
        2) org.apache.portals.jetspeed-2:jetspeed-cm:jar:2.1-dev
        3) org.springmodules:spring-modules-ojb:jar:0.6
        4) ojb:db-ojb:jar:1.0.4
        5) jdo:jdo:jar:1.0.1

----------
4 required artifacts are missing.

To get around this I copied my old repository over the one that David
provided, and I'm back to the mockrunner error in my custom Portal.
mockrunner-0.2.7.pom does not appear to be downloaded (I can't find it
on my filesystem):

[echo]
org.apache.jetspeed.deploy.groupid=org.apache.portals.jetspeed-2
Downloading: mockrunner/mockrunner/0.2.7/mockrunner-0.2.7.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/tmp/CUSTOM_PORTAL1/portal-2/etc/build.xml:297: The following error
occurred while executing this line:
/tmp/CUSTOM_PORTAL1/portal-2/etc/build.xml:302: The following error
occurred while executing this line:
/tmp/CUSTOM_PORTAL1/portal-2/etc/build.xml:489:
java.lang.ClassCastException:
org.apache.maven.usability.MojoFailureExceptionDiagnoser



Mick Timony

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
Sent: Thursday, January 18, 2007 1:46 PM
To: Jetspeed Developers List
Subject: Re: it fails in the seed data



David Sean Taylor wrote:
> 
> 
> David Sean Taylor wrote:
>> Philip Mark Donaghy wrote:
>>> I made some build changes and there are issues with cyclic 
>>> dependencies. My problem (the reason for this thread) originated in 
>>> the etc module (etc/pom.xml). It does not declare dependencies and 
>>> rightly so. Declaring the dependencies creates the nasty build
error.
>>>
>>> ERROR] BUILD FAILURE
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ---- [INFO] The projects in the reactor contain a cyclic reference
>>>
>>> I realize that transient dependencies are the reason for duplicate 
>>> jars with different minor numbers.
>>>
>>> So having a Maven 2 repository download will probably fatter that 
>>> anticipated.
>>>
>> Im looking at 150 MB. I just started uploading it to here:
>>
>> http://www.bluesunrise.com/maven2/repository.zip
>>
uploaded a new zip, only 85MB

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


Mime
View raw message