maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Beauvais (JIRA)" <j...@codehaus.org>
Subject [jira] (MEAR-186) Source and Resource Directories are Ignored
Date Tue, 06 May 2014 10:33:11 GMT

     [ https://jira.codehaus.org/browse/MEAR-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Beauvais updated MEAR-186:
---------------------------------

    Description: 
Due to an odd necessity for different source and resource directories because of using another
IDE that can't be configued (JDeveloper).

When running the EAR plugin, I expect the <resources/> to be included in the base of
the EAR file.

<build>
        <sourceDirectory>src</sourceDirectory>
        <resources>
            <resource>
                <directory>.adf</directory>
            </resource>
        </resources>
        ...
</build>
Here is the project tree:

./src
./src/META-INF
./src/META-INF/jps-config.xml
./src/META-INF/weblogic-application.xml 
./.adf
./.adf/META-INF
./.adf/META-INF/adf-config.xml
./.adf/META-INF/connections.xml
./pom.xml

Here is the contents of the EAR:
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
web-0.0.1-SNAPSHOT.war
META-INF/maven/
META-INF/maven/org.my.company/
META-INF/maven/org.my.company/ssxa/
META-INF/maven/org.my.company/ssxa/pom.xml
META-INF/maven/org.my.company/ssxa/pom.properties

Notice, it doesn't include either the source or the resources.  I know that I can include
a <earSourceDirectory/> but this only allows for a single directory and I have two (.adf
and src).

Attached is the pom.xml used.

  was:
Due to an odd necessity for different source and resource directories because of using another
IDE that can't be configued (JDeveloper).

When running the EAR plugin, I expect the <resources/> to be included in the base of
the EAR file.

<build>
        <sourceDirectory>.adf</sourceDirectory>
        <resources>
            <resource>
                <directory>.adf</directory>
            </resource>
        </resources>
        ...
</build>
Here is the project tree:

./src
./src/META-INF
./src/META-INF/jps-config.xml
./src/META-INF/weblogic-application.xml 
./.adf
./.adf/META-INF
./.adf/META-INF/adf-config.xml
./.adf/META-INF/connections.xml
./pom.xml

Here is the contents of the EAR:
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
web-0.0.1-SNAPSHOT.war
META-INF/maven/
META-INF/maven/org.my.company/
META-INF/maven/org.my.company/ssxa/
META-INF/maven/org.my.company/ssxa/pom.xml
META-INF/maven/org.my.company/ssxa/pom.properties

Notice, it doesn't include either the source or the resources.  I know that I can include
a <earSourceDirectory/> but this only allows for a single directory and I have two (.adf
and src).

Attached is the pom.xml used.


> Source and Resource Directories are Ignored
> -------------------------------------------
>
>                 Key: MEAR-186
>                 URL: https://jira.codehaus.org/browse/MEAR-186
>             Project: Maven Ear Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.9
>         Environment: Ubuntu 13.10
>            Reporter: Thomas Beauvais
>         Attachments: pom.xml
>
>
> Due to an odd necessity for different source and resource directories because of using
another IDE that can't be configued (JDeveloper).
> When running the EAR plugin, I expect the <resources/> to be included in the base
of the EAR file.
> <build>
>         <sourceDirectory>src</sourceDirectory>
>         <resources>
>             <resource>
>                 <directory>.adf</directory>
>             </resource>
>         </resources>
>         ...
> </build>
> Here is the project tree:
> ./src
> ./src/META-INF
> ./src/META-INF/jps-config.xml
> ./src/META-INF/weblogic-application.xml 
> ./.adf
> ./.adf/META-INF
> ./.adf/META-INF/adf-config.xml
> ./.adf/META-INF/connections.xml
> ./pom.xml
> Here is the contents of the EAR:
> META-INF/
> META-INF/MANIFEST.MF
> META-INF/application.xml
> web-0.0.1-SNAPSHOT.war
> META-INF/maven/
> META-INF/maven/org.my.company/
> META-INF/maven/org.my.company/ssxa/
> META-INF/maven/org.my.company/ssxa/pom.xml
> META-INF/maven/org.my.company/ssxa/pom.properties
> Notice, it doesn't include either the source or the resources.  I know that I can include
a <earSourceDirectory/> but this only allows for a single directory and I have two (.adf
and src).
> Attached is the pom.xml used.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message