-
1. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
peterj Feb 15, 2010 11:14 AM (in response to dvenkatesan)Do not run ant, run build.sh instead. -
2. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
dvenkatesan Feb 15, 2010 10:26 PM (in response to peterj)Still it does not work.
>>>>>>>>>>>>>>>>>>>>
[venkat@venkat build]$ sh build.sh
Searching for build.xml ...
Buildfile: /home/venkat/jboss-6.0.0.M1-src/build/build.xmlmaven-init:
[echo] Maven Home set to /home/venkat/jboss-6.0.0.M1-src/tools/mavenmaven-install:
[java] [INFO] Scanning for projects...
[java] Downloading: http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
[java] Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
[java] [INFO] ------------------------------------------------------------------------
[java] [ERROR] FATAL ERROR
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Error building POM (may not be this project's POM).
[java]
[java]
[java] Project ID: org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1
[java]
[java] Reason: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1 for project org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1
[java]
[java]
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Trace
[java] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1 for project org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1
[java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<Looks like repo1.maven.org site got reorganized and hence the script is not able to get the POM file.
Thanks for your reply.
D.Venkatesan
-
3. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
jaikiran Feb 16, 2010 2:18 AM (in response to dvenkatesan)You will have to setup your Maven settings.xml to include JBoss repos. Follow this http://community.jboss.org/wiki/MavenSettings
-
4. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
peterj Feb 16, 2010 11:26 AM (in response to jaikiran)Hmm, it built for me yet I don't reference the JBoss Maven repository in my settings.xml.
Doesn't the pom reference the JBoss Maven repository? When I needed the Caucho Maven repository for a recent project I added it into the pom using a <repositories> entry so that everyone would not have to modify their settings. Ah, there it is, in the pom.xml in the base directory (actually, this is just one of several repositories in the pom.xml):
{code:xml}<repository>
<id>repository.jboss.org</id>
<name>JBoss Releases Repository</name>
<url>http://repository.jboss.org/maven2</url>{code} -
5. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
jaikiran Feb 16, 2010 1:41 PM (in response to peterj)Ah! I never noticed that it's been added to the pom.xml. -
6. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
jaikiran Feb 16, 2010 1:45 PM (in response to dvenkatesan)dvenkatesan wrote:
[java] Downloading: http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
...
[java] Reason: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1 for project org.jboss.jbossas:jboss-as-component-matrix:pom:6.0.0.M1Do you have some proxy setup on your system? That pom is available at that location http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom but your build isn't able to download it. Maybe this is relevant http://maven.apache.org/guides/mini/guide-proxies.html
-
7. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
dvenkatesan Feb 17, 2010 12:09 AM (in response to jaikiran)Hello Pai,
Please read the error text carefully. You missed the error.
My build is able to download the config file from the following location :
http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
But it fails to locate : [java] Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
By the way, based on which config. file it is trying to contact above repository.
-
8. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
jaikiran Feb 17, 2010 12:19 AM (in response to dvenkatesan)dvenkatesan wrote:
Hello Pai,
Please read the error text carefully. You missed the error.
My build is able to download the config file from the following location :
http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
I don't think it has downloaded it. It is trying to download it from that repo and it fails and that's the reason why it moves on to the next available repo to check if it is present there.
-
9. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
dvenkatesan Feb 17, 2010 12:47 AM (in response to peterj)Hello Peter,
My build is able to download the config file from the following location :
http://repository.jboss.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
But it fails to locate : [java] Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-parent/5-beta-4/jboss-parent-5-beta-4.pom
By the way, based on which config. file it is trying to contact above repository?
And why it is there? The repository info. in jboss appears to be correct but NOT in repo1.maven.org (and why it needs to refer to this site and from where it got the info. to contact this location?).
Venkatesan
-
10. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
dvenkatesan Feb 17, 2010 12:50 AM (in response to jaikiran)Hello Pai,
The proxy server configuration is correct and it is able to download the file from the jboss site.
Any other resaon?
Thanks
-
11. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
jaikiran Feb 17, 2010 1:36 AM (in response to dvenkatesan)Can you post your proxy server configurations (mask any references to username/passwords while posting) that you have in the Maven settings.xml file -
12. Re: NOT compiling- JBOSS-6.0M1 on Fedora 12 on Intel32 platform.
dvenkatesan Feb 17, 2010 2:21 AM (in response to jaikiran)Thanks Pai,
Now it is working.
I checked settings.xml in Maven conf directory and set right the proxy entries and now it is up and running well.
The issue is closed.
Bye
D.Venkatesan