Andreas

Amila

 

I like to report I had exact the same problem as Amila had, when I was doing a

$ mvn clean build 

On a fresh copy of axis2-1.6.1 from svn checked out from ../tags/v1.6.1

 

OK - my 14 day old local cash polluted? 

errors happened with JDK 1.5.0_18 and JDK 1.6.0_22 on a Vista SP2

 

Renamed my old .m2 repository to m2_old_1

Removed any mirrors from the settings.xml

$ mvn clean install

Got all files from apache central and BUILD was 100% perfect with maven-2.2.1 
and JDK 1.5.0_18

 

Renamed the just well populated .m2 as m2_old_2

And added the mirror back in settings.xml to point again to our in-house nexus 
repository

$ mvn clean install

Got all files from our in-house nexus repository maybe indirect from apache 
central and BUILD was 100% perfect with maven-2.2.1 and JDK 1.5.0_18

 

So why is my local repository under .m2 

created on the 11th of October 

14 days later 

polluted with POM's that the build for axis2-1.6.1 fails with the errors you 
reported.

 

Josef

 

 

 

-----Ursprüngliche Nachricht-----
Von: Andreas Veithen [mailto:[email protected]] 
Gesendet: Donnerstag, 30. Dezember 2010 13:50
An: [email protected]
Betreff: Re: svn commit: r1053092 - 
/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

 

On Wed, Dec 29, 2010 at 10:51, Amila Suriarachchi

<[email protected]> wrote:

> 

> 

> On Wed, Dec 29, 2010 at 2:35 PM, Afkham Azeez <[email protected]> wrote:

>> 

>> I got a full update & ran the tests. I did not get any such failures.

> 

> even Hudson build is also stable. May be a problem with my machine.

 

Could be some subtle issue caused by pollution of your local Maven

repository with incorrect POM files downloaded from a repository other

than Maven central. Can you try this with a clean local repository

(and without any special configurations in your settings.xml file)?

 

> thanks,

> Amila.

>> 

>> 

>> On Wed, Dec 29, 2010 at 8:29 AM, Amila Suriarachchi

>> <[email protected]> wrote:

>>> 

>>> -------------------------------------------------------

>>>  T E S T S

>>> -------------------------------------------------------

>>> Running org.apache.axis2.saaj.SOAPConnectionTest

>>> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.033 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.TextTest

>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.325 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.MessageFactoryTest

>>> Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.226 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultDetailTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec

>>> Running org.apache.axis2.saaj.AttachmentSerializationTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.352 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPBodyTest

>>> Tests run: 6, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.128 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPPartTest

>>> Tests run: 9, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.045 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.AttachmentTest

>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.314

>>> sec

>>> Running org.apache.axis2.saaj.SAAJResultTest

>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec

>>> Running org.apache.axis2.saaj.PrefixesTest

>>> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.016 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPMessageTest

>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPElementTest

>>> Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257

>>> sec

>>> Running org.apache.axis2.saaj.SOAPHeaderTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.integration.IntegrationTest

>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFactoryTest

>>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.051 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPFaultTest

>>> Tests run: 24, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.142

>>> sec <<< FAILURE!

>>> Running org.apache.axis2.saaj.SOAPNamespaceTest

>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec

>>> <<< FAILURE!

>>> Running org.apache.axis2.saaj.SAAJDetailTest

>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec

>>> Running org.apache.axis2.saaj.NodeTest

>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec

>>> Running org.apache.axis2.saaj.SOAPEnvelopeTest

>>> Tests run: 19, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.073

>>> sec <<< FAILURE!

>>> 

>>> Results :

>>> 

>>> Tests in error:

>>>   testClose(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCloseTwice(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testCallOnCloseConnection(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testGet(org.apache.axis2.saaj.SOAPConnectionTest)

>>>   testComment(org.apache.axis2.saaj.TextTest)

>>>   testCreateMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testCreateMessage2(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testNewInstane(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testParseMTOMMessage(org.apache.axis2.saaj.MessageFactoryTest)

>>>   testAttachments(org.apache.axis2.saaj.AttachmentSerializationTest)

>>>   testExtractContentAsDocument(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddAttribute2(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddFault(org.apache.axis2.saaj.SOAPBodyTest)

>>>   testAddSource(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource2(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddSource3(org.apache.axis2.saaj.SOAPPartTest)

>>>   testAddingPrefixesForChildElements(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttribute(org.apache.axis2.saaj.PrefixesTest)

>>>   testAttrPrifix(org.apache.axis2.saaj.PrefixesTest)

>>>   testSaveRequired2(org.apache.axis2.saaj.SOAPMessageTest)

>>>   testHeaders(org.apache.axis2.saaj.SOAPHeaderTest)

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   org.apache.axis2.saaj.integration.IntegrationTest

>>>   testCreateElement2(org.apache.axis2.saaj.SOAPFactoryTest)

>>>   testFaults(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAppendSubCode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testAddFaultReasonText2(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultRole(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testSetFaultNode(org.apache.axis2.saaj.SOAPFaultTest)

>>>   testHasDetail(org.apache.axis2.saaj.SOAPFaultTest)

>>>   test(org.apache.axis2.saaj.SOAPNamespaceTest)

>>>   testEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachHeader(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testDetachBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelope2(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> testEnvelopeWithCommentInEnvelope(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithCommentInBody(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testEnvelopeWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransform(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>>   testTransformWithComments(org.apache.axis2.saaj.SOAPEnvelopeTest)

>>> 

>>> Tests run: 140, Failures: 0, Errors: 41, Skipped: 0

>>> 

>>> java version

>>> 

>>> java version "1.6.0_13"

>>> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)

>>> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

>>> 

>>> 

>>> thanks,

>>> Amila.

>>> 

>>> 

>>> On Wed, Dec 29, 2010 at 3:16 AM, Andreas Veithen

>>> <[email protected]> wrote:

>>>> 

>>>> What kind of error did you get in the SAAJ module?

>>>> 

>>>> Andreas

>>>> 

>>>> On Tue, Dec 28, 2010 at 02:47, Amila Suriarachchi

>>>> <[email protected]> wrote:

>>>> >

>>>> >

>>>> > On Mon, Dec 27, 2010 at 9:35 PM, Andreas Veithen

>>>> > <[email protected]>

>>>> > wrote:

>>>> >>

>>>> >> Guys,

>>>> >>

>>>> >> Why are you continuing to commit changes to the trunk although the

>>>> >> build is broken?

>>>> >

>>>> > Because this is the time I get to do some work :). But I am sure this

>>>> > commit

>>>> > won't worse it.

>>>> >

>>>> > I ran the integrated tests, adb-codegen, kernal and xml beans with

>>>> > tests.

>>>> > There were some problem with the SAAJ.

>>>> >

>>>> > thanks,

>>>> > Amila.

>>>> >>

>>>> >> Andreas

>>>> >>

>>>> >> On Mon, Dec 27, 2010 at 16:51,  <[email protected]> wrote:

>>>> >> > Author: amilas

>>>> >> > Date: Mon Dec 27 15:51:22 2010

>>>> >> > New Revision: 1053092

>>>> >> >

>>>> >> > URL: http://svn.apache.org/viewvc?rev=1053092&view=rev

>>>> >> > Log:

>>>> >> > renaming the localName variable to fix AXIS2-4849

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> >

>>>> >> >  
>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> >

>>>> >> > Modified:

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > URL:

>>>> >> >

>>>> >> > http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl?rev=1053092&r1=1053091&r2=1053092&view=diff

>>>> >> >

>>>> >> >

>>>> >> > ==============================================================================

>>>> >> > ---

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > (original)

>>>> >> > +++

>>>> >> >

>>>> >> > axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl

>>>> >> > Mon Dec 27 15:51:22 2010

>>>> >> > @@ -1302,13 +1302,13 @@

>>>> >> >                     <xsl:otherwise>

>>>> >> >                         <xsl:if test="not(property/@simple)">

>>>> >> >                             java.lang.String namespace =

>>>> >> > "<xsl:value-of

>>>> >> > select="property/@nsuri"/>";

>>>> >> > -                            java.lang.String localName =

>>>> >> > "<xsl:value-of

>>>> >> > select="$propertyName"/>";

>>>> >> > +                            java.lang.String _localName =

>>>> >> > "<xsl:value-of select="$propertyName"/>";

>>>> >> >                         </xsl:if>

>>>> >> >                         <xsl:if test="property/@simple">

>>>> >> >                             java.lang.String namespace =

>>>> >> > parentQName.getNamespaceURI();

>>>> >> > -                            java.lang.String localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> > +                            java.lang.String _localName =

>>>> >> > parentQName.getLocalPart();

>>>> >> >                         </xsl:if>

>>>> >> > -                            writeStartElement(null, namespace,

>>>> >> > localName, xmlWriter);

>>>> >> > +                            writeStartElement(null, namespace,

>>>> >> > _localName, xmlWriter);

>>>> >> >

>>>> >> >                             // add the type details if this is used

>>>> >> > in a

>>>> >> > simple type

>>>> >> >                                if (serializeType){

>>>> >> >

>>>> >> >

>>>> >> >

>>>> >>

>>>> >> ---------------------------------------------------------------------

>>>> >> To unsubscribe, e-mail: [email protected]

>>>> >> For additional commands, e-mail: [email protected]

>>>> >>

>>>> >

>>>> >

>>>> >

>>>> > --

>>>> > Amila Suriarachchi

>>>> > WSO2 Inc.

>>>> > blog: http://amilachinthaka.blogspot.com/

>>>> >

>>>> 

>>>> ---------------------------------------------------------------------

>>>> To unsubscribe, e-mail: [email protected]

>>>> For additional commands, e-mail: [email protected]

>>>> 

>>> 

>>> 

>>> 

>>> --

>>> Amila Suriarachchi

>>> WSO2 Inc.

>>> blog: http://amilachinthaka.blogspot.com/

>>> 

>>> 

>>> ---------------------------------------------------------------------

>>> To unsubscribe, e-mail: [email protected]

>>> For additional commands, e-mail: [email protected]

>> 

>> 

>> 

>> --

>> Afkham Azeez

>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,

>> 

>> Member; Apache Software Foundation; http://www.apache.org/

>> email: [email protected] cell: +94 77 3320919

>> blog: http://blog.afkham.org

>> twitter: http://twitter.com/afkham_azeez

>> linked-in: http://lk.linkedin.com/in/afkhamazeez

>> 

>> Lean . Enterprise . Middleware

>> 

> 

> 

> 

> --

> Amila Suriarachchi

> WSO2 Inc.

> blog: http://amilachinthaka.blogspot.com/

> 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]

 

Reply via email to