0 Replies Latest reply on Nov 8, 2011 4:56 AM by sganeshraj

    Hibernate+JBOSS

    sganeshraj

      Hi,

      I am building Hibernate(3.5.1) using the latest settings.xml from

      http://community.jboss.org/wiki/MavenSettingsExample-Users url and stated my maven build.

      Most of the modules went fine except for some. They falied due to missing artifacts. I need the reporsitory details which has to be included. I have attached my full log along with this mail. Please have a look and let me know the

       

      Here are the errors, (Brief)

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

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO] ------------------------------------------------------------------------

      [INFO] Hibernate Core Parent POM ............................. SUCCESS [5.069s]

      [INFO] Hibernate Core ........................................ SUCCESS [16.736s]

      [INFO] Hibernate Testing ..................................... SUCCESS [0.526s]

      [INFO] Hibernate Testsuite ................................... SUCCESS [3:26.234s]

      [INFO] Hibernate Ehcache Integration ......................... SUCCESS [4.268s]

      [INFO] Hibernate Annotations ................................. SUCCESS [2:09.280s]

      [INFO] Hibernate Entity Manager .............................. FAILED [1:55.037s]

      [INFO] Hibernate JBossCache Integration ...................... SKIPPED (dependency build failed or was skipped)

      [INFO] Hibernate OSCache Integration ......................... SUCCESS [0.248s]

      [INFO] Hibernate SwarmCache Integration ...................... SUCCESS [0.333s]

      [INFO] Hibernate C3P0 ConnectionProvider ..................... SUCCESS [0.222s]

      [INFO] Hibernate Proxool ConnectionProvider .................. SUCCESS [0.207s]

      [INFO] Hibernate Envers ...................................... SKIPPED (dependency build failed or was skipped)

      [INFO] Hibernate JMX Module .................................. SUCCESS [1.481s]

      [INFO] Hibernate JDBC3-JdbcSupport Testing ................... SUCCESS [1.018s]

      [INFO] Hibernate Infinispan Integration ...................... FAILED [12.969s]

      [INFO] Hibernate JDBC4-JdbcSupport Testing ................... FAILED [0.243s]

      [INFO] Hibernate Manual ...................................... FAILED [2.425s]

      [INFO] Hibernate Envers Manual ............................... FAILED [2.169s]

      [INFO] Hibernate Core Documentation .......................... SUCCESS [0.075s]

      [INFO] Hibernate Distribution ................................ SKIPPED (dependency build failed or was skipped)

      [INFO] Hibernate Core Aggregator ............................. SUCCESS [0.306s]

      [INFO] ------------------------------------------------------------------------

      [INFO] Error for project: Hibernate Entity Manager (during install)

      [INFO] ------------------------------------------------------------------------

      [INFO] There are test failures.

       

      Please refer to C:\Users\rajga\Downloads\SASH\hibernate-distribution-3.5.1-Final\project\entitymanager\target\surefire-reports for the individual test results.

      [INFO] ------------------------------------------------------------------------

      [INFO] Error for project: Hibernate Infinispan Integration (during install)

      [INFO] ------------------------------------------------------------------------

      [INFO] Failed to resolve artifact.

       

      Missing:

      ----------

      1) org.jboss.naming:jnp-client:jar:5.0.3.GA

       

        Try downloading the file manually from the project website.

       

        Then, install it using the command:

            mvn install:install-file -DgroupId=org.jboss.naming -DartifactId=jnp-client -Dversion=5.0.3.GA -Dpackaging=jar -Dfile=/path/to/file

       

        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=org.jboss.naming -DartifactId=jnp-client -Dversion=5.0.3.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

        Path to dependency:

            1) org.hibernate:hibernate-infinispan:jar:3.5.1-Final

            2) org.jboss.naming:jnp-client:jar:5.0.3.GA

       

      2) jboss.jbossts:jbossjta:jar:4.9.0.GA

       

        Try downloading the file manually from the project website.

       

        Then, install it using the command:

            mvn install:install-file -DgroupId=jboss.jbossts -DartifactId=jbossjta -Dversion=4.9.0.GA -Dpackaging=jar -Dfile=/path/to/file

       

        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=jboss.jbossts -DartifactId=jbossjta -Dversion=4.9.0.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

        Path to dependency:

            1) org.hibernate:hibernate-infinispan:jar:3.5.1-Final

            2) jboss.jbossts:jbossjta:jar:4.9.0.GA

       

      3) org.infinispan:infinispan-core:jar:4.0.0.FINAL

       

        Try downloading the file manually from the project website.

       

        Then, install it using the command:

            mvn install:install-file -DgroupId=org.infinispan -DartifactId=infinispan-core -Dversion=4.0.0.FINAL -Dpackaging=jar -Dfile=/path/to/file

       

        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=org.infinispan -DartifactId=infinispan-core -Dversion=4.0.0.FINAL -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

        Path to dependency:

            1) org.hibernate:hibernate-infinispan:jar:3.5.1-Final

            2) org.infinispan:infinispan-core:jar:4.0.0.FINAL

       

      4) org.infinispan:infinispan-core:test-jar:tests:4.0.0.FINAL

       

        Try downloading the file manually from the project website.

       

        Then, install it using the command:

            mvn install:install-file -DgroupId=org.infinispan -DartifactId=infinispan-core -Dversion=4.0.0.FINAL -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file

       

        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=org.infinispan -DartifactId=infinispan-core -Dversion=4.0.0.FINAL -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

        Path to dependency:

            1) org.hibernate:hibernate-infinispan:jar:3.5.1-Final

            2) org.infinispan:infinispan-core:test-jar:tests:4.0.0.FINAL

       

      5) org.jboss.naming:jnpserver:jar:5.0.3.GA

       

        Try downloading the file manually from the project website.

       

        Then, install it using the command:

            mvn install:install-file -DgroupId=org.jboss.naming -DartifactId=jnpserver -Dversion=5.0.3.GA -Dpackaging=jar -Dfile=/path/to/file

       

        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=org.jboss.naming -DartifactId=jnpserver -Dversion=5.0.3.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

        Path to dependency:

            1) org.hibernate:hibernate-infinispan:jar:3.5.1-Final

            2) org.jboss.naming:jnpserver:jar:5.0.3.GA

       

      ----------

      5 required artifacts are missing.

       

      for artifact:

        org.hibernate:hibernate-infinispan:jar:3.5.1-Final

       

      from the specified remote repositories:

        jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/),

        central (http://repo1.maven.org/maven2)

       

       

       

      [INFO] ------------------------------------------------------------------------

      [INFO] Error for project: Hibernate JDBC4-JdbcSupport Testing (during install)

      [INFO] ------------------------------------------------------------------------

      [INFO] There are test failures.

       

      Please refer to C:\Users\rajga\Downloads\SASH\hibernate-distribution-3.5.1-Final\project\jdbc4-testing\target\surefire-reports for the individual test results.

      [INFO] ------------------------------------------------------------------------

      [INFO] Error for project: Hibernate Manual (during install)

      [INFO] ------------------------------------------------------------------------

      [INFO] Failed to resolve artifact.

       

      GroupId: net.sf.docbook

      ArtifactId: docbook

      Version: 1.72.0

       

      Reason: Unable to download the artifact from any repository

       

      Try downloading the file manually from the project website.

       

      Then, install it using the command:

          mvn install:install-file -DgroupId=net.sf.docbook -DartifactId=docbook -Dversion=1.72.0 -Dpackaging=jar -Dfile=/path/to/file

       

      Alternatively, if you host your own repository you can deploy the file there:

          mvn deploy:deploy-file -DgroupId=net.sf.docbook -DartifactId=docbook -Dversion=1.72.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

      Path to dependency:

          1) org.hibernate:hibernate-manual:jdocbook:3.5.1-Final

          2) org.jboss:jbossorg-docbook-xslt:jar:1.1.0

       

       

        net.sf.docbook:docbook:jar:1.72.0

       

      from the specified remote repositories:

        jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/),

        central (http://repo1.maven.org/maven2)

       

       

       

      [INFO] ------------------------------------------------------------------------

      [INFO] Error for project: Hibernate Envers Manual (during install)

      [INFO] ------------------------------------------------------------------------

      [INFO] Failed to resolve artifact.

       

      GroupId: net.sf.docbook

      ArtifactId: docbook

      Version: 1.72.0

       

      Reason: Unable to download the artifact from any repository

       

      Try downloading the file manually from the project website.

       

      Then, install it using the command:

          mvn install:install-file -DgroupId=net.sf.docbook -DartifactId=docbook -Dversion=1.72.0 -Dpackaging=jar -Dfile=/path/to/file

       

      Alternatively, if you host your own repository you can deploy the file there:

          mvn deploy:deploy-file -DgroupId=net.sf.docbook -DartifactId=docbook -Dversion=1.72.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

       

      Path to dependency:

          1) org.hibernate:hibernate-envers-manual:jdocbook:3.5.1-Final

          2) org.jboss:jbossorg-docbook-xslt:jar:1.1.0

       

       

        net.sf.docbook:docbook:jar:1.72.0

       

      from the specified remote repositories:

        jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/),

        central (http://repo1.maven.org/maven2)

       

       

       

      [INFO] ------------------------------------------------------------------------

      [INFO] For more information, run Maven with the -e switch

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD ERRORS

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 8 minutes 49 seconds

      [INFO] Finished at: Tue Nov 08 14:51:55 IST 2011

      [INFO] Final Memory: 33M/60M

      [INFO] ------------------------------------------------------------------------

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

       

      Regards,

      Ganeshraj.S