I've deleted all the files in the repository(.m2/repository/) and I executed
the mvn with the "-U" option and I got an error. Then I deleted the files
again and executed the mvn with no options and I got another error:

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running
org.apache.tuscany.spi.databinding.extension.DataBindingExtensionTestCas
e
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec
Running org.apache.tuscany.spi.QualifiedNameTestCase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.apache.tuscany.spi.AssertionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tuscany.spi.extension.AtomicComponentExtensionTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
Running org.apache.tuscany.spi.model.ScopeTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running
org.apache.tuscany.spi.databinding.extension.SimpleTypeMapperExtensionTe
stCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.235 sec
<<< FA
ILURE!
testMap(
org.apache.tuscany.spi.databinding.extension.SimpleTypeMapperExtensionTe
stCase)  Time elapsed: 0.203 sec  <<< ERROR!
java.lang.IllegalArgumentException: --02--
       at
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendar
Impl$Parser.parseInt(Unknown Source)
       at
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendar
Impl$Parser.parse(Unknown Source)
       at
com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendar
Impl.<init>(Unknown Source)
       at
com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.
newXMLGregorianCalendar(Unknown Source)
       at
org.apache.tuscany.spi.databinding.extension.SimpleTypeMapperExtensio
n.toJavaObject(SimpleTypeMapperExtension.java:338)
       at
org.apache.tuscany.spi.databinding.extension.SimpleTypeMapperExtensio
nTestCase.testMap(SimpleTypeMapperExtensionTestCase.java:106)

Running org.apache.tuscany.spi.wire.ContractCompatibilityTestCase
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.apache.tuscany.spi.TuscanyExceptionTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.apache.tuscany.spi.TuscanyRuntimeExceptionTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.tuscany.spi.databinding.extension.DOMHelperTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
Running org.apache.tuscany.spi.extension.ServiceExtensionTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
Running org.apache.tuscany.spi.idl.java.JavaIDLUtilsTestCase
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.apache.tuscany.spi.extension.LoaderExtensionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.apache.tuscany.spi.loader.LoaderExceptionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running
org.apache.tuscany.spi.databinding.extension.TransformerExtensionTestCas
e
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running
org.apache.tuscany.spi.extension.ComponentTypeLoaderExtensionTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.apache.tuscany.spi.model.ServiceContractTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.tuscany.spi.extension.ReferenceTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running
org.apache.tuscany.spi.databinding.extension.XSDDataTypeConverterTestCas
e
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec

Results :
Tests run: 65, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23 minutes 18 seconds
[INFO] Finished at: Wed Oct 18 23:18:00 GMT-04:00 2006
[INFO] Final Memory: 21M/38M
[INFO]
------------------------------------------------------------------------

C:\Adriano\Faculdade\Tuscany\tuscany\java>mvn

I cannot understand, because the first time I executed the mvn with no
options it worked finely and now it is not. Anybody else is getting this
error?

Adriano Crestani

On 10/18/06, Luciano Resende <[EMAIL PROTECTED]> wrote:

Thanks Ant.

Hi Adriano, try it again, after Ant's fixes it seems to be working fine
now.

- Luciano Resende

On 10/18/06, Rick <[EMAIL PROTECTED]> wrote:
>
> One thing I have noticed is the "-U" while it helps is not always
> affective
> (maven bug?) sometimes it becomes necessary to just wipe out your local
> maven
> repository.
>
> ant elder wrote:
> > Really sorry you're having so much trouble, FWIW, I've just done a
> complete
> > clean and build and it works for me now after fixing a couple of
> problems
> > which I've commit fixes for, but i don't think they were anything to
do
> > with
> > the problems you're seeing. There are issues with the Axis2 SNAPSHOT
> > dependencies we have. Could you have another try now with a checkout
of
> the
> > latest code and building with mvn -U. If it still doesn't work could
you
> > join our IRC channel so we can find out more about whats going wrong?
-
> > #tuscany on freenode, see
> > http://incubator.apache.org/tuscany/get-involved.html.
> >
> > Thanks,
> >
> >   ...ant
> >
> > On 10/18/06, Adriano Crestani <[EMAIL PROTECTED]> wrote:
> >>
> >> I tried what Venkata Krishnan told in thread
> >> http://www.mail-archive.com/[email protected]/msg09789.html
> >> that I
> >> should execute mvn with the options "-fae", but anyway I got many
> errors.
> >> So
> >> I decided to try to compile the project again, and again I got the
same
> >> missing  classes I also described in thread
> >> http://www.mail-archive.com/[email protected]/msg09789.html.
> Then
> >> I
> >> decided to search in the .m2/repository for the missing classes and I
> >> started for the missing classes of axis2 project:
> >>
> >> org.apache.axiom.om.OMElement
> >> org.apache.axis2.AxisFault
> >> org.apache.axis2.context.MessageContext
> >> org.apache.axis2.receivers.AbstractInMessageReceiver
> >> org.apache.tuscany.spi.smodel.Operation
> >> org.apache.tuscany.spi.wire.InvocationRuntimeException
> >>
> >> So I found 3 .jar that had the packages:
> >>
> >> org.apache.axiom - C:\Documents and
> >>
> >>
>
Settings\ADR\.m2\repository\org\apache\ws\commons\axiom\axiom-api\SNAPSHOT\axiom-
> >>
> >> api-SNAPSHOT.jar
> >>
> >> org.apache.axis2 - C:\Documents and
> >>
>
Settings\ADR\.m2\repository\org\apache\axis2\axis2-kernel\SNAPSHOT\axis2-
> >> kernel-SNAPSHOT.jar
> >>
> >> org.apache.tuscany.spi - C:\Documents and
> >>
> >>
>
Settings\ADR\.m2\repository\org\apache\tuscany\sca\kernel\tuscany-spi\1.0-incubator-M2-SNAPSHOT\tuscany-
> >>
> >> spi-1.0-incubator-M2-SNAPSHOT.jar
> >>
> >> Then I imported these 3 .jar manually. The first 2 seemed to work
> >> correctly,  but the third one had a conflict in class
> >> org.apache.tuscany.binding.axis2.Axis2ServiceInMessageReceiver - "The
> >> type
> >> org.osoa.sca.ServiceRuntimeException cannot be resolved. It is
directly
> >> referenced from required .class files." - that I'm not getting its
> >> meaning.
> >> Another problem with this last .jar is the class
> >> org.apache.tuscany.spi.smodel.Operation isn't inside this .jar, cause
> >> there
> >> is no "smodel" package and instead of it there is the "model"
package.
> I
> >> wonder if I am importing the right package or instead of  "smodel"
> should
> >> be
> >> "model".
> >>
> >> Adriano Crestani
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Reply via email to