Re: How to build properties JAR

2008-03-25 Thread John Casey
This is a question that probably belongs on the users' list: [EMAIL PROTECTED] Additionally, the answer to your question can be learned by reading up on the assembly plugin here: http://maven.apache.org/plugins/maven-assembly-plugin/ Having said that, you can construct a properties-only jar

Re: How to build properties JAR

2008-03-25 Thread PashaOvechkin
Yes, I need separate jar, wich contain ONLY properties... And I use this plugin now, can you demonstrate what I need to add in my pom for done this task? Thans! [EMAIL PROTECTED] wrote: > > Putting files in src/main/resources will cause them to be stored in the > "main" jar created by your mod

Re: How to build properties JAR

2008-03-25 Thread [EMAIL PROTECTED]
Putting files in src/main/resources will cause them to be stored in the "main" jar created by your module. Do you want to create two different jars, one for the code and one for the properties? If so, then the best way is probably to use the maven-assembly-plugin: http://maven.apache.org/plugins

RE: How to build properties JAR

2008-03-25 Thread PashaOvechkin
Hmmm... By default? I create src/main/resources directory, and run my pom... Don't see any properties jar :| Brian E Fox wrote: > > Put them in src/main/resources and it should happen by default. > > -Original Message- > From: PashaOvechkin [mailto:[EMAIL PROTECTED] > Sent: Mond

Re: How to build properties JAR

2008-03-24 Thread Jason van Zyl
Brian answered but read the getting started guide: http://maven.apache.org/guides/getting-started/index.html On 24-Mar-08, at 8:53 AM, PashaOvechkin wrote: I need with Maven command get jar with properties files(only with properties files). What i need add in my pom.xml? (for example in th

RE: How to build properties JAR

2008-03-24 Thread Brian E. Fox
Put them in src/main/resources and it should happen by default. -Original Message- From: PashaOvechkin [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 11:53 AM To: dev@maven.apache.org Subject: How to build properties JAR I need with Maven command get jar with properties files(on