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/maven-assembly-plugin/usage.html

Regards,
Simon

PashaOvechkin schrieb:
> 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: 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(only with
>> properties
>> files).
>> What i need add in my pom.xml? 
>>
>> (for example in the same directory with pom.xml I have aaa.properties
>> and
>> bbb.properties, and need jar with both files)
>>
>> Tanks!!!
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-build-properties-JAR-tp16254904s177p1625490
>> 4.html
>> Sent from the Maven Developers 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]
>>
>>
>>
>>     
>
>   


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

Reply via email to