You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Niels van Kampenhout (JIRA)" <je...@portals.apache.org> on 2008/09/16 21:46:44 UTC

[jira] Updated: (JS2-904) Maven archetype

     [ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niels van Kampenhout updated JS2-904:
-------------------------------------

    Attachment: jetspeed-archetype.20080916.tar.gz

Attached is a first attempt at the described archetype. It is based on the maven-archetype-plugin version 2.0-alpha-3.

To install archetype:

mvn install


To use archetype:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate \
  -DarchetypeGroupId=org.apache.portals.jetspeed-2 \
  -DarchetypeArtifactId=jetspeed-archetype \
  -DarchetypeVersion=2.2-SNAPSHOT \
  -DartifactId=hello \
  -Dpackage=org.example \
  -DgroupId=org.example \
  -Dversion=1.0-SNAPSHOT


To configure the generated portal project, edit jetspeed-mvn-settings.xml and change:

<org.apache.jetspeed.server.home>/change/this/apache-tomcat-5.5.26/</org.apache.jetspeed.server.home>

and

<org.apache.jetspeed.production.database.url>jdbc:derby:/tmp/jetspeed/derby/productiondb;create=true</org.apache.jetspeed.production.database.url>

  
To build generated portal project:

mvn jetspeed:mvn -Dtarget=install


To initialize database for generated portal project:

mvn jetspeed:mvn -Dtarget=db


To deploy generated portal project:

mvn jetspeed:mvn -Dtarget=deploy-portal
mvn jetspeed:mvn -Dtarget=deploy-pa




> Maven archetype
> ---------------
>
>                 Key: JS2-904
>                 URL: https://issues.apache.org/jira/browse/JS2-904
>             Project: Jetspeed 2
>          Issue Type: New Feature
>          Components: Project Build
>            Reporter: Niels van Kampenhout
>             Fix For: 2.2
>
>         Attachments: jetspeed-archetype.20080916.tar.gz
>
>
> A Maven 2 archetype for a Jetspeed based portal project, based on Jetspeed 2.2's new Maven 2 build. The archetype should generate a multi module project containing a 'portal' module and a 'pa' module (portal application).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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