]
Geoffrey De Smet updated HHH-3204:
----------------------------------
Attachment: HHH-3204-maven-poms-trunk.patch
Patch that fixes this issue.
PS: great work on maven2ization of hibernate: any idea when annoations and entitymanager
also become maven2ized and buildable for mere mortals? :)
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: