3 Replies Latest reply on Jun 8, 2009 5:56 AM by Jeff Yu

    IDM Maven build

    Anil Saldanha Master

       

      
      anil@localhost:~/identity/consolidated-build/trunk$ mvn clean install
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] JBoss Identity build- Parent
      [INFO] JBoss Identity build to run on Tomcat
      [INFO] JBoss Identity build to run on JBoss AS
      [INFO] JBoss Identity consolidated- Aggregator
      WAGON_VERSION: 1.0-beta-2
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Identity build- Parent
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] [site:attach-descriptor]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar {execution: attach-sources}]
      [INFO] [install:install]
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/parent/pom.xml to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-build-parent/1.0.0.alpha2-SNAPSHOT/jboss-identity-build-parent-1.0.0.alpha2-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Identity build to run on Tomcat
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] Deleting directory /home/anil/identity/consolidated-build/trunk/identity-build-tomcat/target
      [INFO] [site:attach-descriptor]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar {execution: attach-sources}]
      [INFO] [assembly:single {execution: bundle-project-sources}]
      [INFO] Reading assembly descriptor: bin.xml
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Alpha8/jbossidm-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Alpha8/jbossidm-1.0.0.Alpha8.pom
      6K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-parent/1.0.0.Alpha8/idm-parent-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-parent/1.0.0.Alpha8/idm-parent-1.0.0.Alpha8.pom
      4K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-api/1.0.0.Alpha8/idm-api-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-api/1.0.0.Alpha8/idm-api-1.0.0.Alpha8.pom
      2K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-common/1.0.0.Alpha8/idm-common-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-common/1.0.0.Alpha8/idm-common-1.0.0.Alpha8.pom
      2K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-spi/1.0.0.Alpha8/idm-spi-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-spi/1.0.0.Alpha8/idm-spi-1.0.0.Alpha8.pom
      2K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-core/1.0.0.Alpha8/idm-core-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-core/1.0.0.Alpha8/idm-core-1.0.0.Alpha8.pom
      3K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-hibernate/1.0.0.Alpha8/idm-hibernate-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-hibernate/1.0.0.Alpha8/idm-hibernate-1.0.0.Alpha8.pom
      3K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-ldap/1.0.0.Alpha8/idm-ldap-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-ldap/1.0.0.Alpha8/idm-ldap-1.0.0.Alpha8.pom
      2K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-cache/1.0.0.Alpha8/idm-cache-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-cache/1.0.0.Alpha8/idm-cache-1.0.0.Alpha8.pom
      2K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8.pom
      5K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-integration/1.0.0.Alpha8/idm-integration-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-integration/1.0.0.Alpha8/idm-integration-1.0.0.Alpha8.pom
      1K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8.pom
      6K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/hibernate/hibernate-tools/3.2.0.ga/hibernate-tools-3.2.0.ga.pom
      Downloading: http://repository.jboss.org/maven2/org/hibernate/hibernate-tools/3.2.0.ga/hibernate-tools-3.2.0.ga.pom
      1K downloaded
      Downloading: http://snapshots.jboss.org/maven2/freemarker/freemarker/2.3.8/freemarker-2.3.8.pom
      Downloading: http://repository.jboss.org/maven2/freemarker/freemarker/2.3.8/freemarker-2.3.8.pom
      670b downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom
      Downloading: http://repository.jboss.org/maven2/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.pom
      1019b downloaded
      Downloading: http://snapshots.jboss.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.pom
      Downloading: http://repository.jboss.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.pom
      Downloading: http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.pom
      1K downloaded
      Downloading: http://snapshots.jboss.org/maven2/postgresql/postgresql/8.3-603.jdbc3/postgresql-8.3-603.jdbc3.pom
      Downloading: http://repository.jboss.org/maven2/postgresql/postgresql/8.3-603.jdbc3/postgresql-8.3-603.jdbc3.pom
      682b downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Alpha8/jbossidm-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Alpha8/jbossidm-1.0.0.Alpha8.jar
      345K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-api/1.0.0.Alpha8/idm-api-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-api/1.0.0.Alpha8/idm-api-1.0.0.Alpha8.jar
      23K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-common/1.0.0.Alpha8/idm-common-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-common/1.0.0.Alpha8/idm-common-1.0.0.Alpha8.jar
      25K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-spi/1.0.0.Alpha8/idm-spi-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-spi/1.0.0.Alpha8/idm-spi-1.0.0.Alpha8.jar
      21K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-core/1.0.0.Alpha8/idm-core-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-core/1.0.0.Alpha8/idm-core-1.0.0.Alpha8.jar
      167K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-hibernate/1.0.0.Alpha8/idm-hibernate-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-hibernate/1.0.0.Alpha8/idm-hibernate-1.0.0.Alpha8.jar
      42K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-ldap/1.0.0.Alpha8/idm-ldap-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-ldap/1.0.0.Alpha8/idm-ldap-1.0.0.Alpha8.jar
      31K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/idm-cache/1.0.0.Alpha8/idm-cache-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/idm-cache/1.0.0.Alpha8/idm-cache-1.0.0.Alpha8.jar
      10K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8.jar
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8.jar
      13K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8-config.zip
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5/1.0.0.Alpha8/idm-jboss5-1.0.0.Alpha8-config.zip
      275K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8-config.zip
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8-config.zip
      3K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8-deployer.zip
      Downloading: http://repository.jboss.org/maven2/org/jboss/identity/idm/integration/idm-jboss5-deployer/1.0.0.Alpha8/idm-jboss5-deployer-1.0.0.Alpha8-deployer.zip
      286K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/hibernate/hibernate-tools/3.2.0.ga/hibernate-tools-3.2.0.ga.jar
      Downloading: http://repository.jboss.org/maven2/org/hibernate/hibernate-tools/3.2.0.ga/hibernate-tools-3.2.0.ga.jar
      341K downloaded
      Downloading: http://snapshots.jboss.org/maven2/freemarker/freemarker/2.3.8/freemarker-2.3.8.jar
      Downloading: http://repository.jboss.org/maven2/freemarker/freemarker/2.3.8/freemarker-2.3.8.jar
      783K downloaded
      Downloading: http://snapshots.jboss.org/maven2/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar
      Downloading: http://repository.jboss.org/maven2/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar
      243K downloaded
      Downloading: http://snapshots.jboss.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar
      Downloading: http://repository.jboss.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar
      Downloading: http://repository.jboss.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar
      Downloading: http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.0.8/mysql-connector-java-5.0.8.jar
      528K downloaded
      Downloading: http://snapshots.jboss.org/maven2/postgresql/postgresql/8.3-603.jdbc3/postgresql-8.3-603.jdbc3.jar
      Downloading: http://repository.jboss.org/maven2/postgresql/postgresql/8.3-603.jdbc3/postgresql-8.3-603.jdbc3.jar
      436K downloaded
      [WARNING] Cannot include project artifact: org.jboss.identity:jboss-identity-build-tomcat:pom:1.0.0.alpha2-SNAPSHOT; it doesn't have an associated file or directory.
      [INFO] Building zip: /home/anil/identity/consolidated-build/trunk/identity-build-tomcat/target/jboss-identity-build-tomcat-1.0.0.alpha2-SNAPSHOT.zip
      [INFO] [install:install]
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/identity-build-tomcat/pom.xml to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-build-tomcat/1.0.0.alpha2-SNAPSHOT/jboss-identity-build-tomcat-1.0.0.alpha2-SNAPSHOT.pom
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/identity-build-tomcat/target/jboss-identity-build-tomcat-1.0.0.alpha2-SNAPSHOT.zip to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-build-tomcat/1.0.0.alpha2-SNAPSHOT/jboss-identity-build-tomcat-1.0.0.alpha2-SNAPSHOT.zip
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Identity build to run on JBoss AS
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] Deleting directory /home/anil/identity/consolidated-build/trunk/identity-build-jbas/target
      [INFO] [site:attach-descriptor]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar {execution: attach-sources}]
      [INFO] [assembly:single {execution: bundle-project-sources}]
      [INFO] Reading assembly descriptor: bin.xml
      [WARNING] Cannot include project artifact: org.jboss.identity:jboss-identity-build-jbas:pom:1.0.0.alpha2-SNAPSHOT; it doesn't have an associated file or directory.
      [INFO] Building zip: /home/anil/identity/consolidated-build/trunk/identity-build-jbas/target/jboss-identity-build-jbas-1.0.0.alpha2-SNAPSHOT.zip
      [INFO] [install:install]
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/identity-build-jbas/pom.xml to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-build-jbas/1.0.0.alpha2-SNAPSHOT/jboss-identity-build-jbas-1.0.0.alpha2-SNAPSHOT.pom
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/identity-build-jbas/target/jboss-identity-build-jbas-1.0.0.alpha2-SNAPSHOT.zip to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-build-jbas/1.0.0.alpha2-SNAPSHOT/jboss-identity-build-jbas-1.0.0.alpha2-SNAPSHOT.zip
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss Identity consolidated- Aggregator
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] [site:attach-descriptor]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar {execution: attach-sources}]
      [INFO] [install:install]
      [INFO] Installing /home/anil/identity/consolidated-build/trunk/pom.xml to /home/anil/.m2/repository/org/jboss/identity/jboss-identity-consolidated-pom/1.0.0.alpha2-SNAPSHOT/jboss-identity-consolidated-pom-1.0.0.alpha2-SNAPSHOT.pom
      [INFO]
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] ------------------------------------------------------------------------
      [INFO] JBoss Identity build- Parent .......................... SUCCESS [2.040s]
      [INFO] JBoss Identity build to run on Tomcat ................. SUCCESS [1:09.170s]
      [INFO] JBoss Identity build to run on JBoss AS ............... SUCCESS [1.139s]
      [INFO] JBoss Identity consolidated- Aggregator ............... SUCCESS [0.015s]
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 13 seconds
      [INFO] Finished at: Fri Jun 05 09:07:38 CDT 2009
      [INFO] Final Memory: 31M/329M
      [INFO] ------------------------------------------------------------------------
      


      The maven dependency for the IDM unified jar is pulling in a whole lot of dependencies.

      In a workspace such as the AS workspace, many of the dependencies will already be present in various versions which may lead to conflicts.

      Maybe we need to make the dependencies optional?