compile jaxb2 annotated files with maven2

2008-06-03 Thread Trasca Virgil
Hello,

   I am in the process of migrating from Ant to Maven2. I am stucked when I try 
to mvn compile because in some source files I use jaxb2 annotations and of 
course I need jaxb2 jars for building. I am not generating and xsd or any java 
sources with jaxb2 only compile some annotated src files. In ANT the only thing 
I do is that I am compiling my sources with jaxb2 in the classpath. How can I 
do this in Maven2? Do you have some links with documentation?

 Thank you,
Virgil
DocumentBurster,
http://java-hobby.blogspot.com/


Maven2 strange issue

2007-12-19 Thread Trasca Virgil
Hi,
 
   I have a new build with maven2 which used to work correctly and quick. But 
today when I did the sample compile which worked so many times maven2 started 
to go to repositories and download all kind of dependencies which I never heard 
about and stayed so much time that I got bored waiting.

What is different from when it was working correctly is that I added build.xml 
near pom.xml(as I want also ant build) , I added a dist folder(for the output 
of ant) and I added a lib folder( for keeping jar dependencies needed by ant). 
But I don't see why this should change maven2 behavior.

new maven2 build took 24 minutes and a lot ofs strange downloads but used to 
take only 8 seconds!!.

I am doing something wrong?

Thank you,
Virgil



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]