You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by leïla <le...@hotmail.com> on 2005/11/13 21:01:41 UTC
[Jackrabbit] Maven build error
Hello Everyone,
I'm new to Jackrabbit, svn, maven and all this stuff....
I read the mails concerning maven build error. Everything seems in order,
however I'm still getting the following error, when I run "maven command" from
a command prompt (Windows XP):
DEPRECATED: the default goal should be specified in the <build> section of
proje
ct.xml instead of maven.xml
build:start:
java:prepare-filesystem:
Running post goal: java:prepare-filesystem
jackrabbit:generate-xpath-parser:
[xslt] Processing
C:\MasterProject\jackrabbit\src\main\javacc\xpath\
xpath-grammar.xml to C:\MasterProject\jackrabbit\target\generated-
src\main\javac
c\stripped-xpath-grammar.xml
[xslt] Loading stylesheet
C:\MasterProject\jackrabbit\src\main\javacc\xpath\
strip.xsl
BUILD FAILED
File...... C:\MasterProject\jackrabbit\maven.xml
Element... ant:xslt
Line...... 142
Column.... 25
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time : 8 seconds
Finished at : Sunday, November 13, 2005 8:40:03 PM CET
Thanks in advance for your help!
P.S: As you may see, it is very important (for my Master project :-)
Re: [Jackrabbit] Maven build error
Posted by Jukka Zitting <ju...@zitting.name>.
Hi,
Leïla wrote:
> I read the mails concerning maven build error. Everything seems in order,
> however I'm still getting the following error, when I run "maven command" from
> a command prompt (Windows XP):
> [...]
> BUILD FAILED
> File...... C:\MasterProject\jackrabbit\maven.xml
> Element... ant:xslt
> Line...... 142
> Column.... 25
> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> Total time : 8 seconds
> Finished at : Sunday, November 13, 2005 8:40:03 PM CET
I believe you are using Java 5 to build Jackrabbit. There is a rather
complex known issue with XSLT transformation with Maven and Java 5. The
workaround is described in the README:
NOTE: Java 5 users need to download the xalan.jar and serializer.jar
libraries from the Xalan-Java binary distribution at
http://xml.apache.org/xalan-j/downloads.html and place them in
$MAVEN_HOME/lib/endorsed (or $JRE/lib/endorsed if using Maven 1.1)
to build the Jackrabbit sources. The reason for this workaround is
explained in
http://issues.apache.org/jira/browse/JCR-46
I hope this answer helps you. And thanks for reporting your problem,
I'll put the answer in the FAQ as quite a few people seem to be
stumbling on the same issue.
BR,
Jukka Zitting
Re: [Jackrabbit] Maven build error
Posted by Alexandru Popescu <th...@gmail.com>.
#: Jukka Zitting changed the world a bit at a time by saying on 11/13/2005 10:46 PM :#
> Hi,
>
> Alexandru Popescu wrote:
>> This is happening because you are trying to use JDK 1.5. Jukka posted
>> the solution for this, and I am taking the permission to quote him
>
> Ah, you beat me to answering the question. Thanks for the quick action! :-)
>
It took me a while to figure why it didn't worked on my machine, so I have it on my recent brain
cells :-).
>> (Jukka hope you are not using some special copyrights :-) )
>
> I'm not sure if there's actually a policy that all messages sent to
> Apache mailing lists are licensed ASLv2 unless otherwise noted (I recall
> some discussion about this somewhere). At least all my messages to this
> list follow that policy, whether or not the policy applies in general.
>
> BR,
>
> Jukka Zitting
>
I never truely asked this myself, but I guess this is kindda public domain :-). It would be really
hard to imagine a proprietary license upon mailing lists.
cheers,
./alex
--
.w( the_mindstorm )p.
Re: [Jackrabbit] Maven build error
Posted by Jukka Zitting <ju...@zitting.name>.
Hi,
Alexandru Popescu wrote:
> This is happening because you are trying to use JDK 1.5. Jukka posted
> the solution for this, and I am taking the permission to quote him
Ah, you beat me to answering the question. Thanks for the quick action! :-)
> (Jukka hope you are not using some special copyrights :-) )
I'm not sure if there's actually a policy that all messages sent to
Apache mailing lists are licensed ASLv2 unless otherwise noted (I recall
some discussion about this somewhere). At least all my messages to this
list follow that policy, whether or not the policy applies in general.
BR,
Jukka Zitting
Re: [Jackrabbit] Maven build error
Posted by Alexandru Popescu <th...@gmail.com>.
Hi Leila!
This is happening because you are trying to use JDK 1.5. Jukka posted the solution for this, and I
am taking the permission to quote him (Jukka hope you are not using some special copyrights :-) )
[quote]
NOTE: Java 5 users need to download the xalan.jar and serializer.jar
libraries from the Xalan-Java binary distribution at
http://xml.apache.org/xalan-j/downloads.html and place them in
$MAVEN_HOME/lib/endorsed (or $JRE/lib/endorsed if using Maven 1.1)
to build the Jackrabbit sources. The reason for this workaround is
explained in
http://issues.apache.org/jira/browse/JCR-46
[/quote]
hth,
./alex
--
.w( the_mindstorm )p.
#: leïla changed the world a bit at a time by saying on 11/13/2005 10:01 PM :#
> Hello Everyone,
>
> I'm new to Jackrabbit, svn, maven and all this stuff....
>
> I read the mails concerning maven build error. Everything seems in order,
> however I'm still getting the following error, when I run "maven command" from
> a command prompt (Windows XP):
>
> DEPRECATED: the default goal should be specified in the <build> section of
> proje
> ct.xml instead of maven.xml
> build:start:
>
> java:prepare-filesystem:
> Running post goal: java:prepare-filesystem
> jackrabbit:generate-xpath-parser:
>
>
>
> [xslt] Processing
> C:\MasterProject\jackrabbit\src\main\javacc\xpath\
> xpath-grammar.xml to C:\MasterProject\jackrabbit\target\generated-
> src\main\javac
> c\stripped-xpath-grammar.xml
> [xslt] Loading stylesheet
> C:\MasterProject\jackrabbit\src\main\javacc\xpath\
>
> strip.xsl
>
> BUILD FAILED
> File...... C:\MasterProject\jackrabbit\maven.xml
> Element... ant:xslt
> Line...... 142
> Column.... 25
> Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> Total time : 8 seconds
> Finished at : Sunday, November 13, 2005 8:40:03 PM CET
>
>
> Thanks in advance for your help!
>
> P.S: As you may see, it is very important (for my Master project :-)
>
>