- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scala maven plugin - not copying resources
Wed, 2009-02-25, 11:53
When I run mvn clean package (or test etc) - i note that it doesn't
seem to copy anything from the /resources ? (either test or main).
Thu, 2009-02-26, 07:57
#2
Re: scala maven plugin - not copying resources
My mistake, mvn clean package does in fact copy what I want.
Sorry about that ;)
(not sure what crazy thing cause it in my lack of caffeinated state).
On Wed, Feb 25, 2009 at 11:25 PM, David Bernard
wrote:
> Hi,
>
> The "copy" of resources from src/main/resources to target/classes (and then
> include them into the jar) is not done by the maven-scala-plugin. It's done
> by the regular maven plugin
> (http://maven.apache.org/plugins/maven-resources-plugin/).
> Do you redefine the location of resources, define filter, override
> configuration of the maven-resources-plugin?
> Could you provide some details :
> * pom.xml,
> * listing/tree/layout of the project
> * output (log + directory content) of mvn clean package
>
> /davidB
>
> On Wed, Feb 25, 2009 at 11:53, Michael Neale
> wrote:
>>
>> When I run mvn clean package (or test etc) - i note that it doesn't
>> seem to copy anything from the /resources ? (either test or main).
>>
>>
>>
>> --
>> Michael D Neale
>> home: www.michaelneale.net
>> blog: michaelneale.blogspot.com
>
>
The "copy" of resources from src/main/resources to target/classes (and then include them into the jar) is not done by the maven-scala-plugin. It's done by the regular maven plugin (http://maven.apache.org/plugins/maven-resources-plugin/).
Do you redefine the location of resources, define filter, override configuration of the maven-resources-plugin?
Could you provide some details :
* pom.xml,
* listing/tree/layout of the project
* output (log + directory content) of mvn clean package
/davidB
On Wed, Feb 25, 2009 at 11:53, Michael Neale <michael.neale@gmail.com> wrote: