You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Wabner <th...@hora-obscura.de> on 2006/10/18 15:50:32 UTC

[M2] xslt mojo problem

Hi,

we try to use the mojo xslt plugin to trasnform a .tld file with a 
special stylesheet (like the apache tomahawk works). But we got 
everytime follow exception:

FEHLER:  'Unexpected end of file from server'
FEHLER:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: 
Unexpected end of file from server'
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: 
com.sun.org.apache.xml.internal.util
s.WrappedRuntimeException: Unexpected end of file from server
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:654)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
        at org.codehaus.mojo.xslt.XsltMojo.execute(XsltMojo.java:133)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)

The pluginconfiguration lok like:

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>xslt-maven-plugin</artifactId>
                <version>1.0</version>
                <configuration>
                    <xslFile>
                        src/main/tld/misc/resolve_entities.xsl
                    </xslFile>
                    <srcIncludes>**/*.tld</srcIncludes>
                    <srcDir>src/main/tld</srcDir>
                    <destDir>target/classes/META-INF</destDir>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>transform</goal>
                        </goals>
                    </execution>
                </executions>
  </plugin>

We have a proxy but the settings in the maven settings.xml file works 
(maven can update and recive plugins). Is there is a spcial 
configuration to tell the xslt plugin (or commons-http client) to use 
the proxy?

Many thanks in advance

- Thomas Wabner

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