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


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

Reply via email to