On Wed, May 5, 2010 at 9:23 AM, Henry Saputra <[email protected]> wrote: > Hi All, > > I just pulled the latest from trunk and when I tried to run mvn I got this > error: > > ... > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Tuscany SCA Interface Java For JAXWS > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > > ... > > [INFO] Unable to find resource 'com.sun.xml.ws:jaxws-rt:jar:2.1.7' in > repository central (http://repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) com.sun.xml.ws:jaxws-rt:jar:2.1.7 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.sun.xml.ws > -DartifactId=jaxws-rt -Dversion=2.1.7 -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.sun.xml.ws -DartifactId=jaxws-rt > -Dversion=2.1.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.12 > 2) com.sun.xml.ws:jaxws-tools:jar:2.1.7 > 3) com.sun.xml.ws:jaxws-rt:jar:2.1.7 > > ---------- > 1 required artifact is missing. > > for artifact: > org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.12 > > from the specified remote repositories: > indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/), > java.net (http://download.java.net/maven/1), > apache.incubator (http://people.apache.org/repo/m2-incubating-repository), > apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository), > java.net2 (http://download.java.net/maven/2), > apache.ws.zone (http://ws.zones.apache.org/repository2), > codehaus-snapshot (http://snapshots.repository.codehaus.org), > apache.snapshots (http://repository.apache.org/snapshots), > central (http://repo1.maven.org/maven2), > intalio.org (http://www.intalio.org/public/maven2), > tuscany.repo (http://svn.apache.org/repos/asf/tuscany/maven), > maven.central (http://repo2.maven.org/maven2), > osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2) > > Looks like it couldnt find this plugin: > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>jaxws-maven-plugin</artifactId> > <version>1.12</version> > > ... > > in modules/interface-java-jaxws/pom.xml. > > From http://repo2.maven.org/maven2/org/codehaus/mojo/jaxws-maven-plugin/ I > saw version 1.10 but not 1.12. > > - Henry >
Hi Henry It's com.sun.xml.ws:jaxws-rt:jar:2.1.7 that it can't find. It must have existed in that repo list recently as I have it in my local repo. Maybe one of the repos is down or it's been removed. We'll have to look at them all and see if we can see it. Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
