Sorry, that was supposed to 'src/main/java', not 'src/java/main', but you probably knew that ;)

--
James Mitchell




On Jun 22, 2006, at 1:26 AM, James Mitchell (JIRA) wrote:

[ http://issues.apache.org/struts/browse/STR-2891? page=comments#action_37584 ]

James Mitchell commented on STR-2891:
-------------------------------------

My first inclination was to do just that. In fact, I already have a patch sitting out there on the same plugin that allows someone to specify excludes, which is mysteriously missing from said plugin (how odd <wink/>) and no idea if they have moved on it.

The specific error I was seeing is that the eclipse plugin wants to add both the root and src/java/main as source paths. Maven sees $ {baseDir} and outputs "." as a src, and then sees src/java/main, and outputs that as a src as well. Yikes! Even though the pom specifically limits it to *.txt, the plugin doesn't know that we only care about 2 files, which makes the configuration invalid, for Eclipse (and other IDEs I'm sure).

So, with that in mind and trying to keep with best practices, I figured I would take the other route. I hope this doesn't cause you any extra work in the assemblies. If it does, please let me know and I'll do whatever needs to be done to fix them.

Move NOTICE.txt and LICENSE.txt to proper resources dir
-------------------------------------------------------

         Key: STR-2891
         URL: http://issues.apache.org/struts/browse/STR-2891
     Project: Struts Action 1
        Type: Improvement

Components: Core, Apps, EL, Extras, Faces, Scripting, Taglibs, Tiles
    Versions: Nightly Build
    Reporter: James Mitchell
    Assignee: James Mitchell
    Priority: Trivial
     Fix For: Nightly Build


The current location and POM directive for including these files is causing the maven-eclipse-plugin to create invalid eclipse files. The proper place for these are under src/main/resources so that they will get picked up and will be at the root of the artifact. We might need to adjust any assembly config if this causes a problem with them not being the root of the assembly (.zip, .tar.gz) for binary and source distributions.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



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

Reply via email to