[
https://jira.jboss.org/jira/browse/JBBUILD-603?page=com.atlassian.jira.pl...
]
David Bosschaert commented on JBBUILD-603:
------------------------------------------
Note that when I add the settings as in
http://community.jboss.org/wiki/MavenGettingStarted-Users it does start working but I
wonder why this would be necessary. Could it be because the project depends on a SNAPSHOT
version of the parent pom? I guess this issue might be local to the JBossOSGi project in
that if it specifies the public snapshot repo in its own parent pom this could be made to
work?
Not able to build JBossOSGi because parent pom can't be found
-------------------------------------------------------------
Key: JBBUILD-603
URL:
https://jira.jboss.org/jira/browse/JBBUILD-603
Project: JBoss Build System
Issue Type: Bug
Components: JBoss Parent POM
Environment: Fedora 12 with Java 6 and Maven 2.2.1
Reporter: David Bosschaert
Assignee: Paul Gier
Fix For: JBoss Parent POM - 5
I'm trying to build JBossOSGi without a special settings in my settings.xml, but this
gives me the error below [1]
Should it not be possible to just do this?
[1]
[davidb@fedora12 jbosgi]$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] JBossOSGi
[INFO] JBossOSGi Reactor
[INFO] JBossOSGi Testsuite
[INFO] JBossOSGi Testsuite - Examples
[INFO] JBossOSGi Testsuite - Functional
[INFO] ------------------------------------------------------------------------
[INFO] Building JBossOSGi
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] [javadoc:jar {execution: default}]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/davidb/clones/jbosgi/pom.xml to
/mnt/hgfs/Fedora_Share/.m2/repository/org/jboss/osgi/jboss-osgi/1.0.0.Beta8/jboss-osgi-1.0.0.Beta8.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building JBossOSGi Reactor
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] [javadoc:jar {execution: default}]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/davidb/clones/jbosgi/reactor/pom.xml to
/mnt/hgfs/Fedora_Share/.m2/repository/org/jboss/osgi/jboss-osgi-reactor/1.0.0.Beta8/jboss-osgi-reactor-1.0.0.Beta8.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building JBossOSGi Testsuite
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
Downloading:
http://repository.jboss.org/maven2//org/jboss/jboss-parent/5/jboss-parent...
[INFO] Unable to find resource 'org.jboss:jboss-parent:pom:5' in repository
repository.jboss.org (
http://repository.jboss.org/maven2/)
Downloading:
http://repo1.maven.org/maven2/org/jboss/jboss-parent/5/jboss-parent-5.pom
[INFO] Unable to find resource 'org.jboss:jboss-parent:pom:5' in repository
central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jboss.osgi:jboss-osgi-parent:pom:1.0.6-SNAPSHOT
Reason: Cannot find parent: org.jboss:jboss-parent for project:
org.jboss.osgi:jboss-osgi-parent:pom:1.0.6-SNAPSHOT for project
org.jboss.osgi:jboss-osgi-parent:pom:1.0.6-SNAPSHOT
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira