Hi all,
today i tried to build whole MyFaces 1.1 + Tomahawk after ages.
I started by new SVN checkout (myfaces-current), but something is going
wrong :(
Using JDK 1.4 + Maven2 on Win XP, clean install goals.
Error i got is (in Tomahawk Core project):
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/org/apache/tiles/tiles-api/2.4.1/tiles-api-2.4.1.pom
Downloading:
http://dtddoc.sf.net/maven2/org/apache/tiles/tiles-api/2.4.1/tiles-api-2.4.1.jar
Downloading:
http://people.apache.org/builds/tiles/2.4.1/m2-staging-repository//org/apache/tiles/til
es-api/2.4.1/tiles-api-2.4.1.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/tiles/tiles-api/2.4.1/tiles-api-2.4.1.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.tiles:tiles-api:jar:2.4.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.tiles
-DartifactId=tiles-api \
-Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deplo
y-file -DgroupId=org.apache.tiles -DartifactId=tiles-api \
-Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT
2) org.apache.tiles:tiles-core:jar:2.0.5
3) org.apache.tiles:tiles-api:jar:2.4.1
----------
1 required artifact is missing.
for artifact:
org.apache.myfaces.tomahawk:tomahawk:jar:1.1.7-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
myfaces-staging
(http://people.apache.org/builds/myfaces/m2-staging-repository),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
It's caused by IMO wrong POM file in transient dependancy of tiles in
"tiles-core-2.0.5.pom" file, which states:
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-api</artifactId>
<version>${pom.version}</version>
</dependency>
And pom.version is evaluated to 2.4.1 for me.
(last tiles-api version is 2.0.5)
Anyone beside me having this issue?
With regards,
Zdenek