[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 Apr 1 04:26:35 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29915 ]
Geoffrey De Smet commented on HHH-3204:
---------------------------------------
"deploying those in the jboss repo and adding the jboss repo to hibernate-core won't fix it because the parent pom is resolved before the repo's are added" => is wrong apparently, it's the other way around:
"deploying those in the jboss repo and adding the jboss repo to hibernate-core will fix it because the parent pom is resolved after the repo's are added"
> 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
> 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