[ http://jira.codehaus.org/browse/MNG-1898?page=comments#action_55479 ] 

John Casey commented on MNG-1898:
---------------------------------

I need a test case to verify that this is an issue. Currently, using the 
descriptions above, and the email message referenced above, I cannot get this 
to break.

See:

* it0086
* it0087
* it0089

If these are erroneous, I need to figure out why. I'm going to reschedule this 
to 2.0.3, and close it later if I can't reproduce later.

> Plugin classpath broken from 2.0 to 2.0.1
> -----------------------------------------
>
>          Key: MNG-1898
>          URL: http://jira.codehaus.org/browse/MNG-1898
>      Project: Maven 2
>         Type: Bug

>  Environment: winxp
>     Reporter: Brian Fox
>     Assignee: Jason van Zyl
>     Priority: Blocker
>      Fix For: 2.0.3

>
>
> I'm working on a kodo plugin in the codehaus mojo sandbox. Using 2.0, it 
> works fine. In 2.1, it can't find xercesImpl, which is a transitive 
> dependency of the plugin. Did something change to cause new behavior (aka a 
> bug) related to this? Just eyeballing the info below, in 2.0, the instance of 
> classloader was  org.codehaus.classworlds.RealmClassLoader but in 2.0.1 it is 
> org.codehaus.plexus.util.RealmDelegatingClassLoader
>  
> I tried specifying xercesImpl as a direct dependency and that didn't work 
> either so I'm not sure it's related to the transitivity.
>  
> Output from 2.0.1: (2.0 follows further below)
>  
> [DEBUG] org.codehaus.mojo:kodo-maven-plugin:maven-plugin:1.0-alpha-1-SNAPSHOT 
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG] Skipping disabled repository snapshots
> [DEBUG]   com.solarmetric:kodo-jdo:jar:3.3.3 (setting version to: 3.3.3 from 
> range: [3.0,])
> [DEBUG]   com.solarmetric:kodo-jdo:jar:3.3.3 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-wl81manage:jar:1.0 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-workbench:jar:1.0 (selected for runtime)
> [DEBUG]     org.hsqldb:jdbc-hsql:jar:1.7.0 (selected for runtime)
> [DEBUG]     sqlline:sqlline:jar:1.0 (selected for runtime)
> [DEBUG]     jcommon:jcommon:jar:0.9.1 (selected for runtime)
> [DEBUG]     javax.jdo:jdo:jar:1.0.2 (selected for runtime)
> [DEBUG]     xalan:xalan:jar:2.5.1 (selected for runtime)
> [DEBUG]     jfreechart:jfreechart:jar:0.9.16 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-jdo-runtime:jar:3.3.3 (selected for runtime)
> [DEBUG]     javax.sql:jdbc-stdext:jar:2.0 (selected for runtime)
> [DEBUG]     jline:jline:jar:0.9.1 (selected for runtime)
> [DEBUG]     mx4j:mx4j-jmx:jar:1.1.1 (selected for runtime)
> [DEBUG]     jta-spec:jta-spec:jar:1.0.1 (selected for runtime)
> [WARNING] While downloading xml-apis:xml-apis:2.0.0
>   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
>  
> [DEBUG]     xml-apis:xml-apis:jar:1.0.b2 (selected for runtime)
> [DEBUG]     xerces:xercesImpl:jar:2.5.0 (selected for runtime)
> [DEBUG]     jca:jca:jar:1.0.0 (selected for runtime)
> [DEBUG]     mx4j:mx4j-tools:jar:1.1.1 (selected for runtime)
> [DEBUG]     jndi:jndi:jar:1.2.1 (selected for runtime)
> [DEBUG] Skipping disabled repository snapshots
> [DEBUG]   log4j:log4j:jar:1.2.12 (setting version to: 1.2.12 from range: 
> [1.2.9,])
> [DEBUG]   log4j:log4j:jar:1.2.12 (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
> [DEBUG] Configuring mojo 
> 'org.codehaus.mojo:kodo-maven-plugin:1.0-alpha-1-SNAPSHOT:enhance' -->
> [DEBUG]   (f) classDir = 
> E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes
> [DEBUG]   (f) resources = [EMAIL PROTECTED]
> [DEBUG]   (f) searchDir = 
> E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes
> [DEBUG] -- end configuration --
> [INFO] [kodo:enhance {execution: kodo-enhance}]
> [info] Found 
> file:E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes\com\stchome\application\supplementalforms\persist\persist.jdo
> [info] [EMAIL PROTECTED]
> [debug] Added to Classpath:
> [debug] 
> /E:/STC/svn/modules/services/supplementaldata-jdo/trunk/src/main/resources/
> [debug] 
> /E:/STC/svn/modules/services/supplementaldata-jdo/trunk/target/classes/
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
> [INFO] 
> ----------------------------------------------------------------------------
> [DEBUG] Trace
> javax.xml.parsers.FactoryConfigurationError: Provider 
> org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>  at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93)
>  at serp.xml.XMLFactory.checkSAXCache(XMLFactory.java:217)
>  at serp.xml.XMLFactory.getSAXParser(XMLFactory.java:66)
>  at 
> com.solarmetric.meta.XMLMetaDataParser.parseNew(XMLMetaDataParser.java:354)
>  at com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)
>  at 
> com.solarmetric.meta.ClassArgParser.getFromMetaData(ClassArgParser.java:182)
>  at 
> com.solarmetric.meta.ClassArgParser.parseClassNames(ClassArgParser.java:98)
>  at com.solarmetric.meta.ClassArgParser.parseClasses(ClassArgParser.java:74)
>  at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2657)
>  
>  
> 2.0 Output:
> [DEBUG] org.codehaus.mojo:kodo-maven-plugin:maven-plugin:1.0-alpha-1-SNAPSHOT 
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
> [DEBUG] Skipping disabled repository snapshots
> [DEBUG]   com.solarmetric:kodo-jdo:jar:3.3.3 (setting version to: 3.3.3 from 
> range: [3.0,])
> [DEBUG]   com.solarmetric:kodo-jdo:jar:3.3.3 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-wl81manage:jar:1.0 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-workbench:jar:1.0 (selected for runtime)
> [DEBUG]     org.hsqldb:jdbc-hsql:jar:1.7.0 (selected for runtime)
> [DEBUG]     sqlline:sqlline:jar:1.0 (selected for runtime)
> [DEBUG]     jcommon:jcommon:jar:0.9.1 (selected for runtime)
> [DEBUG]     javax.jdo:jdo:jar:1.0.2 (selected for runtime)
> [DEBUG]     xalan:xalan:jar:2.5.1 (selected for runtime)
> [DEBUG]     jfreechart:jfreechart:jar:0.9.16 (selected for runtime)
> [DEBUG]     com.solarmetric:kodo-jdo-runtime:jar:3.3.3 (selected for runtime)
> [DEBUG]     javax.sql:jdbc-stdext:jar:2.0 (selected for runtime)
> [DEBUG]     jline:jline:jar:0.9.1 (selected for runtime)
> [DEBUG]     mx4j:mx4j-jmx:jar:1.1.1 (selected for runtime)
> [DEBUG]     jta-spec:jta-spec:jar:1.0.1 (selected for runtime)
> [WARNING] 
>   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
>  
> [DEBUG]     xml-apis:xml-apis:jar:1.0.b2 (selected for runtime)
> [DEBUG]     xerces:xercesImpl:jar:2.5.0 (selected for runtime)
> [DEBUG]     jca:jca:jar:1.0.0 (selected for runtime)
> [DEBUG]     mx4j:mx4j-tools:jar:1.1.1 (selected for runtime)
> [DEBUG]     jndi:jndi:jar:1.2.1 (selected for runtime)
> [DEBUG] Skipping disabled repository snapshots
> [DEBUG]   log4j:log4j:jar:1.2.12 (setting version to: 1.2.12 from range: 
> [1.2.9,])
> [DEBUG]   log4j:log4j:jar:1.2.12 (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
> [DEBUG] Configuring mojo 
> 'org.codehaus.mojo:kodo-maven-plugin:1.0-alpha-1-SNAPSHOT:enhance' -->
> [DEBUG]   (f) classDir = 
> E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes
> [DEBUG]   (f) resources = [EMAIL PROTECTED]
> [DEBUG]   (f) searchDir = 
> E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes
> [DEBUG] -- end configuration --
> [INFO] [kodo:enhance {execution: kodo-enhance}]
> [info] Found 
> file:E:\STC\svn\modules\services\supplementaldata-jdo\trunk\target\classes\com\stchome\application\supplementalforms\persist\persist.jdo
> [info] [EMAIL PROTECTED]
> [debug] Added to Classpath:
> [debug] 
> /E:/STC/svn/modules/services/supplementaldata-jdo/trunk/src/main/resources/
> [debug] 
> /E:/STC/svn/modules/services/supplementaldata-jdo/trunk/target/classes/
> 0     INFO  [main] kodo.Tool - JDO enhancer running on type "class 
> com.stchome.application.supplementalforms.persist.FormOwnerAssociation".

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to