Hi,
I installed the XmlSchema-SNAPSHOT.jar into the repository. Also, maven
asked for the axiom jars, which I installed as well.
Now, I am getting the following error:
[INFO] Surefire report directory:
C:\...\sca-java-M2\sca\services\idl\wsdl\target\surefire-
reports.org.apache.maven.surefire.booter.SurefireExecutionException:
org/apache/ws/commons/schema/XmlSchemaException; nested exception is
java.lang.NoClassDef
FoundError: org/apache/ws/commons/schema/XmlSchemaException
java.lang.NoClassDefFoundError:
org/apache/ws/commons/schema/XmlSchemaException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at
org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod(
JUnitTestSet.java:173)
at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(
JUnitTestSet.java:137)
at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(
JUnitTestSet.java:244)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(
AbstractDirectoryTestSuite.java:101)
at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(
Surefire.java:147)
at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.java:747)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
Can anyone help me with this issue?
Thanks,
Hendrik
On 11/2/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
Hi,
The new repo is http://ws.zones.apache.org/repository. We're trying to fix
it for M2 in an appropriate way because the artifact affected has been
tagged. The issue has been discussed on the dev-list
(
http://mail-archives.apache.org/mod_mbox/ws-tuscany-dev/200611.mbox/[EMAIL
PROTECTED]
).
Thanks,
Raymond
----- Original Message -----
From: "Hendrik Mueller" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 01, 2006 7:57 PM
Subject: Re: Release data for Tuscany Java M2 or any recent SVN stable
build.
> Hi!
>
> I downloaded the current Java-M2 branches. For DAS and SDO, everything
> went
> fine. When I run mvn in the sca folder, the same error came as Martin
> described earlier. I tried to find the XmlSchema-*.jar file online. I
> tried
> the following locations and installed the jar-files.
>
> http://people.apache.org/repository/ws-commons/jars/
>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/XmlSchema/1.0-SNAPSHOT/
>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/XmlSchema/SNAPSHOT/
>
http://people.apache.org/repo/m1-snapshot-repository/org.apache.ws.commons/jars/
>
> Some of them (including the one from M1 release) produce the following
> error:
>
>
C:\...\sca-java-M2\sca\services\idl\wsdl\src\main\java\org\apache\tuscany\idl\wsdl\XMLSchemaRegistryImpl.java:[91,43]
> cannot find symbol
> symbol : method getXmlSchema(java.lang.String)
> location: class org.apache.ws.commons.schema.XmlSchemaCollection
>
> With the newest version I could find (31.8.2006) mvn gives the following
> error:
>
>
C:\...\sca-java-M2\sca\services\idl\wsdl\src\main\java\org\apache\tuscany\idl\wsdl\XMLSchemaRegistryImpl.java:[91,56]
> incompatible types
> found : org.apache.ws.commons.schema.XmlSchema
> required: org.apache.ws.commons.schema.XmlSchema[]
>
> Could someone please point me to the right XmlSchema-SNAPSHOT.jar file
or
> modify the sca accordingly. ASAP!
>
> Thanks, Hendrik
>
>
>
> On 11/1/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> We need to fix the build problem as the axis2 tream has switched to a
new
>> maven repo to host the SNASHOTs. The fix is done in trunk and I have to
>> figure out how to make it available in M2 as the artifact has been
>> tagged.
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message -----
>> From: "Martin Leclerc" <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> Sent: Wednesday, November 01, 2006 6:28 AM
>> Subject: RE: Release data for Tuscany Java M2 or any recent SVN stable
>> build.
>>
>>
>> FYI, I just tried to checkout the M2 branch and build it.
>>
>> Here is what I did:
>>
>> 1) Cleaned up Maven's repository
>> 2) Executed the following command: svn co
>> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-M2
>>
>> Here is the error I get:
>>
>> <error>
>>
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.ws.commons.schema:XmlSchema:jar:SNAPSHOT
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.apache.ws.commons.schema
>> -DartifactId=XmlSchema \
>> -Dversion=SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>
>> Path to dependency:
>> 1)
>> org.apache.tuscany.sca.services.idl:wsdl:jar:1.0-incubator-M2-SNAPSHOT
>> 2) org.apache.ws.commons.schema:XmlSchema:jar:SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>
org.apache.tuscany.sca.services.idl:wsdl:jar:1.0-incubator-M2-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> apache.m1 (http://people.apache.org/repository),
>> apache.incubator
>> (http://people.apache.org/repo/m2-incubating-repository/),
>> apache.snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository)
>>
>> </error>
>>
>> Martin.
>>
>> -----Original Message-----
>> From: Venkata Krishnan [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 01, 2006 7:20 AM
>> To: [email protected]
>> Subject: Re: Release data for Tuscany Java M2 or any recent SVN stable
>> build.
>>
>> Hi,
>>
>> There is a branch in the SVN that is stable and is where the M2 release
>> will
>> be finally cut. Could you please give that a try and let us know if
you
>> fact problems. Thanks.
>>
>> Here is the branch...
>> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-M2/
>>
>> Thanks
>>
>> - Venkat
>>
>> On 10/31/06, Hendrik Mueller <[EMAIL PROTECTED]> wrote:
>> >
>> > DAS is running properly now, but it seems that I have some
integration
>> > problems with the SCA M1 release.
>> > When will SCA be released in a new version (or the complete
>> > M2-Java-Bundle)?
>> >
>> > Hendrik
>> >
>> >
>> >
>> > On 10/31/06, Luciano Resende <[EMAIL PROTECTED]> wrote:
>> > >
>> > > For DAS, the tag is available here :
>> > >
>> > >
>> > >
>> >
>>
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-inc
>> ubator-M2/
>> > >
>> > > We have lost some Release Candidates that were stored in
>> > people.apache.org
>> > > ,
>> > > and we are going to be building it in the next couple days.
>> > >
>> > > Please let me know if you have any questions, or any specific
issues
>> you
>> > > are
>> > > having while trying to build.
>> > >
>> > > - Luciano
>> > >
>> > >
>> > > On 10/30/06, Hendrik Mueller <[EMAIL PROTECTED]> wrote:
>> > > >
>> > > > Hi,
>> > > >
>> > > > I am interested in working with M2 (since the DAS databinding
part
>> > > appears
>> > > > to have become much easier), but the current head appears to be
>> > unstable
>> > > > (doesn't seem to compile).
>> > > >
>> > > > I would like to enquire on when could one tentatively expect M2
to
>> be
>> > > > available? Or is there a tagged version that is relatively
stable?
>> > > >
>> > > > Thanks,
>> > > > Hendrik
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>>
>> Information contained in this e-mail and any attachments are intended
for
>> the use of the addressee only, and may contain confidential information
>> of
>> Ubiquity Software Corporation. All unauthorized use, disclosure or
>> distribution is strictly prohibited. If you are not the addressee,
>> please
>> notify the sender immediately and destroy all copies of this
>> email. Unless
>> otherwise expressly agreed in writing signed by an officer of Ubiquity
>> Software Corporation, nothing in this communication shall be deemed to
be
>> legally binding. Thank you.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]