I have just seen Simon Laws' earlier note about my first issue.

Kelvin.

On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> I'm having a sequence of non-reproducible issues building from this tag
>
> first I got ....
>
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Building Apache Tuscany SCA Composite Sample
> [INFO]    task-segment: [install]
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to 
> C:\Release\SCA\1.0\RC3a\svn\samples\implement
> ation-composite\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to 
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> tion-composite\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: 
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> tion-composite\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running composite.CompositeTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.821 sec <<< 
> FA
> ILURE!
> test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.
> apache.tuscany.sca.contribution.service.ContributionResolveException: 
> java.lang.
> ClassNotFoundException: 
> org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
>         at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> omain.java:264)
>         at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.
> java:58)
>         at composite.CompositeTestCase.setUp(CompositeTestCase.java:32)
>
>
>
>
>
>
> but a rebuild in the project directory succeeded
>
>
>
>
> now the top level build is hanging indefinitely at ...
>
> [INFO] 
> ------------------------------------------------------------------------
> ---
> [INFO] Building Apache Tuscany SCA Script Implementation Extension
> [INFO]    task-segment: [install]
> [INFO] 
> ------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/groovy/groo
> y-all/1.0/groovy-all-1.0.pom
> [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository 
> ap
> che.incubator (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: 
> http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
> -all-1.0.pom
> [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository 
> ap
> che.ws.zone (http://ws.zones.apache.org/repository2)
> Downloading: 
> http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
> oovy-all-1.0.pom
>
> Anyone else seen anything like this?
> I'll kill it and try again.
>
> Kelvin.
>
>
>
> On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > 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
> > > > > >
> > > > > yep , thats what I have. Seems to do the trick.
> > > > >
> > > > > I now have...
> > > > >
> > > > > [INFO]
> > > > >
> > > ------------------------------------------------------------------------
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > > ------------------------------------------------------------------------
> > > > > [INFO] Internal error in the plugin manager executing goal '
> > > > > org.apache.maven.plu
> > > > > gins:maven-surefire-plugin:2.3:test': Unable to find the mojo '
> > > > > org.apache.maven.
> > > > > plugins:maven-surefire-plugin:2.3:test' in the plugin '
> > > > > org.apache.maven.plugins:
> > > > > maven-surefire-plugin'
> > > > > Component descriptor cannot be found in the component repository:
> > > > > org.apache.mav
> > > > > en.plugin.Mojoorg.apache.maven.plugins:maven-surefire-plugin:2.3:test.
> > > > >
> > > > > In the BPEL implementation
> > > > >
> > > > > Simon
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > > OK, with the module level compile of BPEL and the two local fixes from
> > > this thread I have just got a clean build form the RC3 source distro. To
> > > summarize where we are...
> > >
> > > 1/ query-xquery
> > >   I believe this sample has now been added to the source distro in the
> > > branch
> > > 2/ missing ws artifacts
> > >   The top level pom has been fixed to reference the
> > > http://ws.zones.apache.org/repository2 repo. Two of us have seen this fix
> > > work.
> > > 3/ BPEL
> > >   One of those strange maven things. Don't know what we can do about this
> > > now
> > > 4/ XJC
> > >   I didn't see this error.
> > >
> > > The intermittent implementation-composite test failure is still
> > > outstanding.
> > >
> > > Simon
> >
> >
> > And now there's an RC3a tag for this current state:
> > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a
> >
> > Could people check it out and build the distro's locally to see if its
> > looking ok?
> >
> >    ...ant
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to