help: can't exclude files from EAR file

2007-10-12 Thread Victor Okunev
Folks, I need to build an EAR file composed of just one WAR file using Maven2. However, in addition to the WAR file, the resulting EAR file contains all the JARs that the web module has dependencies on, as well as the pom.xml. How do I exclude everything but WAR file and application.xml from the

Re: help: can't exclude files from EAR file

2007-10-12 Thread Victor Okunev
such that they are shared among several apps? If you don't want the libs bundled in your WAR nor EAR, you should just change the scope to provided. Wayne On 10/12/07, Victor Okunev [EMAIL PROTECTED] wrote: Folks, I need to build an EAR file composed of just one WAR file using Maven2. However

setting dependency to a project with pom packaging?

2006-12-04 Thread Victor Okunev
Can I create a dependency to a project with pom packaging? This would be convenient rather than creating separate dependencies on each module it contains. I tried but unsuccessfully, it seems that Maven is looking for a jar. Perhaps I am missing something? Victor

Re: setting dependency to a project with pom packaging?

2006-12-04 Thread Victor Okunev
Smoak [EMAIL PROTECTED] wrote: On 12/4/06, Victor Okunev [EMAIL PROTECTED] wrote: Can I create a dependency to a project with pom packaging? This would be convenient rather than creating separate dependencies on each module it contains. I tried but unsuccessfully, it seems that Maven is looking

Maven repositories: metadata vs pom files?

2006-11-21 Thread Victor Okunev
Hello, Does Maven2 need a pom file in repository to download a jar from there? After examining the repositories' contents it seems that some jars are provided with both pom and metadata files while others only contain metadata files. Specifically, if I have this dependency in my project: