[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3204) core-manual-parent pom doesn't build because core-parent doesn't contain the jboss repo

Geoffrey De Smet (JIRA) noreply at atlassian.com
Wed Mar 26 03:55:33 EDT 2008


core-manual-parent pom doesn't build because core-parent doesn't contain the jboss repo
---------------------------------------------------------------------------------------

                 Key: HHH-3204
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3204
             Project: Hibernate3
          Issue Type: Bug
          Components: build
            Reporter: Geoffrey De Smet


to reproduce: 
mv ~/.m2/repository ~/.m2/backup_local_repository
cd core-parent
mvn clean install
cd core-manual-parent
mvn clean install

result
=====

Reason: POM 'org.jboss.maven.plugins:maven-jdocbook-plugin' not found in repository: Unable to download the artifact from any repository

  org.jboss.maven.plugins:maven-jdocbook-plugin:pom:2.1.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.jboss.maven.plugins:maven-jdocbook-plugin


solution
=======
Just add this in the core-parent pom:

<repositories>
    <repository>
        <id>jboss</id>
        <url>http://repository.jboss.com/maven2/</url>
    </repository>

	<repository>
        <id>jboss-snapshot</id>
        <url>http://snapshots.jboss.org/maven2</url>
 	    <snapshots>
 	      <enabled>true</enabled>
 	    </snapshots>
 	    <releases>
 	      <enabled>false</enabled>
 	    </releases>
	</repository>
</repositories>
 	
<pluginRepositories>
    <pluginRepository>
        <id>jboss</id>
        <url>http://repository.jboss.com/maven2/</url>
    </pluginRepository>
</pluginRepositories>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list