Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Stardust/Knowledge Base/Build and Change Management/Maven/Basic Setup"

m
m (Maven Archetype)
Line 1: Line 1:
 
== Maven Archetype  ==
 
== Maven Archetype  ==
  
Starting from version 6.0.3 the ''ipp-releases'' Maven repository ([https://infinity.sungard.com/repository/ipp-releases/ https://infinity.sungard.com/repository/ipp-releases]) contains a Maven archetpye<br>  
+
Starting from version 6.0.3 the ''ipp-releases'' Maven repository ([https://infinity.sungard.com/repository/ipp-releases/ https://infinity.sungard.com/repository/ipp-releases]) contains a Maven archetype<br>  
  
 
(https://infinity.sungard.com/repository/ipp-releases/archetype-catalog.xml) that can be use to create the following Maven projects:  
 
(https://infinity.sungard.com/repository/ipp-releases/archetype-catalog.xml) that can be use to create the following Maven projects:  
Line 14: Line 14:
 
*'''Sysconsole '''command lient tool client environment project (direct database access via JDBC), '''artefactId=ipp-archetype-sysconsole-client'''<br>
 
*'''Sysconsole '''command lient tool client environment project (direct database access via JDBC), '''artefactId=ipp-archetype-sysconsole-client'''<br>
  
For other application servers the example project coming closest to the target deployment can be adjusted. Additional arechtypes for other deployment scenarios will be added soon.<br>  
+
For other application servers the example project coming closest to the target deployment can be adjusted. Additional archetypes for other deployment scenarios will be added soon.<br>  
  
 
It is important to execute the goal '''''dependency:unpack'''''&nbsp; after the project has been created. This can be automated by using the '''''-Dgoals''''' parameter when the project is created.<br>  
 
It is important to execute the goal '''''dependency:unpack'''''&nbsp; after the project has been created. This can be automated by using the '''''-Dgoals''''' parameter when the project is created.<br>  

Revision as of 13:51, 9 November 2011

Maven Archetype

Starting from version 6.0.3 the ipp-releases Maven repository (https://infinity.sungard.com/repository/ipp-releases) contains a Maven archetype

(https://infinity.sungard.com/repository/ipp-releases/archetype-catalog.xml) that can be use to create the following Maven projects:

  • Engine runtime EAR project for JBOSS 5.1, EJB deplyoment, artefactId=ipp-archetype-jb51-ipp-ear
  • Engine runtime WAR project for JBOSS 5.1, Spring deplyoment, artefactId=ipp-archetype-jb51-ipp-portal-war
  • Reporting runtime WAR project for JBOSS 5.1, artefactId=ipp-archetype-jb51-reporting-war
  • Engine runtime WAR project for Tomcat 6, Spring deployment, artefactId=ipp-archetype-tc6-ipp-portal-war
  • Reporting runtime WAR project for Tomcat 6, artefactId=ipp-archetype-tc6-reporting-war
  • Console command line tool client environment project, Spring client, artefactId=ipp-archetype-console-spring-client
  • Sysconsole command lient tool client environment project (direct database access via JDBC), artefactId=ipp-archetype-sysconsole-client

For other application servers the example project coming closest to the target deployment can be adjusted. Additional archetypes for other deployment scenarios will be added soon.

It is important to execute the goal dependency:unpack  after the project has been created. This can be automated by using the -Dgoals parameter when the project is created.

Example Usage

mvn archetype:generate 
-DarchetypeGroupId=com.infinity.bpm.archetypes -DarchetypeArtifactId=ipp-archetype-tc6-ipp-portal-war -DarchetypeVersion=6.0.3 
-DgroupId=org.eclipse.stardust.test -DartifactId=stardust-portal-war -Dversion=1.0-SNAPSHOT -Dgoals=dependency:unpack

Back to the top