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:42:44 UTC
[jira] Created: (JS2-904) Maven archetype
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
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
[jira] Updated: (JS2-904) Maven archetype
Posted by "Niels van Kampenhout (JIRA)" <je...@portals.apache.org>.
[ 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
[jira] Commented: (JS2-904) Maven archetype
Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640993#action_12640993 ]
Dennis Dam commented on JS2-904:
--------------------------------
Thanks Niels for the contribution!
> 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
> Assignee: Dennis Dam
> Priority: Critical
> Fix For: 2.2
>
> Attachments: jetspeed-archetype.20080916.tar.gz, jetspeed-archetype.20081001.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
[jira] Issue Comment Edited: (JS2-904) Maven archetype
Posted by "Niels van Kampenhout (JIRA)" <je...@portals.apache.org>.
[ 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
[jira] Updated: (JS2-904) Maven archetype
Posted by "Niels van Kampenhout (JIRA)" <je...@portals.apache.org>.
[ 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.20081001.tar.gz
I attached a slightly improved archetype (jetspeed-archetype.20081001.tar.gz) that fixes an issue with the earlier version (different package and groupId caused incorrect POMs).
> 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
> Assignee: Ate Douma
> Priority: Critical
> Fix For: 2.2
>
> Attachments: jetspeed-archetype.20080916.tar.gz, jetspeed-archetype.20081001.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
[jira] Updated: (JS2-904) Maven archetype
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma updated JS2-904:
--------------------------
Assignee: Ate Douma
Priority: Critical (was: Major)
> 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
> Assignee: Ate Douma
> Priority: Critical
> 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
[jira] Resolved: (JS2-904) Maven archetype
Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Dam resolved JS2-904.
----------------------------
Resolution: Fixed
also added targets for seeding the portal DB (-Dtarget=portal-seed), seeding PSMLs stored in the database (-Dtarget=portal-seed-dbpsml) and deploying the portal with dbpsml enabled (-Dtarget=deploy-portal-dbpsml).
> 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
> Assignee: Dennis Dam
> Priority: Critical
> Fix For: 2.2
>
> Attachments: jetspeed-archetype.20080916.tar.gz, jetspeed-archetype.20081001.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
[jira] Assigned: (JS2-904) Maven archetype
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma reassigned JS2-904:
-----------------------------
Assignee: Dennis Dam (was: Ate Douma)
> 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
> Assignee: Dennis Dam
> Priority: Critical
> Fix For: 2.2
>
> Attachments: jetspeed-archetype.20080916.tar.gz, jetspeed-archetype.20081001.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