If the File has already been written to the target folder (whatever that may
be ^^ ) why would I need to add it as a Resource Object to the project?  



stephenconnolly wrote:
> 
> The Resource is used to reference the folder containing the resources to
> add.
> 
> You create a subfolder of target (convention is to call it
> target/generated-resources/yourpluginname)
> You write the properties file in that folder... e.g. if you want to have
> th
> properties file end up in META-INF/version.properties you would write
> target/generated-resources/yourpluginname/META-INF/version.properties
> 
> You create a new Resource object with the root being
> target/generated-resources/yourpluginname and if you don't need filtering
> set filtering to false
> 
> Add the resource object to the Project
> 
> Done
> 
> On 6 December 2010 08:19, fhomasp <[email protected]> wrote:
> 
>>
>> Hey,
>>
>> Thanks for the suggestions, I guess I'll be able to get it working using
>> a
>> combination of the suggestions :-)
>>
>> However at this point I'm unsure how I'd go about adding content to a new
>> Resource file.  So at this point I'm still using a FileOutputStream to
>> store
>> a Properties file.
>>
>> Any extra suggestions? :-)
>>
>> Thanks already
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/possible-expressions-on-MOJO-parameters-tp3290963p3293698.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]
>>
>>
> 
> 

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/possible-expressions-on-MOJO-parameters-tp3290963p3293735.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]

Reply via email to