You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/05/30 21:39:43 UTC

[jira] Closed: (MRELEASE-125) Tests fail in dryrun which succeed in normal build

     [ http://jira.codehaus.org/browse/MRELEASE-125?page=all ]
     
Mike Perham closed MRELEASE-125:
--------------------------------

     Resolution: Cannot Reproduce
    Fix Version: 2.0-beta-4

This was caused by the build mvn instance not being called with the same settings as the release mvn instance.  I needed to add -Darguments="-s '%USERPROFILE%\.m2\settings-dublin.xml'" to pick up my project's custom repository.

> Tests fail in dryrun which succeed in normal build
> --------------------------------------------------
>
>          Key: MRELEASE-125
>          URL: http://jira.codehaus.org/browse/MRELEASE-125
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>     Reporter: Mike Perham
>      Fix For: 2.0-beta-4

>
>
> I assume that Maven is providing a dependency normally but the release process is not.  'mvn clean install' and the tests pass.  'mvn -DdryRun=true release:prepare' and the tests fail with the following error when running the build.  I'm using JDK 1.4.2.
>     Warning: Caught exception attempting to use SAX to load a SAX XMLReader
>     Warning: Exception was: org.xml.sax.SAXException: System property org.xml.sax.driver not specified
>     Warning: I will print the stack trace then carry on using the default SAX parser
>     org.xml.sax.SAXException: System property org.xml.sax.driver not specified
>         at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:90)
>         at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
>         at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
>         at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
>         at org.dom4j.io.SAXReader.read(SAXReader.java:435)
>         at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:422)
>         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:654)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira