portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Wuokko <mi...@wuokko.org>
Subject Exception on populate-seed-data
Date Wed, 07 Feb 2007 11:17:58 GMT
Hi.

I'm not sure if this issue was fixed or a workaround was invented, but 
I'm getting an exception on etc/build.xml line 488 (see the output below).

Odd thing is that it is trying to download (!) the pom files for the 
Jetspeed components. For addition these deps (starting from the line 
488) have scope of test. So in my understanding these should not be 
needed anyway as the tests are not executed by default, right? Could it 
be that it for some reason does not see the components and that way 
tries to download them? It will fail as the 2.1-dev are not in the repo1 
(central) as that is the only repo it tries.

I'm using the up-to-date trunk (rev 50443).

Thanks,

Mikko

------------------------------------------------------------

[INFO] Executed tasks
[INFO] [antrun:run {execution: etc-populate-test}]
[INFO] Executing tasks

create-populate-db:

test-populate-skip:

create-db:

test-populate-skip:

populate-db:
[INFO] Executed tasks
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/pom.xml to 
/home/slim/.m2/repository/org/apache/portals/jetspeed-2/etc/2.1-dev/etc-2.1-dev.pom
[INFO] [antrun:run {execution: etc-populate-production}]
[INFO] Executing tasks

create-populate-db:

test-populate-skip:

create-db:
      [echo] START-CREATE-DB

sql-test-database-classpath:

sql-execute-drivers-path:
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/drop.sql
       [sql] 83 of 83 SQL statements executed successfully

sql-execute-derby:

sql-execute-hsql:

sql-execute:

sql-test-database-classpath:

sql-execute-drivers-path:
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/phase1-schema.sql
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/phase2-schema.sql
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/phase3ojb-schema.sql
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/prefs-schema.sql
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/registry-schema.sql
       [sql] Executing file: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/sql/mysql/schema/security-schema.sql
       [sql] 166 of 166 SQL statements executed successfully

sql-execute-derby:

sql-execute-hsql:

sql-execute:
      [echo] END CREATE-DB

test-populate-skip:

populate-db:
      [echo] START-POPULATE-DB

populate-seed-data:
      [echo] called seed data with directory 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc
     [mkdir] Created dir: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed
     [mkdir] Created dir: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/data
      [copy] Copying 1 file to 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/data
      [copy] Copying 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/sql/j2-seed.xml to 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/data/j2-seed.xml
     [mkdir] Created dir: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/classes
      [copy] Copying 7 files to 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/classes
     [mkdir] Created dir: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly
      [echo] Running Jetspeed Seed Importer with -b 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly//boot/ 
-c 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly// 

      [copy] Copying 11 files to 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly
     [mkdir] Created dir: 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly/boot
      [copy] Copying 1 file to 
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/target/seed/assembly/boot
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-security/2.1-dev/jetspeed-security-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-profiler/2.1-dev/jetspeed-profiler-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-capability/2.1-dev/jetspeed-capability-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-rdbms/2.1-dev/jetspeed-rdbms-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: tyrex/tyrex/1.0.1/tyrex-1.0.1.pom
Transferring 0K
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-serializer/2.1-dev/jetspeed-serializer-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-cm/2.1-dev/jetspeed-cm-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-components/2.1-dev/jetspeed-components-2.1-dev.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-cm/2.1-dev/jetspeed-cm-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-capability/2.1-dev/jetspeed-capability-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-components/2.1-dev/jetspeed-components-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: tyrex/tyrex/1.0.1/tyrex-1.0.1.jar
Transferring 196K
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-rdbms/2.1-dev/jetspeed-rdbms-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-serializer/2.1-dev/jetspeed-serializer-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-security/2.1-dev/jetspeed-security-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
org/apache/portals/jetspeed-2/jetspeed-profiler/2.1-dev/jetspeed-profiler-2.1-dev.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/build.xml:298: The 
following error occurred while executing this line:
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/build.xml:303: The 
following error occurred while executing this line:
/home/slim/workspace_portal/jetspeed-apache-trunk/etc/build.xml:488: 
java.lang.ClassCastException: 
org.apache.maven.usability.MojoFailureExceptionDiagnoser
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 40 seconds
[INFO] Finished at: Wed Feb 07 13:16:24 EET 2007
[INFO] Final Memory: 20M/43M
[INFO] 
------------------------------------------------------------------------

---------------------------------------------------------------------
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