Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6309

spring-hibernate-contacts example cannot be built using maven 3.0.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • EAP_EWP 5.1.1 ER1
    • RESTEasy
    • None
    • NEW

    Description

      when trying to build the example using mvn install with maven 3.0.1, I get:

      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.jboss.resteasy.examples:spring-hibernate-contacts:1.2.1.GA_CP01 (/home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/spring-hibernate-contacts/pom.xml) has 1 error
      [ERROR]     'repositories.repository.id' must be unique: jboss -> http://repository.jboss.org/maven2-brew vs http://repository.jboss.org/maven2 @ line 19, column 17
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      

      due to both repositories being called jboss.

      Attachments

        Issue Links

          Activity

            People

              weli@redhat.com Weinan Li
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: