Are you using JDK 1.5 when you try to build struts with maven? If so, you are probably encountering a classloader issue with maven, discussed in their tracking system here:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-156 The struts maven.xml file does use the workaround described in the original filing of this issue; however, that workaround does not work with JDK 1.5. I tried the "hack" provided in the last comment, changing this line in maven.xml: ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} to ${systemScope.setProperty('javax.xml.transform.TransformerFactory','com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl')} And the maven build succeeded. -Greg On Mon, 18 Oct 2004 13:57:47 -0500, Joe Germuska <[EMAIL PROTECTED]> wrote: > Craig is right. However, I'm kind of curious about what's going on > here, if you want to help us understand it more. > > In order to do the XSL transforms to convert our TLD meta-files into > true TLD files, the maven.xml sets the system property to use Xalan > as the XSLT transformer. > > The project.xml file includes Xalan as a dependency, so I don't > really understand why you would get a "not found" error, unless you > are somehow overriding the Xalan dependency. > > Joe > > > > At 10:21 AM -0700 10/18/04, Craig McClanahan wrote: > >The Maven-based build scripts are still under development. The > >official method to build struts is still Ant. You'll need to > >configure a "build.properties" file that points at where you've > >downloaded and installed the dependencies -- see > >"build.properties.sample" for a sample of what will be needed. > > > >Craig > > > > > > > >On Mon, 18 Oct 2004 17:21:25 +0800, Christopher Lim > ><[EMAIL PROTECTED]> wrote: > >> Just checked out struts source code from subversion and issued > >> > >> > maven > >> > >> got the following errors: > >> > >> BUILD FAILED > >> File...... C:\Projects\OpenSource\struts\maven.xml > >> Element... ant:style > >> Line...... 29 > >> Column.... 28 > >> Provider org.apache.xalan.processor.TransformerFactoryImpl not found > >> Total time: 3 seconds > >> Finished at: Mon Oct 18 17:19:58 CST 2004 > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn > back; I'll know I'm in the wrong place." > - Carlos Santana > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]