You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2011/07/11 16:15:13 UTC

Trying to address JXR-84, in world of hurt with plugin test harness

Trying to get velocity 1.5 into here. I started by changing the dep in
maven-jxr. That led to strange errors suggesting crossed versions of
velocity. So I tried to upgrade the version of the
doxia-site-renderer. And now I'm really confused. Anybody recognize
the below?

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.jxr.JxrReportTest
-----------------------------------------------------
this realm = plexus.core
Number of imports: 0
-----------------------------------------------------
-------

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.056
sec <<< FAILURE!

Results :

Tests in error:
  testDefaultConfiguration(org.apache.maven.plugin.jxr.JxrReportTest):
Unable to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testPom(org.apache.maven.plugin.jxr.JxrReportTest): Unable to lookup
component 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testNoJavadocLink(org.apache.maven.plugin.jxr.JxrReportTest): Unable
to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testAggregate(org.apache.maven.plugin.jxr.JxrReportTest): Unable to
lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testNoJavadocDir(org.apache.maven.plugin.jxr.JxrReportTest): Unable
to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testExclude(org.apache.maven.plugin.jxr.JxrReportTest): Unable to
lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testInclude(org.apache.maven.plugin.jxr.JxrReportTest): Unable to
lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:jxr',
it could not be started
  testSourceDir(org.apache.maven.plugin.jxr.JxrTestReportTest): Unable
to lookup component
'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-jxr-plugin:2.3-SNAPSHOT:test-jxr',
it could not be started

Tests run: 9, Failures: 0, Errors: 8, Skipped: 0

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Trying to address JXR-84, in world of hurt with plugin test harness

Posted by Stephen Connolly <st...@gmail.com>.
not with doxia but with other classes... not happy with that test harness at all

On 11 July 2011 16:10, Stephen Connolly <st...@gmail.com> wrote:
> Yeah it took me two days of that pain to get m-dependency-p to a state
> where I could release it
>
> On 11 July 2011 15:52, Benson Margulies <bi...@gmail.com> wrote:
>> I'm beginning to make some sense of this. If I keep copying the
>> javadoc plugin I'll find the bottom eventually.
>>
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.maven.doxia.sink.SinkEventAttributes
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>        ... 75 more
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Trying to address JXR-84, in world of hurt with plugin test harness

Posted by Stephen Connolly <st...@gmail.com>.
Yeah it took me two days of that pain to get m-dependency-p to a state
where I could release it

On 11 July 2011 15:52, Benson Margulies <bi...@gmail.com> wrote:
> I'm beginning to make some sense of this. If I keep copying the
> javadoc plugin I'll find the bottom eventually.
>
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.doxia.sink.SinkEventAttributes
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>        ... 75 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Trying to address JXR-84, in world of hurt with plugin test harness

Posted by Benson Margulies <bi...@gmail.com>.
Lukas,

Thanks, I'm past that. Now I'm stalled on Velocity itself pitching
fits. I fear that plexus-velocity versus jxr is a muddle.

--benson


On Mon, Jul 11, 2011 at 1:36 PM, Lukas Theussl <lt...@apache.org> wrote:
>
> SinkEventAttributes was added in Doxia-1.1, so there is apparently a mixup
> with some some plugin/component that uses the old doxia-1.0. Not sure it
> helps, but here are some notes about upgrading from doxia-1.0 to 1.1:
>
> http://maven.apache.org/doxia/whatsnew-1.1.html
> http://maven.apache.org/doxia/developers/maven-integration.html
>
> HTH,
> -Lukas
>
>
> Benson Margulies wrote:
>>
>> I'm beginning to make some sense of this. If I keep copying the
>> javadoc plugin I'll find the bottom eventually.
>>
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.maven.doxia.sink.SinkEventAttributes
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>        ... 75 more
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Trying to address JXR-84, in world of hurt with plugin test harness

Posted by Lukas Theussl <lt...@apache.org>.
SinkEventAttributes was added in Doxia-1.1, so there is apparently a 
mixup with some some plugin/component that uses the old doxia-1.0. Not 
sure it helps, but here are some notes about upgrading from doxia-1.0 to 
1.1:

http://maven.apache.org/doxia/whatsnew-1.1.html
http://maven.apache.org/doxia/developers/maven-integration.html

HTH,
-Lukas


Benson Margulies wrote:
> I'm beginning to make some sense of this. If I keep copying the
> javadoc plugin I'll find the bottom eventually.
>
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.doxia.sink.SinkEventAttributes
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	... 75 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Trying to address JXR-84, in world of hurt with plugin test harness

Posted by Benson Margulies <bi...@gmail.com>.
I'm beginning to make some sense of this. If I keep copying the
javadoc plugin I'll find the bottom eventually.


Caused by: java.lang.ClassNotFoundException:
org.apache.maven.doxia.sink.SinkEventAttributes
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 75 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org