Maven - core-deploy pom.xml
I've created a core-deploy pom that aggregates all non-kernel deploy poms (e.g., common-deploy, search-deploy--rendering them obsolete) and includes "full" and "experimental" build profiles; the latter is extensible and adds additional tools such as message-forums and sitestats (to be followed by basiclti) that can be deployed by invoking -Pexperimental. I've also added the "experimental" build profile to the base pom. core-deploy is added as a module to both the full and experimental profiles and the requisite modules it is designed to replace have been removed. This is all done locally. I've tested both profiles and core-deploy performs as expected.
I'm ready to check this in to trunk. I thought in the morning I'd write up a little note about it for the benefit of the dev list but I plan to check it in because of its benefits for managing the sakai-trunk-experimental branch.
In other news Sitestats 2.1-SNAPSHOT base has a new parent in the guise of the sakai-standard-tool pom and I also fixed a problem with search-assembly (the tomcat-overlay.zip was not being deployed to the snapshot repo).
Have a look below at the pom and profiles. Any objections to checking this changes in?
Anth
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>base</artifactId> <groupId>org.sakaiproject</groupId> <version>2.7.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <name>Sakai Core Deploy</name> <groupId>org.sakaiproject</groupId> <artifactId>core-deploy</artifactId> <packaging>pom</packaging> <version>2.7.0-SNAPSHOT</version> <organization> <name>Sakai Project</name> <url>http://sakaiproject.org/</url> </organization> <profiles> <profile> <id>full</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <clean.targets> components/sakai-common-components; components/sakai-privacy-pack; components/search-pack </clean.targets> <deploy.target>tomcat-overlay</deploy.target> </properties> <dependencies> <dependency> <groupId>org.sakaiproject.common</groupId> <artifactId>sakai-common-assembly</artifactId> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> <dependency> <groupId>org.sakaiproject.search</groupId> <artifactId>search-assembly</artifactId> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> </dependencies> </profile> <profile> <id>experimental</id> <properties> <clean.targets> components/sakai-common-components; components/sakai-msgcntr-component; components/sakai-privacy-pack; components/search-pack; components/sitestats-component </clean.targets> <deploy.target>tomcat-overlay</deploy.target> </properties> <dependencies> <dependency> <groupId>org.sakaiproject.common</groupId> <artifactId>sakai-common-assembly</artifactId> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> <dependency> <groupId>org.sakaiproject.msgcntr</groupId> <artifactId>sakai-messageforums-assembly</artifactId> <version>1.5-SNAPSHOT</version> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> <dependency> <groupId>org.sakaiproject.search</groupId> <artifactId>search-assembly</artifactId> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> <dependency> <groupId>org.sakaiproject.sitestats</groupId> <artifactId>sitestats-assembly</artifactId> <version>2.1-SNAPSHOT</version> <classifier>tomcat-overlay</classifier> <type>zip</type> </dependency> </dependencies> </profile> </profiles> </project>
<profile> <id>full</id> <activation> <activeByDefault>true</activeByDefault> </activation> <modules> <module>kernel-deploy</module> <module>master</module> <module>core-deploy</module> <module>access</module> <module>alias</module> <module>announcement</module> <module>archive</module> <module>assignment</module> <module>authz</module> <module>blog</module> <module>calendar</module> <module>chat</module> <module>citations</module> <module>config</module> <module>content</module> <module>content-review</module> <module>courier</module> <module>edu-services</module> <module>dav</module> <module>emailtemplateservice</module> <module>gradebook</module> <module>help</module> <module>jobscheduler</module> <module>jsf</module> <module>linktool</module> <module>login</module> <module>mailarchive</module> <module>mailtool</module> <module>memory</module> <module>message</module> <module>metaobj</module> <module>msgcntr</module> <module>osp</module> <module>podcasts</module> <module>polls</module> <module>portal</module> <module>postem</module> <module>presence</module> <module>presentation</module> <module>profile</module> <module>providers</module> <module>reference</module> <module>reports</module> <module>reset-pass</module> <module>rights</module> <module>roster</module> <module>rwiki</module> <module>sakai-mock</module> <module>sam</module> <module>samples</module> <module>sections</module> <module>site</module> <module>site-manage</module> <module>syllabus</module> <module>taggable</module> <module>test-harness</module> <module>textarea</module> <module>tool</module> <module>user</module> <module>velocity</module> <module>warehouse</module> <module>web</module> <module>webservices</module> <module>usermembership</module> </modules> </profile> <profile> <id>experimental</id> <modules> <module>kernel-deploy</module> <module>master</module> <module>core-deploy</module> <module>access</module> <module>alias</module> <module>announcement</module> <module>archive</module> <module>assignment</module> <module>authz</module> <module>blog</module> <module>calendar</module> <module>chat</module> <module>citations</module> <module>config</module> <module>content</module> <module>content-review</module> <module>courier</module> <module>edu-services</module> <module>dav</module> <module>emailtemplateservice</module> <module>gradebook</module> <module>help</module> <module>jobscheduler</module> <module>jsf</module> <module>linktool</module> <module>login</module> <module>mailarchive</module> <module>mailtool</module> <module>memory</module> <module>message</module> <module>metaobj</module> <module>osp</module> <module>podcasts</module> <module>polls</module> <module>portal</module> <module>postem</module> <module>presence</module> <module>presentation</module> <module>profile</module> <module>providers</module> <module>reference</module> <module>reports</module> <module>reset-pass</module> <module>rights</module> <module>roster</module> <module>rwiki</module> <module>sakai-mock</module> <module>sam</module> <module>samples</module> <module>sections</module> <module>site</module> <module>site-manage</module> <module>syllabus</module> <module>taggable</module> <module>test-harness</module> <module>textarea</module> <module>tool</module> <module>user</module> <module>usermembership</module> <module>velocity</module> <module>warehouse</module> <module>web</module> <module>webservices</module> </modules> </profile>