Have a look here : 
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html

-----Ursprüngliche Nachricht-----
Von: fuppes [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 9. Mai 2008 10:50
An: [email protected]
Betreff: how to tell my WAR that everything is in /lib of the EAR?



hi,

currently we are telling the WAR where to look for all the jar in this way: 
(pom of a war) ... <configuration>
  <warSourceDirectory>Web Content</warSourceDirectory>
   <archive>
      <manifestEntries>
              <Class-Path>lib/..... jar jar jar......</Class-Path>
      </manifestEntries>
  </archive>
</configuration>
...
When we build our war, all the dependencies are marked with<provided> because 
the ear will have the /lib dir with all the shared jar in it. But Iam not 
convinced with the above mentioned solution. Is the no better way to do it???

(Please excuse my english)
--
View this message in context: 
http://www.nabble.com/how-to-tell-my-WAR-that-everything-is-in--lib-of-the-EAR--tp17143842p17143842.html
Sent from the Maven - Users mailing list archive at Nabble.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]

Reply via email to