You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ben Anderson <be...@benanderson.us> on 2004/10/15 15:47:18 UTC

Hi,
I'm trying to use the <ant:style tag but am getting this error:
BUILD FAILED
File...... c:\java2\struts\struts-faces\core-library\maven.xml
Element... ant:style
Line...... 16
Column.... 44
Provider for javax.xml.transform.TransformerFactory cannot be found

I found some answers after googling, which helped.  I specified xalan as a
dependency and then called maven this way:

maven
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl

Is there some way to get around this, so that I don't have to specify this on
the command line?  I tried setting an ant property via <ant:set, but this must
use a different context than the command line.

Any ideas?
Thanks,
Ben

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


Re: Posted by Brett Porter <br...@gmail.com>.
using systemScope: see the FAQ on the maven site.


On Fri, 15 Oct 2004 06:47:18 -0700, Ben Anderson
<be...@benanderson.us> wrote:
> Hi,
> I'm trying to use the <ant:style tag but am getting this error:
> BUILD FAILED
> File...... c:\java2\struts\struts-faces\core-library\maven.xml
> Element... ant:style
> Line...... 16
> Column.... 44
> Provider for javax.xml.transform.TransformerFactory cannot be found
> 
> I found some answers after googling, which helped.  I specified xalan as a
> dependency and then called maven this way:
> 
> maven
> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
> 
> Is there some way to get around this, so that I don't have to specify this on
> the command line?  I tried setting an ant property via <ant:set, but this must
> use a different context than the command line.
> 
> Any ideas?
> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> 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