To put the files in src/main/scripts is the convention. It is then up
to the plugins to do something with them. Which plugin did you expect
to take your files?

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, May 5, 2009 at 5:34 PM, Blackbird <[email protected]> wrote:
>
> I've put a file in this directory, ran "mvn clean install", but the script
> file isn't copied anywhere in "target". What am I supposed to do after
> adding a file to "src/main/scripts"?
>
>
> Nick Stolwijk-4 wrote:
>>
>> If you take a look at the superpom [1] you'll see there is a default
>> script directory:
>>
>> <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
>>
>> So I would say "convention over configuration" and use that one. (If
>> you'll write a maven plugin to handle the scripts, use the
>> scriptSourceDirectory instead of making your own variable setting.
>>
>> Hth,
>>
>> [1]
>> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> Iprofs BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> www.iprofs.nl
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Maven2---Where-to-put-script-files--tp5594755p23389966.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