Maven Compile Error - Cannot find parent

alan79

Mitglied
Hallo miteinander

Ich bin grad einwenig am verzweifeln. Ich nutzen Maven2 zur Verwaltung der Library Abhängigkeiten und fürs Packaging (Build War-File). Es handelt sich hierbei um ein JSF Webprojekt. Weiter setze ich Artifactory als Remote Repository ein. Das funktioniert alles soweit wunderbar.

Nun wollte ich damit beginnen die JBOSS Richfaces zu integrieren. Doch sobald ich die entsprechenden Libraries im pom.xml als "dependency" angebe kommt beim "mvn install" die Fehlermeldung "Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA"

Hier der gesamte Output von "mvn install":
HTML:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Antavis Groupware Solution
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://localhost:8080/artifactory/repo/com/sun/facelets/jsf-facelets/1.1.12/jsf-facelets-1.1.12.pom
Downloading: http://localhost:8080/artifactory/repo/com.sun.facelets/poms/jsf-facelets-1.1.12.pom
[WARNING] While downloading servletapi:servletapi:2.4-20040521
  This artifact has been relocated to javax.servlet:servlet-api:2.4-20040521.


Downloading: http://localhost:8080/artifactory/repo/org/richfaces/framework/3.2.0.GA/framework-3.2.0.GA.pom
Downloading: http://localhost:8080/artifactory/repo/org.richfaces/poms/framework-3.2.0.GA.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.richfaces.framework:richfaces-api:jar:3.2.0.GA

Reason: Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA for project org.richfaces.framework:richfaces-api:jar:3.2.0.GA


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.richfaces.framework:richfaces-api:jar': Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA for project org.richfaces.framework:richfaces-api:jar:3.2.0.GA
  org.richfaces.framework:richfaces-api:jar:3.2.0.GA

from the specified remote repositories:
  codehaus (http://dist.codehaus.org/),
  snapshots (http://localhost:8080/artifactory/repo),
  central (http://localhost:8080/artifactory/repo)
Path to dependency: 
	1) com.antavis.groupware:groupware:war:1.0-SNAPSHOT


	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.richfaces.framework:richfaces-api:jar': Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA for project org.richfaces.framework:richfaces-api:jar:3.2.0.GA
  org.richfaces.framework:richfaces-api:jar:3.2.0.GA

from the specified remote repositories:
  codehaus (http://dist.codehaus.org/),
  snapshots (http://localhost:8080/artifactory/repo),
  central (http://localhost:8080/artifactory/repo)
Path to dependency: 
	1) com.antavis.groupware:groupware:war:1.0-SNAPSHOT


	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:365)
	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:76)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:292)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:280)
	at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1246)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
	... 16 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file for artifact 'org.richfaces.framework:richfaces-api:jar': Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA for project org.richfaces.framework:richfaces-api:jar:3.2.0.GA
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:134)
	at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:342)
	... 22 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.richfaces:framework for project: org.richfaces.framework:richfaces-api:jar:3.2.0.GA for project org.richfaces.framework:richfaces-api:jar:3.2.0.GA
	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1259)
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:745)
	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:233)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:105)
	... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.richfaces:framework' not found in repository: Unable to download the artifact from any repository

  org.richfaces:framework:pom:3.2.0.GA

from the specified remote repositories:
  codehaus (http://dist.codehaus.org/),
  snapshots (http://localhost:8080/artifactory/repo),
  central (http://localhost:8080/artifactory/repo)
 for project org.richfaces:framework
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:571)
	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1255)
	... 26 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

  org.richfaces:framework:pom:3.2.0.GA

from the specified remote repositories:
  codehaus (http://dist.codehaus.org/),
  snapshots (http://localhost:8080/artifactory/repo),
  central (http://localhost:8080/artifactory/repo)

	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:206)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524)
	... 27 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)
	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:194)
	... 29 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Apr 04 00:02:20 CEST 2008
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------

Hier mein pom.xml:
HTML:
<?xml version="1.0"?>
<project>
....
	<build>
		<finalName>groupware</finalName>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>

		</plugins>
	</build>
	<repositories>
		<repository>
			<id>central</id>
			<url>http://localhost:8080/artifactory/repo</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>snapshots</id>
			<url>http://localhost:8080/artifactory/repo</url>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>
		<repository>
			<id>codehaus</id>
			<name>Codehaus maven repository</name>
			<url>http://dist.codehaus.org/</url>
			<layout>legacy</layout>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>central</id>
			<url>http://localhost:8080/artifactory/repo</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>snapshots</id>
			<url>http://localhost:8080/artifactory/repo</url>
			<releases>
				<enabled>false</enabled>
			</releases>
		</pluginRepository>
	</pluginRepositories>


	<properties>
		<richfacesVersion>3.2.0.GA</richfacesVersion>
		<faceletsVersion>1.1.14</faceletsVersion>
		<myfacesVersion>1.2.2</myfacesVersion>
		<tomahawkVersion>1.1.6</tomahawkVersion>
	</properties>

	<dependencies>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-el</groupId>
			<artifactId>commons-el</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.0.4</version>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.1</version>
		</dependency>
		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>1.7.0</version>
		</dependency>
		<dependency>
			<groupId>commons-collections</groupId>
			<artifactId>commons-collections</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>mysql-connector</groupId>
			<artifactId>mysql-connector</artifactId>
			<version>5.1.6</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>org.apache.myfaces.core</groupId>
			<artifactId>myfaces-api</artifactId>
			<version>${myfacesVersion}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.myfaces.core</groupId>
			<artifactId>myfaces-impl</artifactId>
			<version>${myfacesVersion}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.myfaces.tomahawk</groupId>
			<artifactId>tomahawk</artifactId>
			<version>${tomahawkVersion}</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>jstl</groupId>
			<artifactId>jstl</artifactId>
			<version>1.1.2</version>
		</dependency>
		<dependency>
			<groupId>standard</groupId>
			<artifactId>standard</artifactId>
			<version>1.1.2</version>
		</dependency>
		<dependency>
			<groupId>jsf-facelets</groupId>
			<artifactId>jsf-facelets</artifactId>
			<version>1.1.13</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>com.google.code.tomahawk</groupId>
			<artifactId>tomahawk-facelets</artifactId>
			<version>1.1.6.2</version>
		</dependency>
		<dependency>
			<groupId>jta</groupId>
			<artifactId>jta</artifactId>
			<version>1.1</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>

		<!-- HIBERNATE STUFF - START -->
		<dependency>
			<groupId>antlr</groupId>
			<artifactId>antlr</artifactId>
			<version>2.7.5H3</version>
		</dependency>
		<dependency>
			<groupId>dom4j</groupId>
			<artifactId>dom4j</artifactId>
			<version>1.6</version>
		</dependency>
		<dependency>
			<groupId>asm.jar</groupId>
			<artifactId>asm.jar</artifactId>
			<version>asm.jar</version>
		</dependency>
		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib</artifactId>
			<version>2.1.3</version>
		</dependency>
		<dependency>
			<groupId>ehcache</groupId>
			<artifactId>ehcache</artifactId>
			<version>1.2.3</version>
		</dependency>
		<dependency>
			<groupId>hibernate-annotations</groupId>
			<artifactId>hibernate-annotations</artifactId>
			<version>3.3.0</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>hibernate-core</groupId>
			<artifactId>hibernate-core</artifactId>
			<version>3.2.4</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>hibernate-commons-annotations</groupId>
			<artifactId>hibernate-commons-annotations</artifactId>
			<version>3.3.0</version>
			<classifier>classes</classifier>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.11</version>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xerces</artifactId>
			<version>2.6.2</version>
		</dependency>
		<dependency>
			<groupId>xml-apis.jar</groupId>
			<artifactId>xml-apis.jar</artifactId>
			<version>xml-apis.jar</version>
		</dependency>

		<!-- HIBERNATE STUFF - END -->
		<!-- RICHFACES STUFF - START -->

		<dependency>
			<groupId>org.richfaces.framework</groupId>
			<artifactId>richfaces-api</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>

				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.richfaces.framework</groupId>
			<artifactId>richfaces-impl</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.richfaces.ui</groupId>
			<artifactId>richfaces-ui</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>

				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- RICHFACES STUFF - END -->

		<!-- INACTIVE STUFF
			<dependency>
			<groupId>servletapi</groupId>
			<artifactId>servletapi</artifactId>
			<version>[2.3,)</version>
			<scope>provided</scope>
			</dependency>
			
			
		-->
		<!-- MYFACES TOBAGO - START  (INACTIVE)
			
			
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-core</artifactId>
			<version>1.0.15</version>
			<classifier>classes</classifier>
			</dependency>
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-theme-speyside</artifactId>
			<version>1.0.15</version>
			</dependency>
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-theme-charlotteville</artifactId>
			<version>1.0.15</version>
			</dependency>
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-theme-richmond</artifactId>
			<version>1.0.15</version>
			</dependency>
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-theme-scarborough</artifactId>
			<version>1.0.15</version>
			</dependency>
			<dependency>
			<groupId>org.apache.myfaces.tobago</groupId>
			<artifactId>tobago-theme-standard</artifactId>
			<version>1.0.15</version>
			</dependency>
			MYFACES TOBAGO END-->
		<!-- Faclets Libs: jsf-facelets, el-api, el-impl
			<dependency>
			<groupId>el-api</groupId>
			<artifactId>el-api</artifactId>
			<version>1.0</version>
			</dependency>
			
			
			
			<dependency>
			<groupId>el-impl</groupId>
			<artifactId>el-impl</artifactId>
			<version>1.0</version>
			</dependency>
		-->
	</dependencies>


</project>

Sobald ich diesen Teil im pom.xml auskommentiere funktioniert alles wieder bestens:
HTML:
<!-- RICHFACES STUFF - START -->

		<dependency>
			<groupId>org.richfaces.framework</groupId>
			<artifactId>richfaces-api</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>

				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.richfaces.framework</groupId>
			<artifactId>richfaces-impl</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.richfaces.ui</groupId>
			<artifactId>richfaces-ui</artifactId>
			<version>${richfacesVersion}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-beanutils</artifactId>
					<groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-collections</artifactId>
					<groupId>commons-collections</groupId>
				</exclusion>
				<exclusion>
					<artifactId>commons-digester</artifactId>
					<groupId>commons-digester</groupId>
				</exclusion>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>

				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-impl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- RICHFACES STUFF - END -->

Die Richfaces Libraries sind alle im Artifactory Repository vorhanden!! (siehe attachment printscreen)



Vielen Dank für einen Tipp!
Grüsse
Alan
 

Anhänge

  • artifactory_printscreen.jpg
    artifactory_printscreen.jpg
    24,5 KB · Aufrufe: 227
Zuletzt bearbeitet:
Problem gelöst:
Die einzelnen JARs
- richfaces-api-3.2.0.GA.jar
- richfaces-impl-3.2.0.GA.jar
-richfaces-ui-3.2.0.GA.jar
verweisen in ihren pom's auf Parent pom's und enthalten weitere dependencies.

Diese Libraries lassen sich nur per Maven installieren wenn auch das Remote Repository von JBOSS in Maven integrirert wird. Hier die URL.

http://repository.jboss.org/maven2/
oder hier die Anleitung:
http://wiki.jboss.org/wiki/HowToConfigureMavenForRichFaces

Oder wer das tolle Tool Artifactory einsetzt konfiguriert da einfach das Remote Repository:

HTML:
<remoteRepository>
          <key>repository.jboss.com</key>
          <handleReleases>true</handleReleases>
          <handleSnapshots>false</handleSnapshots>
          <excludesPattern></excludesPattern>
          <url>http://repository.jboss.com/maven2/</url>
      </remoteRepository>

Und alles funktioniert wunderbar... ;-)
 
Zurück