[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3204?page=c...
]
Geoffrey De Smet commented on HHH-3204:
---------------------------------------
PS: It's pretty annoying that you have to build core-parent and core-manual-parent
before building hibernate core, but I don't really see a way to fix that:
- 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
- deploying those in the central maven repo will fix it, because that repo is part of the
parent of the parent pom: the maven superpom - so in time those will be deployed there and
it's kinda fixed, as long as you don't need to use an unreleased version of the
parent pom...
- creating one big svn repo with core, annotations, entitymanager and everything else in
there, is also an option, that way you can even build everything with a single command. We
do that at drools, but disable some modules (like my drools-solver) by default and use a
profile (like -Psolver) to enable building them too
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira