Re: compile jaxb2 annotated files with maven2

2008-06-06 Thread Javier Diaz
We use jaxb and I must confess that was not easy to set up our 
environment. Our pom has the dependencies listed below. Let me know if 
that works for you.


Regards,

Javier

   
   javax.xml.bind
   jaxb-api
   2.1
   compile
   
   
   
   com.sun.xml.bind
   jaxb-impl
   2.0.2
   
   
   
   com.sun.xml.bind
   jaxb-xjc
   2.0.2
   

   
   
   javax.activation
   activation
   1.1
   

   
   
   javax.xml.bind
   jsr173_api
   1.0
   


Wayne Fay wrote:

Have you tried adding the jaxb2 jars to the list of dependencies with
scope "compile"? Did this not work? What error message(s) did you
receive?

I don't know much about jaxb2 but if you post more details on what
you've tried and what error(s) you've encountered, perhaps someone can
give you the guidance you are looking for.

Wayne

On Tue, Jun 3, 2008 at 5:50 AM, Trasca Virgil <[EMAIL PROTECTED]> wrote:
  

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/




-
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]



Re: convert a maven project and xslt:transform

2008-05-22 Thread Javier Diaz

Hi:

First step is to create a pom for your project. Then add xalan as a 
dependency, for example:


   
   xalan
   xalan
   2.7.0
   compile
   

And that should be enough.

Regards,

Javier

Mansour wrote:

Hello:
I have been using maven for few month. I use it through eclipse plugin 
and only for getting the dependencies for the projects. Now I think I 
need a little more of maven. I have a project that has an xslt 
transformation. This project is NOT a maven project. I checked the 
source out of svn and attempted to run the transformation. However, it 
turned that xalan is not installed on this machine. I have not 
installed a jar file since I started using maven. It does everything I 
need from downloading the file to adding it to the classpath. I 
thought maven can help here in getting the transformation done.
I googled 
http://mojo.codehaus.org/xslt-maven-plugin/transform-mojo.html but no 
example. Can someone give the steps to run this transformation? and 
possibly convert the project to maven?


I have checked this http://maven.apache.org/plugins/ and couldn't find 
anything related to xslt.




-
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]



Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Javier Diaz




[X] Our team uses HTTP to retrieve our artifacts

Regards,

Javier


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