On Wed, May 11, 2011 at 14:44, Thomas Mortagne
<[email protected]> wrote:
> On Wed, May 11, 2011 at 14:27, Karel Gardas <[email protected]> wrote:
>> Hello,
>>
>> I'm trying to build xwiki enterprise from the source tree (git) I kind
>> of succeed in having the
>> ./xwiki-enterprise/xwiki-enterprise-web/target/xwiki-enterprise-web-3.1-SNAPSHOT.war
>> compiled/packaged. Now I'd like to deploy it to freshly installed tomcat
>> 7.0.12 but while tomcat starts it complains about:
>>
>> 2011-05-11 13:50:23,435 [Thread-2] ERROR DefaultCoreExtensionRepository
>>  - Failed to parse descriptor
>> [jar:file:/var/tmp/xwiki/xwiki-dev-apache/apache-tomcat-7.0.12/webapps/xwiki-enterprise-web-3.1-SNAPSHOT/WEB-INF/lib/saaj-api-1.3.jar!/META-INF/maven/javax.xml.soap/saaj-api/pom.xml]
>>
>> org.codehaus.plexus.util.xml.pull.XmlPullParserException: expected
>> START_TAG or END_TAG not TEXT (position: TEXT seen
>> ...</organization>`\r\n  <d... @41:5)
>>        at 
>> org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1095)
>>        at
>> org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2247)
>>        at
>> org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4088)
>>
>>
>> and the xwiki is not installed or run on it. I've unpacked the
>> problematic saaj-api-1.3.jar file and found that the problem is probably
>> with this line typo:
>>
>>      37   <organization>
>>      38         <name>Sun Microsystems, Inc</name>
>>      39         <url>http://www.sun.com/</url>
>>      40   </organization>`
>>      41   <dependencies>
>>
>>
>> See "`" at the end of 40 line. Now my question is how to fix this issue
>> properly? My guess is that this file does not come from XWiki project...
>
> You just hit http://jira.xwiki.org/jira/browse/XWIKI-6603 which is
> fixed now, probably did you build at the wrong moment.
>
> Note that it does not fix the real issue about this invalid pom.xml
> but at least it should not crash the XWiki initialization anymore.

Actually forget that it has nothing to do with
http://jira.xwiki.org/jira/browse/XWIKI-6603 since it was already
protected at this level but I should make it a warning instead.

>
>>
>> Thanks!
>> Karel
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Thomas Mortagne
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to