You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/07/28 03:37:18 UTC

[jira] Commented: (MAVEN-617) multiproject and including resources in ejb needs clearification in docs

The following comment has been added to this issue:

     Author: dion gillard
    Created: Sun, 27 Jul 2003 8:36 PM
       Body:
Got a patch?
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-617


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-617
    Summary: multiproject and including resources in ejb needs clearification in docs
       Type: Improvement

     Status: Unassigned
   Priority: Trivial

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             documentation
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Thomas Christensen

    Created: Sun, 27 Jul 2003 3:58 AM
    Updated: Sun, 27 Jul 2003 3:58 AM
Environment: Windows XP, Java 1.4

Description:
A tip when using the multiproject plugin: Use ${basedir} in your POM's resource section:
        <resources>
            <resource>
                <directory>${basedir}/src/java</directory>
                <includes>
                    <include>**/*.properties</include>
                </includes>
            </resource>
        </resources>
The resources won't be included if you just specify "src/java" as directory unless you are located in the subproject directory.

It took me a while since many examples uses "src/java" and because the java:compile goal works fine in multiproject without ${basedir}.

I suggest the docs on multiproject is updated with this tip.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org