On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
>
>
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, Raymond Feng < [EMAIL PROTECTED] > wrote:
> > >
> > > Hi,
> > >
> > > The top-down build of the tagged version is failing against an empty
> > > local
> > > maven repo. wsdl4j 1.6.2 cannot be found in any of the maven repos. I
> > > already added the staging repo. The artifact is available at
> > > ws.zones.apache.org/repository, do we have it on the list?
> > >
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > > ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > >
> > > Missing:
> > > ----------
> > > 1) wsdl4j:wsdl4j:jar:1.6.2
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >       mvn install:install-file -DgroupId=wsdl4j -DartifactId=wsdl4j \
> > >           -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > >
> > > there:       mvn deploy:deploy-file -DgroupId=wsdl4j
> > > -DartifactId=wsdl4j \
> > >           -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file \
> > >            -Durl=[url] -DrepositoryId=[id]
> > >
> > >   Path to dependency:
> > >         1)
> > >
> > > org.apache.tuscany.sca:tuscany-maven-wsdl2java:maven-plugin:1.0-incubating
> > >         2) org.apache.tuscany.sca:tuscany-wsdl2java:jar:1.0-incubating
> > >         3) wsdl4j:wsdl4j:jar:1.6.2
> > >
> > > ----------
> > > 1 required artifact is missing.
> > >
> > > for artifact:
> > >
> > > org.apache.tuscany.sca:tuscany-maven-wsdl2java:maven-plugin:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   central ( http://repo1.maven.org/maven2),
> > >   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> > > ),
> > >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> > > ),
> > >   codehaus-snapshot (http://snapshots.repository.codehaus.org ),
> > >   tuscany.staging 
> > > (http://people.apache.org/~antelder/tuscany/1.0-RC3/maven<http://people.apache.org/%7Eantelder/tuscany/1.0-RC3/maven>
> > > )
> > >
> > > Thanks,
> > > Raymond
> > >
> > > On 9/18/07, ant elder < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> > > for
> > > > Java.
> > > >
> > > > The SVN tag for the release is:
> > > > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3/
> > >
> > > >
> > > > The artifacts are available for review at:
> > > > http://people.apache.org/~antelder/tuscany/1.0-RC3/
> > > <http://people.apache.org/%7Eantelder/tuscany/1.0-RC3/>
> > > >
> > > > This includes the signed binary and source distributions, the RAT
> > > reports,
> > > > and
> > > > the Maven staging repository.
> > > >
> > > > Many thanks,
> > > >
> > > >    ...ant
> > > >
> > > > (Note, the artifacts are still uploading so if it looks like
> > > something's
> > > > missing please just wait a bit,
> > > >          You can use the tag to verify things in the meantime)
> > > >
> > >
> > That's strange as when I build from the branch it is able to find it.
> > I.e. I removed it from my local repo and it uploaded it again. Is the
> > tag different in some way?
> >
> > Simon
> >
> >  More detail. remember this is me compiling in  the branch...
>
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Apache Tuscany SCA WSDL Interface Model
> [INFO]    task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1
> .6.2.pom
> [WARNING] Unable to get resource 'wsdl4j:wsdl4j:pom: 1.6.2' from
> repository apach
> e.ws.zone (http://ws.zones.apache.org/repository2)
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/wsdl4j/wsdl4
> j/1.6.2/wsdl4j-1.6.2.pom
> [WARNING] Unable to get resource 'wsdl4j:wsdl4j:pom:1.6.2' from repository
> apach
> e.incubator ( http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
> http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
> [WARNING] Unable to get resource 'wsdl4j:wsdl4j:pom:1.6.2' from repository
> centr
> al (http://repo1.maven.org/maven2)
> Downloading:
> http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1
> .6.2.jar
> 144K downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> wsdl4j/wsdl4j
> /1.6.2/wsdl4j-1.6.2.jar - IGNORING
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar: C:\simon\tuscany\sca-
> java-1.0\modules\interface-wsdl\target
> \tuscany- interface-wsdl-1.0-incubating-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing C:\simon\tuscany\sca-
> java-1.0\modules\interface-wsdl\target\tu
> scany-interface-wsdl-1.0-incubating-SNAPSHOT.jar to C:\Documents and
> Settings\sl
>
> aws\.m2\repository\org\apache\tuscany\sca\tuscany-interface-wsdl\1.0-incubating-
> SNAPSHOT\tuscany-interface-wsdl-1.0-incubating-SNAPSHOT.jar
>
> So I'll go try the src distro and see if that fails for me
>
Chatting with ant is seems that this is a coincidental success. I.e. The
http://ws.zones.apache.org/repository2/<http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1>repo
dependency is included in other poms. Sepcifically..

sca/modules/binding-ws/pom.xml:
sca/modules/interface-wsdl/pom.xml:

So with a top level build wsdl4j just happens to get downloaded before it
gets used in the wsdl2java tool.

We need to include this repo dependency either in each module that requires
it or higher up the chain.

Simon

Reply via email to