Author: bdekruijff at gmail.com Date: Tue Nov 2 21:56:38 2010 New Revision: 233
Log: AMDATU-117 Reverting to one pom in the root. See JIRA issue for motivation Removed: trunk/pom/ Modified: trunk/pom.xml Modified: trunk/pom.xml ============================================================================== --- trunk/pom.xml (original) +++ trunk/pom.xml Tue Nov 2 21:56:38 2010 @@ -2,25 +2,585 @@ <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> - <groupId>org.amdatu</groupId> - <artifactId>amdatu-parent</artifactId> - <relativePath>pom/pom.xml</relativePath> - <version>0.0.6-SNAPSHOT</version> - </parent> <groupId>org.amdatu</groupId> <artifactId>reactor</artifactId> <version>0.0.6-SNAPSHOT</version> <packaging>pom</packaging> - <name>Amdatu Reactor</name> - <description>Amdatu Reactor POM</description> + <name>Amdatu</name> + <description>Amdatu is an application platform</description> + <url>http://wwwm.amdatu.org/</url> + <inceptionYear>2010</inceptionYear> + + <!-- + Global properties specific for the entire platform build. + FIXME: Subproject specific configuration should not be here. Move it when they split off + --> + <properties> + <!-- + Platform version + --> + <platform.version>0.0.6-SNAPSHOT</platform.version> + + <!-- + Build properties + --> + <server.hostname>localhost</server.hostname> + <server.port>3737</server.port> + <server.port.secure>9090</server.port.secure> + <root.directory>./target</root.directory> + <conf.directory>${root.directory}/conf</conf.directory> + <work.directory.name>work</work.directory.name> + <work.directory>${root.directory}/${work.directory.name}</work.directory> + <deploy.directory.name>deploy</deploy.directory.name> + <deploy.directory>${root.directory}/${deploy.directory.name}</deploy.directory> + <compiler.debug>true</compiler.debug> + <compiler.optimize>false</compiler.optimize> + + <!-- + Version numbers of dependent libraries + --> + <org.apache.felix.main.version>2.0.5</org.apache.felix.main.version> + <org.osgi.version>1.0.0</org.osgi.version> + <org.apache.felix.configadmin.version>1.2.4</org.apache.felix.configadmin.version> + <org.apache.felix.log.version>1.0.0</org.apache.felix.log.version> + <org.apache.felix.file.install.version>3.0.0</org.apache.felix.file.install.version> + <org.apache.felix.scr.version>1.6.0</org.apache.felix.scr.version> + <pax-web.version>0.7.1</pax-web.version> + <org.apache.sling.commons.mime.version>2.1.4</org.apache.sling.commons.mime.version> + <org.apache.sling.commons.osgi.version>2.0.6</org.apache.sling.commons.osgi.version> + <org.apache.felix.dependencymanager.version>3.0.0-SNAPSHOT</org.apache.felix.dependencymanager.version> + <org.apache.felix.metatype.version>1.0.4</org.apache.felix.metatype.version> + <org.apache.felix.webconsole.version>3.1.2</org.apache.felix.webconsole.version> + <org.apache.felix.shell.tui.version>1.4.1</org.apache.felix.shell.tui.version> + <org.apache.felix.shell.version>1.4.2</org.apache.felix.shell.version> + <org.apache.felix.gogo.version>0.6.0</org.apache.felix.gogo.version> + <org.apache.felix.eventadmin.version>1.2.2</org.apache.felix.eventadmin.version> + <org.apache.wink.version>1.1.1-incubating</org.apache.wink.version> + <org.openrdf.sesame.version>2.3.1</org.openrdf.sesame.version> + <org.openrdf.elmo.version>1.5</org.openrdf.elmo.version> + <jsr311-api.version>1.1.1</jsr311-api.version> + <jstl.version>1.1.2</jstl.version> + <taglibs.version>1.1.2</taglibs.version> + <net.kornr.osgi.commons-logging-osgi.version>20081215</net.kornr.osgi.commons-logging-osgi.version> + <pax.useradmin.version>0.0.1-SNAPSHOT</pax.useradmin.version> + <junit.version>4.8.1</junit.version> + <jmock.version>2.5.1</jmock.version> + <pax.exam.version>1.2.2</pax.exam.version> + + <!-- + Version numbers of platform bundles + --> + <shindig.version>2.0.0</shindig.version> + <cassandra.version>0.7.0-beta2</cassandra.version> + <openrdf.version>2.3.1</openrdf.version> + </properties> + + <prerequisites> + <maven>2.2.1</maven> + </prerequisites> + + <licenses> + <license> + <name>GNU General Public License version 3</name> + <url>http://www.gnu.org/licenses/gpl.html</url> + <distribution>repo</distribution> + <comments>The GNU General Public License is a free, copyleft license for software and other kinds of works.</comments> + </license> + </licenses> + + <ciManagement> + <system>bamboo</system> + <url>http://bamboo.amdatu.org/bamboo/</url> + <notifiers> + <notifier> + <type>mail</type> + <sendOnError>true</sendOnError> + <sendOnFailure>true</sendOnFailure> + <sendOnSuccess>false</sendOnSuccess> + <sendOnWarning>false</sendOnWarning> + <configuration> + <address>bamboo at amdatu.org</address> + </configuration> + </notifier> + </notifiers> + </ciManagement> + + <distributionManagement> + <snapshotRepository> + <name>Amdatu Nightly Builds</name> + <id>amdatu.nightly</id> + <url>${repository.url}/nightly</url> + </snapshotRepository> + <repository> + <name>Amdatu Distributions</name> + <id>amdatu.releases</id> + <url>${repository.url}/releases</url> + </repository> + <site> + <name>Amdatu Sites</name> + <id>amdatu.sites</id> + <url>${repository.url}/sites</url> + </site> + </distributionManagement> + + <issueManagement> + <system>JIRA</system> + <url>http://jira.amdatu.org/jira</url> + </issueManagement> + + <mailingLists> + <mailingList> + <name>Amdatu users</name> + <subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</subscribe> + <unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-users</unsubscribe> + <post>amdatu-users at amdatu.org</post> + <archive>http://lists.amdatu.org/pipermail/amdatu-users</archive> + </mailingList> + <mailingList> + <name>Amdatu developers</name> + <subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</subscribe> + <unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-developers</unsubscribe> + <post>amdatu-developers at amdatu.org</post> + <archive>http://lists.amdatu.org/pipermail/amdatu-developers</archive> + </mailingList> + <mailingList> + <name>Subversion commits</name> + <subscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</subscribe> + <unsubscribe>http://lists.amdatu.org/mailman/listinfo/amdatu-commits</unsubscribe> + <post>amdatu-commits at amdatu.org</post> + <archive>http://lists.amdatu.org/pipermail/amdatu-commits</archive> + </mailingList> + </mailingLists> + + <scm> + <connection>scm:svn:http://subversion.amdatu.org/svn/amdatu</connection> + <developerConnection>scm:svn:http://subversion.amdatu.org/svn/amdatu</developerConnection> + <url>http://subversion.amdatu.org/viewvc/amdatu</url> + </scm> + + <developers> + <developer> + <id>ivol</id> + <name>Ivo Ladage-van Doorn</name> + <email>ivo.ladage-vandoorn at gxsoftware.com</email> + <organization>GX Software</organization> + <organizationUrl>http://gxsoftware.com</organizationUrl> + <roles> + <role>Developer</role> + </roles> + </developer> + <developer> + <id>angelos</id> + <name>Angelo van der Sijpt</name> + <email>angelo.vandersijpt at luminis.eu</email> + <organization>Luminis</organization> + <organizationUrl>http://luminis.eu</organizationUrl> + <roles> + <role>Developer</role> + </roles> + </developer> + <developer> + <id>marcelo</id> + <name>Marcel Offermans</name> + <email>marcel.offermans at luminis.eu</email> + <organization>Luminis</organization> + <organizationUrl>http://luminis.eu</organizationUrl> + <roles> + <role>Developer</role> + </roles> + </developer> + <developer> + <id>bramk</id> + <name>Bram de Kruijff</name> + <email>bram.dekruijff at gxsoftware.com</email> + <organization>GX Software</organization> + <organizationUrl>http://gxsoftware.com</organizationUrl> + <roles> + <role>Developer</role> + </roles> + </developer> + </developers> + + <repositories> + <repository> + <id>com.springsource.repository.bundles.release</id> + <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> + <url>http://repository.springsource.com/maven/bundles/release</url> + </repository> + <repository> + <id>com.springsource.repository.bundles.external</id> + <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> + <url>http://repository.springsource.com/maven/bundles/external</url> + </repository> + <repository> + <id>shorrockin.com</id> + <name>Shorrockin Repository</name> + <url>http://maven.shorrockin.com/</url> + </repository> + <repository> + <id>java.net.com</id> + <name>Download java.net</name> + <url>http://download.java.net/maven/2</url> + </repository> + <repository> + <id>openrdf</id> + <name>OpenRDF</name> + <url>http://repo.aduna-software.org/maven2/releases</url> + </repository> + <repository> + <id>repo1</id> + <name>repo1</name> + <url>http://repo1.maven.org/maven2</url> + </repository> + <repository> + <id>maven.scale7.org</id> + <name>Scale7 Maven Repo</name> + <url>http://github.com/s7/mvnrepo/raw/master</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <!-- + Here we manage the dependencies of all child projects + --> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>${jstl.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>${taglibs.version}</version> + <scope>provided</scope> + </dependency> + + <!-- + Platform bundles (start level 5) + --> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>authorization</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>cassandra-application</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>cassandra-listener</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>cassandra-persistencemanager</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.libraries</groupId> + <artifactId>amdatu-utilities</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.amdatu.application</groupId> + <artifactId>gadgetmanagement</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>config-template-manager</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>httpcontext</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>profile-service</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>sesame-application</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>filebased-configuration</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>shindig-application</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>tenant-service</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>wink-application</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.amdatu.platform</groupId> + <artifactId>useradmin-cassandra-store</artifactId> + <version>${platform.version}</version> + <scope>provided</scope> + <type>bundle</type> + </dependency> + <dependency> + <groupId>org.apache.wink</groupId> + <artifactId>wink-server</artifactId> + <version>${org.apache.wink.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.wink</groupId> + <artifactId>wink-common</artifactId> + <version>${org.apache.wink.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + <version>${jsr311-api.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.ops4j.pax.useradmin</groupId> + <artifactId>pax-useradmin-service</artifactId> + <version>${pax.useradmin.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>${junit.version}</version> + </dependency> + <dependency> + <groupId>org.jmock</groupId> + <artifactId>jmock-junit4</artifactId> + <version>${jmock.version}</version> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <!-- + This is required to be first so that pax-exam classloader is not messed up with a newer version of felix which + would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V + --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.framework</artifactId> + <version>${org.apache.felix.main.version}</version> + <scope>test</scope> + </dependency> + + <!-- The main Felix framework --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.main</artifactId> + <version>${org.apache.felix.main.version}</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.core</artifactId> + <version>${org.osgi.version}</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.osgi.compendium</artifactId> + <version>${org.osgi.version}</version> + <scope>provided</scope> + <exclusions> + <exclusion> + <groupId> org.apache.felix</groupId> + <artifactId>org.osgi.foundation</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.scr</artifactId> + <version>${org.apache.felix.scr.version}</version> + <scope>provided</scope> + </dependency> + + <!-- Event admin service --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.eventadmin</artifactId> + <version>${org.apache.felix.eventadmin.version}</version> + <scope>provided</scope> + </dependency> + + <!-- Configuration administration service --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.configadmin</artifactId> + <version>${org.apache.felix.configadmin.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- Log service bundle --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.log</artifactId> + <version>${org.apache.felix.log.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- File install bundle --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.fileinstall</artifactId> + <version>${org.apache.felix.file.install.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- Use Pax Web as HTTP service implementation --> + <dependency> + <groupId>org.ops4j.pax.web</groupId> + <artifactId>pax-web-jetty-bundle</artifactId> + <version>${pax-web.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.ops4j.pax.web</groupId> + <artifactId>pax-web-jsp</artifactId> + <version>${pax-web.version}</version> + <scope>provided</scope> + </dependency> + + <!-- Include Apache Sling mimetype service --> + <dependency> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.commons.mime</artifactId> + <version>${org.apache.sling.commons.mime.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.commons.osgi</artifactId> + <version>${org.apache.sling.commons.osgi.version}</version> + <scope>provided</scope> + </dependency> + + <!-- Dependency manager --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.dependencymanager</artifactId> + <version>${org.apache.felix.dependencymanager.version}</version> + <scope>provided</scope> + </dependency> + + <!-- The metatype service --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.metatype</artifactId> + <version>${org.apache.felix.metatype.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- Web Console --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.webconsole</artifactId> + <version>${org.apache.felix.webconsole.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- Enable this section to enable standard Felix shell --> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.shell.tui</artifactId> + <version>${org.apache.felix.shell.tui.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.shell</artifactId> + <version>${org.apache.felix.shell.version}</version> + <scope>runtime</scope> + </dependency> + + <!-- Enable this section to enable the Gogo shell --> + <!-- <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.gogo.runtime</artifactId> <version>${org.apache.felix.gogo.version}</version> + <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.gogo.shell</artifactId> + <version>${org.apache.felix.gogo.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.gogo.command</artifactId> <version>${org.apache.felix.gogo.version}</version> <scope>runtime</scope> + </dependency> --> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>${junit.version}</version> + </dependency> + <dependency> + <groupId>org.jmock</groupId> + <artifactId>jmock-junit4</artifactId> + <version>${jmock.version}</version> + </dependency> + + <!-- UserAdmin implementation --> + <dependency> + <groupId>org.ops4j.pax.useradmin</groupId> + <artifactId>pax-useradmin-service</artifactId> + <version>${pax.useradmin.version}</version> + <scope>runtime</scope> + </dependency> + </dependencies> <!-- This is the Amdatu Reactor POM for managing build and deployment configuration only. Project metadata must be placed in the Amdatu Parent POM under pom/pom.xml. --> <modules> - <module>pom</module> <module>amdatu-release</module> <module>platform-bundles</module> <module>application-bundles</module> @@ -28,12 +588,76 @@ <module>libraries</module> <module>example-bundles</module> <module>integration-tests</module> - </modules> + </modules> <build> + <finalName>${project.groupId}.${project.artifactId}-${platform.version}</finalName> + + <!-- Here we manage the plugins of all child projects --> + <pluginManagement> + <plugins> + + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <source>1.5</source> + <target>1.5</target> + <debug>${compiler.debug}</debug> + <optimize>${compiler.optimize}</optimize> + </configuration> + </plugin> + + <!-- + Specify the exact maven plugin version here, since some versions have issues with resource filtering in + versions 2.7 and 2.8 (see http://stackoverflow.com/questions/1397903/setting-project-for-eclipse-using-maven) + --> + <plugin> + <artifactId>maven-eclipse-plugin</artifactId> + <version>2.6</version> + </plugin> + + <plugin> + <artifactId>maven-install-plugin</artifactId> + <version>2.3.1</version> + </plugin> + + <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.2</version> + </plugin> + + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.3</version> + </plugin> + + <plugin> + <artifactId>maven-site-plugin</artifactId> + <version>2.1.1</version> + </plugin> + + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <version>2.1.0</version> + </plugin> + + </plugins> + </pluginManagement> + <plugins> <!-- + Activate bundle plugin for handling bundle extension + --> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + </plugin> + + <!-- Since the Felix dependency manager 3.0.0 is not yet available in online maven repositories, it must be installed to the local maven repository. We use the maven-install-plugin to do so during build --> @@ -159,7 +783,6 @@ <plugin> <artifactId>maven-resources-plugin</artifactId> <inherited>false</inherited> - <version>2.4.3</version> <executions> <execution> <id>copy-conf</id> @@ -258,4 +881,35 @@ </plugins> </build> + + <reporting> + <outputDirectory>target/site</outputDirectory> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <reportSets> + <reportSet> + <inherited>false</inherited> + <reports> + <report>cim</report> + <!-- <report>dependencies</report> --> + <!-- <report>dependency-convergence</report> --> + <report>dependency-management</report> + <report>index</report> + <report>issue-tracking</report> + <report>license</report> + <report>mailing-list</report> + <report>plugin-management</report> + <report>plugins</report> + <report>project-team</report> + <report>scm</report> + <report>summary</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + </project>
