On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> >
> > If I remove the xquery-quotes reference in the samples pom and try to
> > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > Binding Extension" project where I see ...
> > =======================
> > Downloading:
> >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > incubating-M7b.jar
> > Downloading:
> >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > 7b.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=
> org.apache.woden-DartifactId=woden \
> > -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can deploy the file
> > there: mvn deploy:deploy-file -DgroupId=org
> > .apache.woden -DartifactId=woden \
> > -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file \
> > -Durl=[url] -DrepositoryId=[id]
> >
> > Path to dependency:
> > 1)
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> >
> > from the specified remote repositories:
> > apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > ),
> > central (http://repo1.maven.org/maven2),
> > apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> > apache.ws (http://ws.zones.apache.org/repository/)
> >
> > ================================
> >
> > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > The source distro now has a reference to quote-xquery in the top level
> > > pom, but the sample code is not included in the distro.
> > >
> > >
> > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > [INFO] Scanning for projects...
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: unknown
> > >
> > > Reason: Could not find the model file
> > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > sca-1.0-incubating-src\samples\quote-xquery\po
> > > m.xml'. for project unknown
> > >
> > >
> > > [INFO]
> > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > :378)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :290)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> :125)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > >
> > > Kelvin.
> > >
> > > On 19/09/2007, 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/
> > > >
> > > > 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)
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > This is also a result of not having a repo dependency on
> http://ws.zones.apache.org/repository2<
> http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1>
>
> If I add the dependency to the tpo level pom alongside our
>
> <repository>
> <id>apache.incubator</id>
> <url>http://people.apache.org/repo/m2-incubating-repository
> </url>
> </repository>
>
> Dependency is there a downside to this? The alternative is to add it to
> each
> affected pom.
>
> Simon
>
That seems easiest to me, so:
Index: pom.xml
===================================================================
--- pom.xml (revision 577121)
+++ pom.xml (working copy)
@@ -42,6 +42,17 @@
<id>apache.incubator</id>
<url>http://people.apache.org/repo/m2-incubating-repository</url>
</repository>
+ <repository>
+ <id>apache.ws.zone</id>
+ <name>Apache WS Zone Repository</name>
+ <url>http://ws.zones.apache.org/repository2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
</repositories>
<profiles>
...ant