You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Deepak Chavan (JIRA)" <ji...@codehaus.org> on 2009/11/24 10:49:55 UTC

[jira] Created: (MNG-4467) Resources didn't get packaged in EAR

Resources didn't get packaged in EAR
------------------------------------

                 Key: MNG-4467
                 URL: http://jira.codehaus.org/browse/MNG-4467
             Project: Maven 2
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 2.2.1
         Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
            Reporter: Deepak Chavan
            Priority: Minor


While building an enterprise application, resources folder didn't get packaged in ear file since apache-maven-2.0.9.
----------------------------------------------------------------------------------
[INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4] to[lib/axis-ant-1.4.jar]
[INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
...
...
...
[INFO] Copy ear resources to /home/project/........
----------------------------------------------------------------------------------

Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)

<resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>

this resolves my issue.
But our application contains multiple corporate projects and I have to change every pom.xml to resolve this issue.

Thanks,
Deepak

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MEAR-115) Resources didn't get packaged in EAR

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199206#action_199206 ] 

Stephane Nicoll edited comment on MEAR-115 at 11/24/09 7:44 AM:
----------------------------------------------------------------

maven 2.0.9 has a lock down on core plugins (EAR plugin included) which means you upgraded to a more recent version of the EAR plugin.

Putting ear resources in src/main/resources is deprecated for a long time now (see the linked issue). You should put these in src/main/application.

If you don't want to do this however, you can redefined the default directory to be src/main/resources. If you have multiple projects, just make sure your corporate pom / parent pom has a pluginManagement section with this setting.

      was (Author: sni):
    maven 2.0.9 has a lock down on core plugins (EAR plugin included) which means you upgraded to a more recent version of the EAR plugin.

Putting ear resources in src/main/resources is deprecated for a long time now (see the linked issue). You should put these in src/main/application.

If you don't want to do this however, you can redefined the default directory to be src/main/resources. If you have hundreds of projects, just make sure your corporate pom / parent pom has a pluginManagement section with this setting.
  
> Resources didn't get packaged in EAR
> ------------------------------------
>
>                 Key: MEAR-115
>                 URL: http://jira.codehaus.org/browse/MEAR-115
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>         Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
>            Reporter: Deepak Chavan
>            Assignee: Stephane Nicoll
>            Priority: Minor
>
> While building an enterprise application, resources folder didn't get packaged in ear file since apache-maven-2.0.9.
> ----------------------------------------------------------------------------------
> [INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4] to[lib/axis-ant-1.4.jar]
> [INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
> ...
> ...
> ...
> [INFO] Copy ear resources to /home/project/........
> ----------------------------------------------------------------------------------
> Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)
> <resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>
> this resolves my issue.
> But our application contains multiple corporate projects and I have to change every pom.xml to resolve this issue.
> Thanks,
> Deepak

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MEAR-115) Resources didn't get packaged in EAR

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEAR-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll closed MEAR-115.
--------------------------------

    Resolution: Won't Fix
      Assignee: Stephane Nicoll

maven 2.0.9 has a lock down on core plugins (EAR plugin included) which means you upgraded to a more recent version of the EAR plugin.

Putting ear resources in src/main/resources is deprecated for a long time now (see the linked issue). You should put these in src/main/application.

If you don't want to do this however, you can redefined the default directory to be src/main/resources. If you have hundreds of projects, just make sure your corporate pom / parent pom has a pluginManagement section with this setting.

> Resources didn't get packaged in EAR
> ------------------------------------
>
>                 Key: MEAR-115
>                 URL: http://jira.codehaus.org/browse/MEAR-115
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>         Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
>            Reporter: Deepak Chavan
>            Assignee: Stephane Nicoll
>            Priority: Minor
>
> While building an enterprise application, resources folder didn't get packaged in ear file since apache-maven-2.0.9.
> ----------------------------------------------------------------------------------
> [INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4] to[lib/axis-ant-1.4.jar]
> [INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
> ...
> ...
> ...
> [INFO] Copy ear resources to /home/project/........
> ----------------------------------------------------------------------------------
> Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)
> <resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>
> this resolves my issue.
> But our application contains multiple corporate projects and I have to change every pom.xml to resolve this issue.
> Thanks,
> Deepak

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Moved: (MEAR-115) Resources didn't get packaged in EAR

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEAR-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-4467 to MEAR-115:
---------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Bootstrap & Build)
    Affects Version/s:     (was: 2.2.1)
                  Key: MEAR-115  (was: MNG-4467)
              Project: Maven 2.x Ear Plugin  (was: Maven 2)

> Resources didn't get packaged in EAR
> ------------------------------------
>
>                 Key: MEAR-115
>                 URL: http://jira.codehaus.org/browse/MEAR-115
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>         Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
>            Reporter: Deepak Chavan
>            Priority: Minor
>
> While building an enterprise application, resources folder didn't get packaged in ear file since apache-maven-2.0.9.
> ----------------------------------------------------------------------------------
> [INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4] to[lib/axis-ant-1.4.jar]
> [INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
> ...
> ...
> ...
> [INFO] Copy ear resources to /home/project/........
> ----------------------------------------------------------------------------------
> Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)
> <resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>
> this resolves my issue.
> But our application contains multiple corporate projects and I have to change every pom.xml to resolve this issue.
> Thanks,
> Deepak

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MEAR-115) Resources didn't get packaged in EAR

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199206#action_199206 ] 

Stephane Nicoll edited comment on MEAR-115 at 11/24/09 7:45 AM:
----------------------------------------------------------------

maven 2.0.9 has a lock down on core plugins (EAR plugin included) which means you upgraded to a more recent version of the EAR plugin.

Putting ear resources in src/main/resources is deprecated for a long time now (see the linked issue). You should put these in src/main/application.

If you don't want to do this however, you can redefine the default directory to be src/main/resources. If you have multiple projects, just make sure your corporate pom / parent pom has a pluginManagement section with this setting.

      was (Author: sni):
    maven 2.0.9 has a lock down on core plugins (EAR plugin included) which means you upgraded to a more recent version of the EAR plugin.

Putting ear resources in src/main/resources is deprecated for a long time now (see the linked issue). You should put these in src/main/application.

If you don't want to do this however, you can redefined the default directory to be src/main/resources. If you have multiple projects, just make sure your corporate pom / parent pom has a pluginManagement section with this setting.
  
> Resources didn't get packaged in EAR
> ------------------------------------
>
>                 Key: MEAR-115
>                 URL: http://jira.codehaus.org/browse/MEAR-115
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>         Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
>            Reporter: Deepak Chavan
>            Assignee: Stephane Nicoll
>            Priority: Minor
>
> While building an enterprise application, resources folder didn't get packaged in ear file since apache-maven-2.0.9.
> ----------------------------------------------------------------------------------
> [INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4] to[lib/axis-ant-1.4.jar]
> [INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
> ...
> ...
> ...
> [INFO] Copy ear resources to /home/project/........
> ----------------------------------------------------------------------------------
> Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)
> <resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>
> this resolves my issue.
> But our application contains multiple corporate projects and I have to change every pom.xml to resolve this issue.
> Thanks,
> Deepak

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira