You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jean-Michel PATER <pa...@cogenit.fr> on 2006/10/20 16:36:14 UTC

[MAVEN-1.0.2] HowTo set environment and project.properties variables

Hi all,

I'm a newbie in Maven. I'd like to know if the project.properties file 
can be edited with a jelly script and if the system environment 
variables can be modified from maven ?

Thanks

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


[m2] ear project in eclipse wtp -> ear utility-jar are put in WEB-INF/lib of the ear

Posted by Elid OR <or...@fimasys.fr>.
Hi all,

It seems that the maven eclipse plugin add ear jar dependencies in the 
WEB-INF/lib directory.

I've used the following command : mvn eclipse:clean 
eclipse:eclipse -Dwtpversion=1.0 (I've also tried 1.5 with the snapshot 
version)

And when deploy the ear project through WTP in a J2EE Server I see the 
following structure :

my-ear
  |---- my-ejb.jar
  |---- my-webapp.war
  |---- META-INF/
		|---- application.xml
		|---- MANIFEST.MF
  |
  |----- WEB-INF/
		|---- lib
			|---- dependency-1.jar
			|---- dependency-2.jar


But I don't expect these dependencies to be here, I expect something like 
this :

my-ear
  |---- my-ejb.jar
  |---- my-webapp.war
  |---- META-INF/
		|---- application.xml
		|---- MANIFEST.MF
  |
  |----- dependency-1.jar
  |----- dependency-2.jar


So I've checked quickly the SVN repository and it seems that the directory in 
which we put "ear utility jar" is hard coded as "WEB-INF/lib" (-> 
AbstractWtpResourceWritter.addDependency() )

Are you OK with this packaging ? Is there a way to configure where wtp will 
put these ear utility-jars ?

Thanks In Advance

Elid OR 

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