[richfaces-issues] [JBoss JIRA] (RF-11861) richfaces 4.1.Final showcase: Non-resolvable parent POM: Could not find artifact org.richfaces:richfaces-root-parent:pom:4.1.0.Final

Brian Leathem (Updated) (JIRA) jira-events at lists.jboss.org
Wed Jan 4 22:25:44 EST 2012


     [ https://issues.jboss.org/browse/RF-11861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-11861:
-------------------------------

               Description: 
richfaces showcase for Richfaces 4.1 Final doesn't build.

Problem is that:
{code}
<groupId>org.richfaces</groupId>
<artifactId>richfaces-root-parent</artifactId>
<version>4.1.0.Final</version>
{code}

is not in central maven repository.

Console output:
{code}
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/richfaces/richfaces-root-parent/4.1.0.Final/richfaces-root-parent-4.1.0.F
inal.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.richfaces.examples:richfaces-showcase:4.1.0.Final (D:\tmp\richfaces-showcase-77c6701\pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.richfaces:richfaces-root-parent:pom:4.1.0.Final in ce
ntral (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 8, column 13 -> [Help 2
]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
{code}

  was:
richfaces showcase for Richfaces 4.1 Final doesn't build.

Problem is that:
<groupId>org.richfaces</groupId>
<artifactId>richfaces-root-parent</artifactId>
<version>4.1.0.Final</version>
is not in central maven repository.

Console output:
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/richfaces/richfaces-root-parent/4.1.0.Final/richfaces-root-parent-4.1.0.F
inal.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.richfaces.examples:richfaces-showcase:4.1.0.Final (D:\tmp\richfaces-showcase-77c6701\pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact org.richfaces:richfaces-root-parent:pom:4.1.0.Final in ce
ntral (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 8, column 13 -> [Help 2
]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


    Workaround Description: 
One of the possible workarounds is to add relevant jboss repository to pom.xml file, I added following to make it running:
{code}
       <repositories>
		<repository>
			<id>jboss-public-repository-group</id>
			<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
			<layout>default</layout>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
		</repository>		
	</repositories>
{code}
But I believe it should work out of the box for anyone willing to build showcase => should be part of pom.xml as default, or it should be mentioned in the readme file as a prerequisite.

  was:
One of the possible workarounds is to add relevant jboss repository to pom.xml file, I added following to make it running:
       <repositories>
		<repository>
			<id>jboss-public-repository-group</id>
			<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
			<layout>default</layout>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
		</repository>		
	</repositories>

But I believe it should work out of the box for anyone willing to build showcase => should be part of pom.xml as default, or it should be mentioned in the readme file as a prerequisite.


    
> richfaces 4.1.Final showcase: Non-resolvable parent POM: Could not find artifact org.richfaces:richfaces-root-parent:pom:4.1.0.Final
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-11861
>                 URL: https://issues.jboss.org/browse/RF-11861
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Peter B
>              Labels: richfaces
>
> richfaces showcase for Richfaces 4.1 Final doesn't build.
> Problem is that:
> {code}
> <groupId>org.richfaces</groupId>
> <artifactId>richfaces-root-parent</artifactId>
> <version>4.1.0.Final</version>
> {code}
> is not in central maven repository.
> Console output:
> {code}
> [INFO] Scanning for projects...
> Downloading: http://repo1.maven.org/maven2/org/richfaces/richfaces-root-parent/4.1.0.Final/richfaces-root-parent-4.1.0.F
> inal.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.richfaces.examples:richfaces-showcase:4.1.0.Final (D:\tmp\richfaces-showcase-77c6701\pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.richfaces:richfaces-root-parent:pom:4.1.0.Final in ce
> ntral (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 8, column 13 -> [Help 2
> ]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list