[gatein-issues] [JBoss JIRA] (GTNPORTAL-2687) Improve Maven Build of Sample Portal and Extension

Peter Palaga (JIRA) jira-events at lists.jboss.org
Mon Oct 22 09:08:01 EDT 2012


Peter Palaga created GTNPORTAL-2687:
---------------------------------------

             Summary: Improve Maven Build of Sample Portal and Extension
                 Key: GTNPORTAL-2687
                 URL: https://issues.jboss.org/browse/GTNPORTAL-2687
             Project: GateIn Portal
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Peter Palaga
            Assignee: Peter Palaga


(1) Config projects
Maven jar packager does not include

   src/main/java/conf/configuration.xml

This is a problem in both portal and extension config projects. 
conf/configuration.xml needs to be moved from src/main/java to 
src/main/resources

(2) EAR
(2.1) Delete src/main/application/META-INF/gatein-jboss-beans.xml

(2.2) Move MANIFEST.MF from

 
packaging/jboss-as7/pkg/src/main/resources/jboss/samples/gatein/extensions/*/META-INF

to src/main/resources of the respective projects and configure 
maven-ear-plugin to use 
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>

(2.3) remove the two application.xml files from

 
packaging/jboss-as7/pkg/src/main/resources/jboss/samples/gatein/extensions/*/META-INF

and configure maven-ear-plugin to reach the same result which can be 
done very easily.

(2.4) Adjust the the ant code in

   packaging/jboss-as7/pkg/package.xml

to the changes done in (2.3) and (2.4).


Open question:

* Is it OK to make the GateIn build process to use EAR archives instead 
of *.ear directories to deploy the samples?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list