portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels van Kampenhout (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Issue Comment Edited: (JS2-904) Maven archetype
Date Tue, 16 Sep 2008 22:27:49 GMT

    [ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631521#action_12631521
] 

nielsvk edited comment on JS2-904 at 9/16/08 3:27 PM:
-------------------------------------------------------------------

Attached is a first attempt at the described archetype. It is based on the maven-archetype-plugin
version 2.0-alpha-3. The Jetspeed version it uses is 2.2-SNAPSHOT-r678046, except for j2-admin
which has no 2.2-SNAPSHOT-r678046 release in the maven repository so I used 2.2-SNAPSHOT.

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




      was (Author: nielsvk):
    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


Mime
View raw message