Thank you so much! This is an artifact from our earlier maven work, and moving to src/main/application did the trick. I don't recall using mvn -U, but wouldn't discount the possibility.

Thanks again!
Mike

Wayne Fay wrote:
The resources directory for ears is called application, that is,
src/main/application. Not src/main/resources. Unless you've overridden
the default.

As for why it "suddenly stopped working" -- I'd assume you ran mvn -U
and got an update on maven-ear-plugin. Perhaps your older version used
src/main/resources, but the docs show src/main/application is the
default:
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html

I don't know when (or if) this changed -- check JIRA perhaps for m-ear-p?

Wayne

On 8/22/07, Mike Darretta <[EMAIL PROTECTED]> wrote:
I am having issues with the resources tag for my pom.xml for maven
2.0.2. The configuration is below:

     <resources>
         <resource>
             <directory>${basedir}/src/main/resources</directory>
             <filtering>true</filtering>
         </resource>
     </resources>

The directory structure is fine, and filtering works. Yet, the files are
not being transferred to the top-level of the ear file (the default
location).

The worst part is that this has worked for months, but suddenly stopped
working! Is there an internal maven configuration that may have been
corrupted that has caused this issue? I have already tried to reinstall
maven 2.0.2 and blew away my .m2 directory.

Thank you.
Mike Darretta


---------------------------------------------------------------------
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]





--
Mike Darretta
VRAM Project Lead
Computer Sciences Corporation (CSC)
(w) 831.656.4324
(c) 209.814.2774
[EMAIL PROTECTED]

------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete
without copying and kindly advise us by e-mail of the mistake in delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any
order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such purpose.
------------------------------------------------------------


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

Reply via email to