On Wed, 10 Aug 2005 10:19 , <[EMAIL PROTECTED]> sent:
>
>
>
>
>On Wed, 10 Aug 2005 10:16 , [EMAIL PROTECTED]> sent:
>
>
>
>>Hello everyone,
>
>>
>
>>I am using Maven for the first time in a multiproject environment, and am
>>having
>
>>some trouble with getting the resources placed in the artifact. My other
>>project
>
>>that does not use POM inheritance works fine. I am experiencing the problem
>>in
>
>>both 1.0.2 and 1.1-beta1. When java:jar-resoureces runs it completes
>
>>successfully, but does say in the output that "todir is either not a
>>directory,
>
>>not writable or not there". I have included the relevant snippets from my
>
>>project.xml files below.
>
>>
>
>>The parent POM defines everything except for the build section. All the
>
>>subprojects are contained in directories underneath the main project. Here is
>
>>one of the subproject POMs
>
>>
>
>>
>
>>
>
>> ${basedir}/../project.xml
>
>> 3
>
>> seamist-ng-base
>
>> SeaMIST NG - Base
>
>>
>
>> [EMAIL PROTECTED]
>
>> src/main/java
>
>> src/test/java
>
>>
>
>>
>
>> **/*Test.java
>
>>
>
>>
>
>>
>
>>
>
>> ${basedir}/src/main/resoureces
>
>>
>
>> hibernate.properties
>
>> **/*.hbm.xml
>
>>
>
>>
>
>>
>
>> ${basedir}/src/main/resoureces
>
>>
>
>> seamist-data.xml
>
>> seamist-service.xml
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>I'm sure I am missing something minor. I hope someone can point me in the
>>right
>
>>directtion.
>
>>
>
>>Thanks,
>
>>Victor
>
>
>
>
>
>Sorry my webmail messed up the copy and paste. I am attaching the project.xml
>file.
>
Ok that didn't work either.
<build>
<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
<sourceDirectory>src/main/java</sourceDirectory>
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
</unitTest>
<resources>
<resource>
<directory>${basedir}/src/main/resoureces</directory>
<includes>
<include>hibernate.properties</include>
<include>**/*.hbm.xml</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resoureces</directory>
<includes>
<include>seamist-data.xml</include>
<include>seamist-service.xml</include>
</includes>
</resource>
</resources>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]