You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andy Fyfe <af...@bigtribe.com> on 2006/02/17 02:17:39 UTC

checkstyle 3.0 with maven 1.0.2

I've updated my project to specify version 3.0
of the checkstyle plugin.  Maven remains at
version 1.0.2.

I have also tried using the 3.0.1-SNAPSHOT
version, and have tried this on both OSX and
Solaris (both use jvm 1.5.0).

I consistently get the error:

BUILD FAILED
File...... /Users/andy/.maven/cache/maven-checkstyle-plugin-3.0.1- 
SNAPSHOT/plugin.jelly
Element... style
Line...... 241
Column.... 59
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time: 39 seconds
Finished at: Thu Feb 16 16:35:28 PST 2006

The error goes away if I revert to version 2.5
of the checkstyle plugin, but it can't handle the
j2se 5.0 stuff.

I've tried putting an explicit dependency for
xalan into my project.xml, as described in the
maven faq, but that doesn't help.

I've tried adding xalan-2.4.1 to my class path,
and in places like /Library/Java/Extensions;
the only variant that appears to work is to put
it in $JAVA_HOME/lib/endorsed/.

Is there another solution for this?

--Andy



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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
http://www.mail-archive.com/users@maven.apache.org/msg35500.html

Arnaud

On 2/17/06, Arnaud HERITIER <ah...@gmail.com> wrote:
> I just forwarded to the mailing list a workaround...
>
> Arnaud
>
> On 2/17/06, Lukas Theussl <lt...@apache.org> wrote:
> >
> > No, it does work with Maven 1.0.2. I tested it, however, not with java 5
> > (only 1.4.2). If it's a jdk issue then the $JAVA_HOME/lib/endorsed/
> > solution is probably the only one that's gonna work.
> >
> > -Lukas
> >
> >
> > Carlos Sanchez wrote:
> > > AFAIK it needs maven 1.1
> > >
> > > On 2/16/06, Andy Fyfe <af...@bigtribe.com> wrote:
> > >
> > >>I've updated my project to specify version 3.0
> > >>of the checkstyle plugin.  Maven remains at
> > >>version 1.0.2.
> > >>
> > >>I have also tried using the 3.0.1-SNAPSHOT
> > >>version, and have tried this on both OSX and
> > >>Solaris (both use jvm 1.5.0).
> > >>
> > >>I consistently get the error:
> > >>
> > >>BUILD FAILED
> > >>File...... /Users/andy/.maven/cache/maven-checkstyle-plugin-3.0.1-
> > >>SNAPSHOT/plugin.jelly
> > >>Element... style
> > >>Line...... 241
> > >>Column.... 59
> > >>Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> > >>Total time: 39 seconds
> > >>Finished at: Thu Feb 16 16:35:28 PST 2006
> > >>
> > >>The error goes away if I revert to version 2.5
> > >>of the checkstyle plugin, but it can't handle the
> > >>j2se 5.0 stuff.
> > >>
> > >>I've tried putting an explicit dependency for
> > >>xalan into my project.xml, as described in the
> > >>maven faq, but that doesn't help.
> > >>
> > >>I've tried adding xalan-2.4.1 to my class path,
> > >>and in places like /Library/Java/Extensions;
> > >>the only variant that appears to work is to put
> > >>it in $JAVA_HOME/lib/endorsed/.
> > >>
> > >>Is there another solution for this?
> > >>
> > >>--Andy
> > >>
> > >>
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > I could give you my word as a Spaniard.
> > > No good. I've known too many Spaniards.
> > >                              -- The Princess Bride
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Andy Fyfe <af...@bigtribe.com>.
The work around appears to already be part of 3.0.1-SNAPSHOT.
Unless I'm misunderstanding, it doesn't help, at least with maven
1.0.2 and JDK 5.

--Andy

On Feb 17, 2006, at 12:54 AM, Arnaud HERITIER wrote:

> I just forwarded to the mailing list a workaround...
>
> Arnaud


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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Arnaud HERITIER <ah...@gmail.com>.
I just forwarded to the mailing list a workaround...

Arnaud

On 2/17/06, Lukas Theussl <lt...@apache.org> wrote:
>
> No, it does work with Maven 1.0.2. I tested it, however, not with java 5
> (only 1.4.2). If it's a jdk issue then the $JAVA_HOME/lib/endorsed/
> solution is probably the only one that's gonna work.
>
> -Lukas
>
>
> Carlos Sanchez wrote:
> > AFAIK it needs maven 1.1
> >
> > On 2/16/06, Andy Fyfe <af...@bigtribe.com> wrote:
> >
> >>I've updated my project to specify version 3.0
> >>of the checkstyle plugin.  Maven remains at
> >>version 1.0.2.
> >>
> >>I have also tried using the 3.0.1-SNAPSHOT
> >>version, and have tried this on both OSX and
> >>Solaris (both use jvm 1.5.0).
> >>
> >>I consistently get the error:
> >>
> >>BUILD FAILED
> >>File...... /Users/andy/.maven/cache/maven-checkstyle-plugin-3.0.1-
> >>SNAPSHOT/plugin.jelly
> >>Element... style
> >>Line...... 241
> >>Column.... 59
> >>Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> >>Total time: 39 seconds
> >>Finished at: Thu Feb 16 16:35:28 PST 2006
> >>
> >>The error goes away if I revert to version 2.5
> >>of the checkstyle plugin, but it can't handle the
> >>j2se 5.0 stuff.
> >>
> >>I've tried putting an explicit dependency for
> >>xalan into my project.xml, as described in the
> >>maven faq, but that doesn't help.
> >>
> >>I've tried adding xalan-2.4.1 to my class path,
> >>and in places like /Library/Java/Extensions;
> >>the only variant that appears to work is to put
> >>it in $JAVA_HOME/lib/endorsed/.
> >>
> >>Is there another solution for this?
> >>
> >>--Andy
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >                              -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Andy Fyfe <af...@bigtribe.com>.
It does work with JDK 1.4.2.  I was originally misled
a bit by this because while adding a JAVA_VERSION
env variable will result in the maven script saying it's
using java version 1.4.2, it still uses your JAVA_HOME
variable if that's set too.

--Andy

On Feb 16, 2006, at 6:04 PM, Lukas Theussl wrote:

>
> No, it does work with Maven 1.0.2. I tested it, however, not with  
> java 5 (only 1.4.2). If it's a jdk issue then the $JAVA_HOME/lib/ 
> endorsed/ solution is probably the only one that's gonna work.
>
> -Lukas

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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Lukas Theussl <lt...@apache.org>.
No, it does work with Maven 1.0.2. I tested it, however, not with java 5 
(only 1.4.2). If it's a jdk issue then the $JAVA_HOME/lib/endorsed/ 
solution is probably the only one that's gonna work.

-Lukas


Carlos Sanchez wrote:
> AFAIK it needs maven 1.1
> 
> On 2/16/06, Andy Fyfe <af...@bigtribe.com> wrote:
> 
>>I've updated my project to specify version 3.0
>>of the checkstyle plugin.  Maven remains at
>>version 1.0.2.
>>
>>I have also tried using the 3.0.1-SNAPSHOT
>>version, and have tried this on both OSX and
>>Solaris (both use jvm 1.5.0).
>>
>>I consistently get the error:
>>
>>BUILD FAILED
>>File...... /Users/andy/.maven/cache/maven-checkstyle-plugin-3.0.1-
>>SNAPSHOT/plugin.jelly
>>Element... style
>>Line...... 241
>>Column.... 59
>>Provider org.apache.xalan.processor.TransformerFactoryImpl not found
>>Total time: 39 seconds
>>Finished at: Thu Feb 16 16:35:28 PST 2006
>>
>>The error goes away if I revert to version 2.5
>>of the checkstyle plugin, but it can't handle the
>>j2se 5.0 stuff.
>>
>>I've tried putting an explicit dependency for
>>xalan into my project.xml, as described in the
>>maven faq, but that doesn't help.
>>
>>I've tried adding xalan-2.4.1 to my class path,
>>and in places like /Library/Java/Extensions;
>>the only variant that appears to work is to put
>>it in $JAVA_HOME/lib/endorsed/.
>>
>>Is there another solution for this?
>>
>>--Andy
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> 
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>                              -- The Princess Bride
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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


Re: checkstyle 3.0 with maven 1.0.2

Posted by Carlos Sanchez <ca...@apache.org>.
AFAIK it needs maven 1.1

On 2/16/06, Andy Fyfe <af...@bigtribe.com> wrote:
> I've updated my project to specify version 3.0
> of the checkstyle plugin.  Maven remains at
> version 1.0.2.
>
> I have also tried using the 3.0.1-SNAPSHOT
> version, and have tried this on both OSX and
> Solaris (both use jvm 1.5.0).
>
> I consistently get the error:
>
> BUILD FAILED
> File...... /Users/andy/.maven/cache/maven-checkstyle-plugin-3.0.1-
> SNAPSHOT/plugin.jelly
> Element... style
> Line...... 241
> Column.... 59
> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> Total time: 39 seconds
> Finished at: Thu Feb 16 16:35:28 PST 2006
>
> The error goes away if I revert to version 2.5
> of the checkstyle plugin, but it can't handle the
> j2se 5.0 stuff.
>
> I've tried putting an explicit dependency for
> xalan into my project.xml, as described in the
> maven faq, but that doesn't help.
>
> I've tried adding xalan-2.4.1 to my class path,
> and in places like /Library/Java/Extensions;
> the only variant that appears to work is to put
> it in $JAVA_HOME/lib/endorsed/.
>
> Is there another solution for this?
>
> --Andy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

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