[hibernate-issues] [Hibernate-JIRA] Commented: (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
Tue Mar 10 12:37:38 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32618#action_32618 ] 

Geoffrey De Smet commented on HHH-3204:
---------------------------------------

Yep, I've heard that too recently (something to do with mirrors etc IRCC). To bad there's no way to get a decent error message that's says "jboss repo isn't in your settings.xml or nexus" when you build without it. The readme probably mentions it?

Thanks for fixing the other issue :)

> 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: Hibernate Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Geoffrey De Smet
>         Attachments: HHH-3204-maven-poms-trunk.patch
>
>
> 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