Index: jetspeed-ant-tasks/pom.xml =================================================================== --- jetspeed-ant-tasks/pom.xml (revision 0) +++ jetspeed-ant-tasks/pom.xml (revision 0) @@ -0,0 +1,49 @@ + + + + + 4.0.0 + + 2.0.9 + + + jetspeed-ant-tasks + Jetspeed-2 Ant Tasks + Ant Tasks Required for the Jetspeed-2 Product Build. + + org.apache.portals.jetspeed-2 + jetspeed-2 + 2.2-SNAPSHOT + + jar + + + + + + ant + ant + provided + 1.6.5 + + + + Index: jetspeed-installer/BUILD.txt =================================================================== --- jetspeed-installer/BUILD.txt (revision 0) +++ jetspeed-installer/BUILD.txt (revision 0) @@ -0,0 +1,15 @@ + +There are two Jetspeed installers that can be built from command line: a portal +with minimal functionality and a demo portal with more portlet applications. + +To build either of these installers, the Jetspeed Maven plugin for Maven-2 +should be used as follows: + +> mvn jetspeed:mvn -Dtarget=installer-minimal + + or + +> mvn jetspeed:mvn -Dtarget=installer-demo + + +NB: the target directory will be cleaned so you cannot build both installers at \ No newline at end of file Index: jetspeed-installer/etc/ant-installer/antinstall-config-min.xml =================================================================== --- . (revision 728672) +++ . (working copy) @@ -24,7 +24,7 @@ --> @@ -32,7 +32,7 @@ - + - + - - + + @@ -85,7 +85,7 @@ defaultValue="jdbc:mysql://localhost:3306/<dbname>" /> - @@ -190,7 +190,7 @@ - + - + @@ -203,7 +203,7 @@ - + @@ -210,9 +210,9 @@ - + - + @@ -221,10 +221,10 @@ - + - + Property changes on: . ___________________________________________________________________ Name: svn:eol-style + native Name: svn:keywords + Id Index: jetspeed-installer/etc/ant-installer/antinstall-config.xml =================================================================== --- . (revision 729289) +++ . (working copy) @@ -24,9 +24,9 @@ --> - + @@ -31,9 +31,9 @@ - - - + + + - + - + - - + + + + + - + @@ -57,7 +60,7 @@ - + - + @@ -75,20 +78,20 @@ - + - + - + - - - + @@ -94,20 +97,20 @@ - + - + - + - + - + @@ -112,19 +115,19 @@ - + - + - + - + - + @@ -129,20 +132,20 @@ - + - + - + - + - + @@ -148,12 +151,12 @@ - + - + - + - + - + @@ -167,20 +170,20 @@ - + - + - + - + - + @@ -190,9 +193,9 @@ - + - + @@ -197,13 +200,13 @@ ifProperty="(${checkdb}=true) AND (${dbvalid}=false)"> - - + + - - + + @@ -210,9 +213,9 @@ - + - + @@ -220,11 +223,11 @@ - - + + - + @@ -233,7 +236,7 @@ - + - + Index: jetspeed-installer/etc/ant-installer/build.xml =================================================================== --- . (revision 729289) +++ . (working copy) @@ -38,9 +38,8 @@ Installing Jetspeed-2.2-SNAPSHOT Enterprise Portal - + - @@ -52,11 +51,10 @@ Setting up the database configuration - + - + Index: jetspeed-installer/etc/database/build.xml =================================================================== --- . (revision 729289) +++ . (working copy) @@ -19,359 +19,231 @@ --> - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - Setting up the Jetspeed database for ${db.type} + - All existing Jetspeed data is going to be deleted from the database. - - Selected database configuration: - - database type: ${db.type} - username: ${_db.username} - jdbc url: ${_jdbc.url} - - Make sure that the appropriate jdbc driver jar for the ${db.type} database is placed in the Tomcat shared/lib folder. - For using the Derby database, the correct driver jar is available in the lib folder. - - Also make sure Tomcat is not running before continuing. - - Are you sure to continue? - - - + Setting up the Jetspeed database for ${db.type} - + All existing Jetspeed data is going to be deleted from the database. + + + Selected database configuration: + + + database type: ${db.type} + username: ${_db.username} + jdbc url: ${_jdbc.url} + + + Make sure that the appropriate jdbc driver jar for the ${db.type} database is placed in the Tomcat shared/lib folder. + For using the Derby database, the correct driver jar is available in the lib folder. + + + Also make sure Tomcat is not running before continuing. + + + Are you sure to continue? + + + - + - - - + - - - - - - + + + + + + + + + + - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + + + + - + + + Executing file ${basedir}/derby/create-schema.sql - - cleaning up possible existing Db + + + + + + + + + + + + + + + + + + + + - - - - - - - - starting Db generation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DB generation done! + + Cleaning up possible existing database - + + + + + + + - + Starting database generation + + + + + + + + Database generation done! - - - Seeding the database + - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + - + - - - - - + Seeding the database - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + -c "serializer" + -p "${jetspeedWebInfDir}/conf/spring-filter.properties"" /> + - + - - Excuting file: ${databaseScript} - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + Importing psml into the database - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Import dir: ${importDir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Index: jetspeed-installer/etc/database/database.properties.template =================================================================== --- . (revision 729289) +++ . (working copy) @@ -1,4 +1,4 @@ -; Jetspeed Enterprise Portal 2.1.1 Database setup configuration +; Jetspeed Enterprise Portal 2.2-SNAPSHOT Database setup configuration ; db.type supported values: db2, derby, mssql, mysql, oracle, postgres, sapdb db.type=@db.type@ Index: jetspeed-installer/final-assembly-descriptor.xml =================================================================== --- jetspeed-installer/final-assembly-descriptor.xml (revision 0) +++ jetspeed-installer/final-assembly-descriptor.xml (revision 0) @@ -0,0 +1,235 @@ + + + + installer + false + + jar + + + + true + + jetspeed-ant-tasks* + + false + + + + + target/ant-installer-classes + / + + + etc/ant-installer/license + license + + + etc/ant-installer/resources + resources + + + + + etc/ant-installer/build.xml + / + + + target/resources/ant-installer/antinstall-config.xml + / + + + target/database.zip + / + + + target/tomcat-portal.zip + / + + + + + + + + 4.0.0 + + 2.0.9 + + + jetspeed-installer + Jetspeed-2 Maven Invoker Configuration for installer + Jetspeed-2 Maven Invoker Configuration for installer + + org.apache.portals.jetspeed-2 + jetspeed-2 + 2.2-SNAPSHOT + + + jar + + + + org.apache.portals.jetspeed-2 + jetspeed-ant-tasks + ${pom.version} + jar + + + + package + + + org.apache.maven.plugins + maven-antrun-plugin + 1.2 + + + + + unpack-ant-installer + generate-resources + + + + + + + + + + + + + run + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.2 + + + + + copy-configuration + generate-resources + + + + + + + run + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + final-assembly + package + + + final-assembly-descriptor.xml + + false + + + org.tp23.antinstaller.selfextract.NonExtractor + + + + + single + + + + + + + + + + demo + + ${artifactId}-demo-${pom.version} + + + + minimal + + ${artifactId}-minimal-${pom.version} + + + + Index: jetspeed-installer/jetspeed-mvn-database-pom.xml =================================================================== --- jetspeed-installer/jetspeed-mvn-database-pom.xml (revision 0) +++ jetspeed-installer/jetspeed-mvn-database-pom.xml (revision 0) @@ -0,0 +1,266 @@ + + + + + 4.0.0 + + 2.0.9 + + + jetspeed-mvn-installer-pom + Jetspeed-2 Maven Invoker Configuration for installer's database + Jetspeed-2 Maven Invoker Configuration for installer's database + + org.apache.portals.jetspeed-2 + jetspeed-2 + 2.2-SNAPSHOT + + + pom + + + ${pom.version} + jetspeed + + + + + ant + ant + ${ant.version} + jar + + + + derby + org.apache.derby + ${org.apache.derby.version} + jar + + + + tyrex + tyrex + ${tyrex.version} + jar + + + + org.apache.portals.jetspeed-2 + jetspeed-ant-tasks + ${org.apache.portals.jetspeed.version} + jar + + + + org.apache.portals.jetspeed-2 + jetspeed-db-tools + ${org.apache.portals.jetspeed.version} + jar + + + javax.servlet + servlet-api + + + javax.portlet + portlet-api + + + org.apache.pluto + pluto-container-api + + + ${pom.groupId} + jetspeed-api + + + ${pom.groupId} + jetspeed-commons + + + ${pom.groupId} + jetspeed-cm + + + org.apache.portals.jetspeed-2 + jetspeed-search + + + org.apache.portals.jetspeed-2 + jetspeed-security + + + org.apache.portals.jetspeed-2 + jetspeed-registry + + + org.apache.portals.jetspeed-2 + jetspeed-id-generator + + + org.apache.portals.jetspeed-2 + jetspeed-file-cache + + + org.apache.portals.jetspeed-2 + jetspeed-locator + + + org.apache.portals.jetspeed-2 + jetspeed-capability + + + org.apache.portals.jetspeed-2 + jetspeed-profiler + + + org.apache.portals.jetspeed-2 + jetspeed-page-manager + + + org.apache.portals.jetspeed-2 + jetspeed-serializer + + + + + + + package + + + org.apache.maven.plugins + maven-antrun-plugin + 1.2 + + + + + prepare-database-files + generate-resources + + + + + + + + + + run + + + + + + copy-context-to-database + process-resources + + + + + + + run + + + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-unpack-maven-plugin + ${org.apache.portals.jetspeed.version} + + + unpack-portal-resources + + unpack + + generate-resources + + + org.apache.portals.jetspeed-2:jetspeed-portal-resources:jar + + + conf + tomcat/context.xml + resources + + + @seed.path@ + j2-seed.xml + database + + + db-ojb + database/import/db-ojb + + + ddl + database + + + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-portal-resources + ${org.apache.portals.jetspeed.version} + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + zip-database + package + + + zip-database-descriptor.xml + + database + false + + + single + + + + + + + + + Index: jetspeed-installer/jetspeed-mvn-tomcat-portal-pom.xml =================================================================== --- jetspeed-installer/jetspeed-mvn-tomcat-portal-pom.xml (revision 0) +++ jetspeed-installer/jetspeed-mvn-tomcat-portal-pom.xml (revision 0) @@ -0,0 +1,526 @@ + + + + + 4.0.0 + + 2.0.9 + + + jetspeed-mvn-tomcat-portal-pom + Jetspeed-2 Maven Invoker Configuration for installer's Tomcat Portal + Jetspeed-2 Maven Invoker Configuration for installer's Tomcat Portal + + org.apache.portals.jetspeed-2 + jetspeed-2 + 2.2-SNAPSHOT + + + pom + + + ${pom.version} + jetspeed + apache-tomcat-5.5.27 + ${project.build.directory}/${tomcat.version} + + + + process-resources + + + + + unpack + + package + + + org.apache.maven.plugins + maven-antrun-plugin + 1.2 + + + + get-unpacked-tomcat + generate-resources + + + + + + + + + + + + + + + run + + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-unpack-maven-plugin + ${org.apache.portals.jetspeed.version} + + + unpack-portal-resources + + unpack + + generate-resources + + + org.apache.portals.jetspeed-2:jetspeed-portal-resources:jar + + + conf + tomcat/context.xml + resources + + + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-portal-resources + ${org.apache.portals.jetspeed.version} + + + + + + + + + minimal + + package + + + + + org.apache.portals.jetspeed-2 + jetspeed-deploy-maven-plugin + ${org.apache.portals.jetspeed.version} + + + deploy + + deploy + + generate-resources + + ${org.apache.jetspeed.portal.home} + ${org.apache.jetspeed.portal.context.name} + + webapps/jetspeed/META-INF + + + + javax.portlet:portlet-api:jar + + + javax.ccpp:ccpp:jar + + + org.apache.portals.jetspeed-2:jetspeed-api:jar + + + org.apache.portals.jetspeed-2:jetspeed-commons:jar + + + org.apache.pluto:pluto-container-api:jar + + + org.apache.pluto:pluto-taglib:jar + + + org.apache.portals.bridges:portals-bridges-common:jar + + + + org.apache.portals.jetspeed-2:jetspeed-demo:war + true + ${org.apache.jetspeed.portal.context.name} + ./${org.apache.jetspeed.portal.context.name} + + + + ${project.build.directory}/resources/tomcat/context.xml + context + + + + org.apache.portals.jetspeed-2:j2-admin:war + true + ./j2-admin + + + + + + + + + + javax.portlet + portlet-api + ${portlet-api.version} + + + javax.ccpp + ccpp + ${ccpp.version} + + + org.apache.portals.jetspeed-2 + jetspeed-api + ${org.apache.portals.jetspeed.version} + runtime + + + org.apache.portals.jetspeed-2 + jetspeed-commons + ${org.apache.portals.jetspeed.version} + + + org.apache.pluto + pluto-container-api + ${org.apache.pluto.version} + + + org.apache.pluto + pluto-taglib + ${org.apache.pluto.version} + + + org.apache.portals.bridges + portals-bridges-common + ${org.apache.portals.bridges.common.version} + + + + org.apache.portals.jetspeed-2 + jetspeed-demo + ${pom.version} + war + + + + org.apache.portals.jetspeed-2 + j2-admin + ${org.apache.portals.jetspeed.version} + war + + + + + org.apache.portals.jetspeed-2 + jetspeed-deploy-tools + ${org.apache.portals.jetspeed.version} + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-fileutils-maven-plugin + ${org.apache.portals.jetspeed.version} + + + delete-pages + + event + + process-resources + + ${org.apache.jetspeed.portal.home}/webapps/${org.apache.jetspeed.portal.context.name}/WEB-INF/pages + delete + + + + move-min-pages + + event + + process-resources + + ${org.apache.jetspeed.portal.home}/webapps/${org.apache.jetspeed.portal.context.name}/WEB-INF/min-pages + ${org.apache.jetspeed.portal.home}/webapps/${org.apache.jetspeed.portal.context.name}/WEB-INF/pages + move + + + + + + + + + + demo + + package + + + + org.apache.portals.jetspeed-2 + jetspeed-deploy-maven-plugin + ${org.apache.portals.jetspeed.version} + + + deploy + + deploy + + generate-resources + + ${org.apache.jetspeed.portal.home} + ${org.apache.jetspeed.portal.context.name} + + webapps/jetspeed/META-INF + + + + javax.portlet:portlet-api:jar + + + javax.ccpp:ccpp:jar + + + org.apache.portals.jetspeed-2:jetspeed-api:jar + + + org.apache.portals.jetspeed-2:jetspeed-commons:jar + + + org.apache.pluto:pluto-container-api:jar + + + org.apache.pluto:pluto-taglib:jar + + + org.apache.portals.bridges:portals-bridges-common:jar + + + + org.apache.portals.jetspeed-2:jetspeed-demo:war + true + ${org.apache.jetspeed.portal.context.name} + ./${org.apache.jetspeed.portal.context.name} + + + + ${project.build.directory}/resources/tomcat/context.xml + context + + + + org.apache.portals.jetspeed-2:j2-admin:war + true + ./j2-admin + + + + org.apache.portals.applications:demo:war + true + true + ./demo + + + org.apache.portals.applications:rss:war + true + true + ./rss + + + org.apache.portals.bridges:jpetstore:war + true + true + ./jpetstore + + + org.apache.portals.bridges:jsf-demo:war + true + true + ./jsf-demo + + + + + + + + + javax.portlet + portlet-api + ${portlet-api.version} + + + javax.ccpp + ccpp + ${ccpp.version} + + + org.apache.portals.jetspeed-2 + jetspeed-api + ${org.apache.portals.jetspeed.version} + runtime + + + org.apache.portals.jetspeed-2 + jetspeed-commons + ${org.apache.portals.jetspeed.version} + + + org.apache.pluto + pluto-container-api + ${org.apache.pluto.version} + + + org.apache.pluto + pluto-taglib + ${org.apache.pluto.version} + + + org.apache.portals.bridges + portals-bridges-common + ${org.apache.portals.bridges.common.version} + + + + org.apache.portals.jetspeed-2 + jetspeed-demo + ${pom.version} + war + + + + org.apache.portals.jetspeed-2 + j2-admin + ${org.apache.portals.jetspeed.version} + war + + + + + org.apache.portals.applications + demo + ${org.apache.portals.jetspeed.version} + war + + + org.apache.portals.applications + rss + ${org.apache.portals.jetspeed.version} + war + + + org.apache.portals.bridges + jsf-demo + 1.0.4 + war + + + org.apache.portals.bridges + jpetstore + 1.0.4 + war + + + + + org.apache.portals.jetspeed-2 + jetspeed-deploy-tools + ${org.apache.portals.jetspeed.version} + + + + + + + org.apache.portals.jetspeed-2 + jetspeed-fileutils-maven-plugin + ${org.apache.portals.jetspeed.version} + + + delete-min-pages + + event + + process-resources + + ${org.apache.jetspeed.portal.home}/webapps/${org.apache.jetspeed.portal.context.name}/WEB-INF/min-pages + delete + + + + + + + + + + + pack + + package + + + org.apache.maven.plugins + maven-assembly-plugin + + + zip-tomcat-portal + package + + + zip-tomcat-portal-descriptor.xml + + tomcat-portal + false + + + single + + + + + + + + + Index: jetspeed-installer/pom.xml =================================================================== --- jetspeed-installer/pom.xml (revision 0) +++ jetspeed-installer/pom.xml (revision 0) @@ -0,0 +1,114 @@ + + + + + 4.0.0 + + 2.0.9 + + + jetspeed-installer-pom + Jetspeed-2 Installer + + org.apache.portals.jetspeed-2 + jetspeed-2 + 2.2-SNAPSHOT + + + + + org.apache.portals.jetspeed-2 + jetspeed-mvn-maven-plugin + ${pom.version} + + + + clean + ./ + clean + + + database-minimal + database + + seed/min + + + + database-demo + database + + seed + + + + tomcat-portal-unpack + tomcat-portal + unpack + + + tomcat-portal-minimal + tomcat-portal + minimal + + + tomcat-portal-demo + tomcat-portal + demo + + + tomcat-portal-pack + tomcat-portal + pack + + + ant-installer-demo + ant-installer + demo + + antinstall-config.xml + + + + ant-installer-minimal + ant-installer + minimal + + antinstall-config-min.xml + + + + installer-demo + clean,database-demo,tomcat-portal-unpack,tomcat-portal-demo,tomcat-portal-pack,ant-installer-demo + + + installer-minimal + clean,database-minimal,tomcat-portal-unpack,tomcat-portal-minimal,tomcat-portal-pack,ant-installer-minimal + + + + + + + + + Index: jetspeed-installer/zip-database-descriptor.xml =================================================================== --- jetspeed-installer/zip-database-descriptor.xml (revision 0) +++ jetspeed-installer/zip-database-descriptor.xml (revision 0) @@ -0,0 +1,40 @@ + + + + zip-database + false + + zip + + + + false + database/lib + + + + + target/database + database + + + Index: jetspeed-installer/zip-tomcat-portal-descriptor.xml =================================================================== --- jetspeed-installer/zip-tomcat-portal-descriptor.xml (revision 0) +++ jetspeed-installer/zip-tomcat-portal-descriptor.xml (revision 0) @@ -0,0 +1,33 @@ + + + + zip-tomcat-portal + false + + zip + + + + target/${tomcat.version} + / + + \ No newline at end of file Index: pom.xml =================================================================== --- . (revision 729289) +++ . (working copy) @@ -266,9 +266,9 @@ 2.1.3 --> 3.2-rc3 - 1.0.1 + 1.6.5 1.0 1.1.1-xml 2.1_3 @@ -338,6 +338,7 @@ 2.2 1.0 1.1 + 1.0.1 @@ -889,12 +890,6 @@ ${mockrunner.version} test - - tyrex - tyrex - ${tyrex.version} - test - @@ -1189,7 +1184,13 @@ provided - + + + tyrex + tyrex + ${tyrex.version} + + ` Property changes on: . ___________________________________________________________________ Name: svn:eol-style - native