On Thu, Dec 4, 2008 at 5:44 PM, Juergen Lorenz Simon <simon(a)webtecc.com> wrote:
Hi,
Can you copy paste here the entire maven build
log ?
Sure thing:
asimov:portal-wiki simon$ mvn clean package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building portal-wiki Maven Webapp
[INFO] task-segment: [clean, package]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /Users/simon/Projects/Kontrast/
MavenWorkspace/portal-wiki/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot com.kontrast.vodafone.portal.xwiki:xwiki-plugin-
portalindexer:0.1-SNAPSHOT: checking for updates from mdimension
[INFO] snapshot com.kontrast.vodafone.portal.xwiki:xwiki-plugin-
portalindexer:0.1-SNAPSHOT: checking for updates from
snapshots.jboss.org
[INFO] snapshot com.kontrast.vodafone.portal.xwiki:xwiki-plugin-
portalindexer:0.1-SNAPSHOT: checking for updates from xwiki-externals
[INFO] snapshot com.kontrast.vodafone.portal.xwiki:xwiki-plugin-
portalindexer:0.1-SNAPSHOT: checking for updates from xwiki-snapshots
Downloading:
http://webobjects.mdimension.com/maven2/releases/groovy/groovy-all-1.0-jsr/…
Downloading:
http://repository.jboss.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-…
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
Downloading:
http://webobjects.mdimension.com/maven2/releases/opensymphony/quartz/1.6.0/…
Downloading:
http://repository.jboss.org/maven2/opensymphony/quartz/1.6.0/quartz-1.6.0.p…
Downloading:
http://maven.xwiki.org/externals/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
Downloading:
http://maven.xwiki.org/releases/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
Downloading:
http://repo1.maven.org/maven2/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
Downloading:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-we…
It still search for jar and not war, are you sure you correctly set
the <type>war</type> ?
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.xpn.xwiki.products:xwiki-enterprise-web:jar:1.7-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.xpn.xwiki.products -
DartifactId=xwiki-enterprise-web -Dversion=1.7-20081203.235838-1252 -
Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=com.xpn.xwiki.products -
DartifactId=xwiki-enterprise-web -Dversion=1.7-20081203.235838-1252 -
Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.kontrast.vodafone:portal-wiki:war:1.0
2) com.xpn.xwiki.products:xwiki-enterprise-web:jar:1.7-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.kontrast.vodafone:portal-wiki:war:1.0
from the specified remote repositories:
xwiki-releases (
http://maven.xwiki.org/releases),
central (
http://repo1.maven.org/maven2),
repository.jboss.org (
http://repository.jboss.org/maven2),
mdimension (
http://webobjects.mdimension.com/maven2/releases),
xwiki-snapshots (
http://maven.xwiki.org/snapshots),
xwiki-externals (
http://maven.xwiki.org/externals),
snapshots.jboss.org (
http://snapshots.jboss.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu Dec 04 17:43:28 CET 2008
[INFO] Final Memory: 15M/27M
[INFO]
------------------------------------------------------------------------
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne