You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2012/12/10 09:28:49 UTC

[2/2] ISIS-188: updating poms...

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/pom.xml
----------------------------------------------------------------------
diff --git a/core/pom.xml b/core/pom.xml
index c3b029b..ab303cb 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -13,60 +13,729 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.isis</groupId>
-        <artifactId>isis-parent</artifactId>
-        <version>0.3.1-SNAPSHOT</version>
-	<relativePath>../isis-parent/pom.xml</relativePath>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>12</version>
+        <relativePath></relativePath>
     </parent>
 
     <groupId>org.apache.isis.core</groupId>
     <artifactId>isis</artifactId>
+    <packaging>pom</packaging>
 
-    <name>Isis Core</name>
+    <name>Apache Isis Core</name>
 
     <description>
-		Core framework, providing metamodel, runtime and core APIs.
-	</description>
+        Core framework, providing metamodel, runtime and core APIs.
 
-    <packaging>pom</packaging>
+        Also defines standard build process, as well as
+        standard set of 3rd party dependencies (eg for testing and 
+        logging frameworks).
+    </description>
 
+    <inceptionYear>2010</inceptionYear>
 
     <properties>
-        <siteBaseDir>..</siteBaseDir>
-        <relativeUrl>core/</relativeUrl>
 
-        <!-- REVIEW -->
-        <dependency.locations.enabled>false</dependency.locations.enabled>
+        <!-- override in each module (used by locate global resources) -->
+
+        <!-- relative to root of mvn site -->
+        <siteBaseDir>.</siteBaseDir>
+        <relativeUrl/>
+
+        <!-- relative to core/pom.xml -->
+        <coreBaseRelDir>.</coreBaseRelDir>
 
+        <!-- to disable enforcer plugin via profile, if required -->
+		<isis-parent.enforcer.validate>true</isis-parent.enforcer.validate>
+        
+        <!-- used by docbkx-maven-plugin for DocBook guide; 
+             override as required -->
         <docbkxGuideTitle>Apache Isis Core</docbkxGuideTitle>
         <docbkxGuideSubTitle>Architecture, APIs and Customization</docbkxGuideSubTitle>
         <docbkxGuideName>isis-core</docbkxGuideName>
-    </properties>
 
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+        <testsToExclude>**/*IntegrationTest.java</testsToExclude>
 
-    <modules>
-        <module>applib</module>
-        <module>metamodel</module>
-        <module>runtime</module>
-        <module>webserver</module>
 
-        <module>bytecode-cglib</module>
-        <module>bytecode-javassist</module>
+
+        <!-- remaining properties should not need to be overridden -->
+        <compileSource>1.6</compileSource>
+        <compileTarget>1.6</compileTarget>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+        <dependency.locations.enabled>false</dependency.locations.enabled>
+        <coreBaseDir>${project.build.directory}/../${coreBaseRelDir}</coreBaseDir>
+        <checkstyle.configLocation>${coreBaseDir}/src/site/resources/codequality/checkstyle.xml</checkstyle.configLocation>
+        <pmd.ruleset>${coreBaseDir}/src/site/resources/codequality/pmd.xml</pmd.ruleset>
+
+        <projectUrl>${project.url}</projectUrl>
         
-        <module>objectstore-inmemory</module>
-        <module>profilestore-inmemory</module>
-        <module>security-noop</module>
+        <!-- number of unapproved licenses -->
+		<rat.num>0</rat.num>
+    </properties>
 
-        <module>unittestsupport</module>
-        <module>integtestsupport</module>
+    <scm>
+        <connection>scm:git:http://git.apache.org/isis.git/core</connection>
+        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/isis.git/trunk/framework/</developerConnection>
+        <url>git://git.apache.org/isis.git/core</url>
+    </scm>
+
+    <!-- used in Site generation for relative references. -->
+    <url>http://isis.apache.org/${relativeUrl}</url>
+
+    <mailingLists>
+        <mailingList>
+            <name>developers</name>
+            <archive>http://mail-archives.apache.org/mod_mbox/isis-dev/</archive>
+            <post>dev@isis.apache.org</post>
+            <subscribe>dev-subscribe@isis.apache.org</subscribe>
+            <unsubscribe>dev-unsubscribe@isis.apache.org</unsubscribe>
+        </mailingList>
+        <mailingList>
+            <name>users</name>
+            <archive>http://mail-archives.apache.org/mod_mbox/isis-users/</archive>
+            <post>users@isis.apache.org</post>
+            <subscribe>users-subscribe@isis.apache.org</subscribe>
+            <unsubscribe>users-unsubscribe@isis.apache.org</unsubscribe>
+        </mailingList>
+    </mailingLists>
+
+    <developers>
+        <developer>
+            <id>danhaywood</id>
+            <name>Dan Haywood</name>
+            <email>danhaywood@apache.org</email>
+            <roles>
+                <role>pmc chair</role>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>+0</timezone>
+        </developer>
+        <developer>
+            <id>rcmatthews</id>
+            <name>Robert Matthews</name>
+            <email>rmatthews@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>+0</timezone>
+        </developer>
+        <developer>
+            <id>kevin</id>
+            <name>Kevin Meyer</name>
+            <email>kevin@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>+2</timezone>
+        </developer>
+        <developer>
+            <id>themalkolm</id>
+            <name>Alexander Krasnuhkin</name>
+            <email>themalkolm@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>+3</timezone>
+        </developer>
+        <developer>
+            <id>dslaughter</id>
+            <name>Dave Slaughter</name>
+            <email>dslaughter@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>-6</timezone>
+        </developer>
+        <developer>
+            <id>jcvanderwal</id>
+            <name>Jeroen van der Wal</name>
+            <email>jeroen@stromboli.it</email>
+            <roles>
+                <role>pmc</role>
+                <role>committer</role>
+            </roles>
+            <timezone>+3</timezone>
+        </developer>
+        <developer>
+            <id>mnour</id>
+            <name>Mohammad Nour El-Din</name>
+            <email>mnour@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>mentor while incubating</role>
+            </roles>
+            <timezone>+1</timezone>
+        </developer>
+        <developer>
+            <id>struberg</id>
+            <name>Mark Struberg</name>
+            <email>struberg@apache.org</email>
+            <roles>
+                <role>pmc</role>
+                <role>mentor while incubating</role>
+            </roles>
+            <timezone>+1</timezone>
+        </developer>
+    </developers>
+
+    <issueManagement>
+        <system>Jira</system>
+        <url>https://issues.apache.org/jira/browse/ISIS</url>
+    </issueManagement>
+
+    <ciManagement>
+        <system>CI</system>
+        <url>https://builds.apache.org/job/isis-core-ubuntu</url>
+        <notifiers>
+            <notifier>
+                <type>mail</type>
+                <address>dev@isis.apache.org</address>
+                <sendOnError/>
+                <sendOnFailure/>
+                <sendOnSuccess/>
+                <sendOnWarning/>
+                <configuration/>
+            </notifier>
+        </notifiers>
+    </ciManagement>
+
+    <repositories>
+        <repository>
+            <id>Apache Repository</id>
+            <url>https://repository.apache.org/</url>
+            <snapshots>
+              <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>JBoss Public Release</id>
+            <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
+            <snapshots>
+              <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
 
-        <module>tck</module>
-    </modules>
 
     <build>
+        <outputDirectory>${project.build.directory}/classes</outputDirectory>
+        <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
+        
+        <extensions>
+            <!-- scp and sftp support for deployments. -->
+            <extension>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-ssh</artifactId>
+                <version>1.0-beta-6</version>
+            </extension>
+            <!-- ftp support for deployments. -->
+            <extension>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-ftp</artifactId>
+                <version>1.0-beta-6</version>
+            </extension>
+            <extension>
+                <groupId>org.apache.maven.archetype</groupId>
+                <artifactId>archetype-packaging</artifactId>
+                <version>2.0-alpha-3</version>
+            </extension>
+        </extensions>
+
+        <pluginManagement>
+            <!-- defines versions of plugins and the configuration for their 
+                non-reporting goals. Configuration of any reporting goals (aka reports) will 
+                be found in the reporting section. -->
+            <plugins>
+
+                <!-- Apache Release Audit Tool -->
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.8</version>
+                </plugin>
+
+
+                <!-- IDE support for Eclipse (if not using m2e).
+                    (NetBeans 6.7+ and IDEA 7.0+ also have built-in support
+                    -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-eclipse-plugin</artifactId>
+                    <version>2.5.1</version> <!-- version 2.7 & 2.8 presently have a bug that prevents multiple-resources; 
+                        while 2.6 fails to use projectNameTemplate properly from being filtered -->
+                    <configuration>
+                        <downloadSources>true</downloadSources>
+                        <downloadJavadocs>true</downloadJavadocs>
+                        <projectNameTemplate>[groupId].[artifactId]</projectNameTemplate>
+                    </configuration>
+                    <!-- use mvn eclipse:eclipse (no goals bound to phases) -->
+                </plugin>
+
+                <!-- Copies project resources to the output directory -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-resources-plugin</artifactId>
+                    <version>2.4.3</version>
+                    <!-- goal:resources binds to phase:process-resources -->
+                    <!-- goal:testResources binds to phase:process-test-resources -->
+                </plugin>
+
+                <!-- Compile -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.3.1</version>
+                    <configuration>
+                        <showDeprecation>false</showDeprecation>
+                        <showWarnings>false</showWarnings>
+                        <source>${compileSource}</source>
+                        <target>${compileTarget}</target>
+                    </configuration>
+                    <!-- goal:compile binds to phase:compile -->
+                    <!-- goal:testCompile binds to phase:test-compile -->
+                </plugin>
+
+                
+                <!-- Tests (ignore integration tests)-->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>2.12</version>
+                    <configuration>
+                        <excludes>
+                            <exclude>${testsToExclude}</exclude>
+                        </excludes>
+                        <printSummary>false</printSummary>
+                    </configuration>
+                    <!-- goal:test binds to phase:test -->
+                </plugin>
+                
+                
+                <!-- Test Reporting -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-report-plugin</artifactId>
+                    <version>2.5</version>
+                    <!-- goal:report is a report so is configured in the 
+                        reporting section; invokes phase:test before running itself -->
+                </plugin>
+
+
+                <!-- Test coverage: cobertura -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>cobertura-maven-plugin</artifactId>
+                    <version>2.4</version>
+                    <inherited>true</inherited>
+                    <!-- goal:check binds to phase:verify (not currently 
+                        configured, can be used to break build if code coverage < threshold) -->
+                    <!-- goal:cobertura is a report so is configured in the 
+                        reporting section; invokes phase:test before running itself -->
+                </plugin>
+
+
+                <!-- Quality checks: checkstyle -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-checkstyle-plugin</artifactId>
+                    <version>2.6</version>
+                    <!-- goal:check binds to phase:verify (not currently 
+                        configured, can be used to break build if any violations) -->
+                    <!-- goal:checkstyle is a report so is configured in 
+                        the reporting section -->
+                </plugin>
+
+                <!-- Quality checks: pmd -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-pmd-plugin</artifactId>
+                    <version>2.5</version>
+                    <!-- goal:check binds to phase:verify (not currently 
+                        configured, can be used to break build if any violations) -->
+                    <!-- goal:check-cpd binds to phase:verify (not currently 
+                        configured, can be used to break build if any CPD violations) -->
+                    <!-- goal:pmd is a report so is configured in the reporting 
+                        section -->
+                    <!-- goal:cpd is a report so is configured in the reporting 
+                        section -->
+                </plugin>
+
+                <!-- Quality checks: NCSS (cyclomatic complexity) -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>javancss-maven-plugin</artifactId>
+                    <version>2.0</version>
+                    <!-- goal:check binds to phase:verify (not currently 
+                        configured, can be used to break build if any violations) -->
+                    <!-- goal:report is a report so is configured in the 
+                        reporting section -->
+                </plugin>
+
+                <!-- Quality checks: jdepend -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>jdepend-maven-plugin</artifactId>
+                    <version>2.0-beta-2</version>
+                    <!-- goal:generate is a report so is configured in the 
+                        reporting section -->
+                </plugin>
+
+                <!-- Artifacts derived from code: taglist -->
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>taglist-maven-plugin</artifactId>
+                    <version>2.4</version>
+                    <inherited>true</inherited>
+                    <!-- goal:taglist is a report so is configured in the 
+                        reporting section -->
+                </plugin>
+
+                <!-- Artifacts derived from code: javadoc; supports both 
+                    build and report goals; not included as a build plugin except through profiles 
+                    (to speed up the build) -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>2.8</version>
+                    <inherited>true</inherited>
+                    <configuration>
+                        <debug>true</debug>
+                        <minmemory>128m</minmemory>      
+                        <maxmemory>1024m</maxmemory>
+                        <quiet>true</quiet>
+                        <doctitle>${project.name} ${project.version}</doctitle>
+                        <windowtitle>${project.name} ${project.version}</windowtitle>
+                        <testDoctitle>${project.name} ${project.version}
+                            (TEST API)
+                        </testDoctitle>
+                        <testWindowtitle>${project.name}
+                            ${project.version} (TEST API)
+                        </testWindowtitle>
+                        <splitindex>true</splitindex>
+                        <encoding>${project.build.sourceEncoding}</encoding>
+                        <links>
+                            <link>http://java.sun.com/j2se/1.6.0/docs/api</link>
+                            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+                            <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
+                            <link>http://java.sun.com/j2ee/1.4/docs/api</link>
+                        </links>
+                        <linksource>true</linksource>
+                        <!-- http://jira.codehaus.org/browse/MJAVADOC-268 
+                            and http://jira.codehaus.org/browse/MJAVADOC-284 -->
+                        <detectOfflineLinks>false</detectOfflineLinks>
+                    </configuration>
+                    <!-- goal:aggregate (for aggregator modules) has no binding; 
+                        explicitly bound in profiles -->
+                    <!-- goal:jar (for non-aggregator modules) binds to phase:package -->
+                    <!-- goal:test-jar (for non-aggregator modules) binds 
+                        to phase:package -->
+                    <!-- goal:javadoc is a report so is configured in the 
+                        reporting section -->
+                </plugin>
+
+
+                <!-- Artifacts derived from code: Java source x-ref -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jxr-plugin</artifactId>
+                    <version>2.2</version>
+                    <!-- goal:jxr is a report so is configured in the reporting 
+                        section -->
+                </plugin>
+
+
+                <!-- Packaging: source jars of main and test code -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-source-plugin</artifactId>
+                    <version>2.1.2</version>
+                    <configuration>
+                        <includePom>true</includePom>
+                    </configuration>
+                    <!-- goal:aggregate (for aggregator modules) binds to 
+                        phase:package -->
+                    <!-- goal:jar and goal:test-jar are meant to bind to 
+                        phase:package, but doesn't seem to so bound explicitly -->
+                    <executions>
+                        <execution>
+                            <id>package-jars</id>
+                            <phase>package</phase>
+                            <goals>
+                                <goal>jar</goal>
+                                <goal>test-jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+
+
+                <!-- Packaging: jar -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>2.3.1</version>
+                    <!-- goal:jar binds to phase:package -->
+                    <!-- goal:test-jar supposedly binds to phase:package, 
+                        but seems to need this explicit binding. -->
+                    <executions>
+                        <execution>
+                            <id>package-test-jar</id>
+                            <phase>package</phase>
+                            <goals>
+                                <goal>test-jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+
+
+                <!-- Packaging: WAR -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-war-plugin</artifactId>
+                    <version>2.0.2</version>
+                    <configuration>
+                        <!-- This is broken in maven-war-plugin 2.0, but 
+                            works in 2.0.1+ -->
+                        <warSourceExcludes>
+                            WEB-INF/lib/*.jar
+                        </warSourceExcludes>
+                        <archive>
+                            <manifest>
+                                <addClasspath>true</addClasspath>
+                                <classpathPrefix>lib/</classpathPrefix>
+                            </manifest>
+                        </archive>
+                    </configuration>
+                    <!-- goal:war binds to phase:package -->
+                </plugin>
+
+                <!-- PDF from DocBook (configured to build user guide and 
+                    developers guide): docbkx hosted at http://docbkx-tools.sourceforge.net/docbkx-maven-plugin -->
+                <plugin>
+                    <groupId>com.agilejava.docbkx</groupId>
+                    <artifactId>docbkx-maven-plugin</artifactId>
+                    <!-- <version>2.0.13</version> -->
+                    <version>2.0.8</version>
+                    <!-- doesn't seem to render the title page correctly? 
+                        <version>2.0.10</version> -->
+                    <configuration>
+                        <includes>**/guide/*.xml</includes>
+                        <xincludeSupported>true</xincludeSupported>
+                        <highlightSource>1</highlightSource>
+                    </configuration>
+
+                    <!-- goal:generate-html has not binding; explicitly bind 
+                        to phase:site -->
+                    <executions>
+                        <execution>
+                            <id>html-docs</id>
+                            <phase>site</phase>
+                            <goals>
+                                <goal>generate-html</goal>
+                            </goals>
+
+                            <configuration>
+                                <excludes>old-src</excludes>
+                                <chunkedOutput>true</chunkedOutput>
+                                <htmlStylesheet>screen.css</htmlStylesheet>
+                                <htmlCustomization>src/docbkx/style/html-cust.xsl</htmlCustomization>
+                                <sectionAutolabel>1</sectionAutolabel>
+                                <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
+                                <highlightSource>1</highlightSource>
+
+                                <postProcess>
+                                    <copy todir="target/docbkx/html/guide" failonerror="false">
+                                        <fileset dir="src/docbkx/guide">
+                                            <include name="images/**/*"/>
+                                        </fileset>
+                                        <fileset dir="src/docbkx/style">
+                                            <include name="*.css"/>
+                                        </fileset>
+                                    </copy>
+                                    <copy todir="target/site/docbkx/html" failonerror="false">
+                                        <fileset dir="target/docbkx/html">
+                                            <include name="**/*"/>
+                                        </fileset>
+                                    </copy>
+                                </postProcess>
+                            </configuration>
+                        </execution>
+
+                        <!-- goal:generate-pdf has not binding; explicitly 
+                            bind to phase:site -->
+                        <execution>
+                            <id>pdf-docs</id>
+                            <phase>site</phase>
+                            <goals>
+                                <goal>generate-pdf</goal>
+                            </goals>
+                            <configuration>
+                                <argLine>-Xmx1024m</argLine>
+                                <imgSrcPath>${basedir}/target/docbkx/pdf/</imgSrcPath>
+                                <foCustomization>src/docbkx/style/fop-cust.xsl</foCustomization>
+                                <highlightSource>1</highlightSource>
+                                <doubleSided>1</doubleSided>
+
+                                <preProcess>
+                                    <copy todir="${basedir}/target/docbkx/pdf">
+                                        <fileset dir="${basedir}/src/docbkx">
+                                            <include name="images/**/*"/>
+                                        </fileset>
+                                    </copy>
+
+                                    <copy todir="${basedir}/target/docbkx/pdf" failonerror="false">
+                                        <fileset dir="${basedir}/src/docbkx/guide">
+                                            <include name="images/**/*"/>
+                                        </fileset>
+                                    </copy>
+                                </preProcess>
+                                <postProcess>
+                                    <copy todir="target/site/docbkx/pdf" failonerror="false">
+                                        <fileset dir="target/docbkx/pdf">
+                                            <include name="**/*"/>
+                                        </fileset>
+                                    </copy>
+                                </postProcess>
+                            </configuration>
+                        </execution>
+                    </executions>
+
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.docbook</groupId>
+                            <artifactId>docbook-xml</artifactId>
+                            <version>4.4</version>
+                            <scope>runtime</scope>
+                        </dependency>
+                        <dependency>
+                            <groupId>com.java</groupId>
+                            <artifactId>jimi</artifactId>
+                            <version>1.0</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+
+
+                <!-- site (see also reporting and distributionManagement) -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-site-plugin</artifactId>
+                    <version>3.0-beta-3</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.maven.doxia</groupId>
+                            <artifactId>doxia-module-docbook-simple</artifactId>
+                            <version>1.1.3</version>
+                        </dependency>
+                    </dependencies>
+                    <configuration>
+                        <locales>en</locales>
+                        <jarOutputDirectory>
+                            ${project.build.directory}/site
+                        </jarOutputDirectory>
+                        <finalName>isis-${project.version}</finalName>
+                        <jarOutputDirectory>
+                            ${project.reporting.outputDirectory}
+                        </jarOutputDirectory>
+                        <generateReports>true</generateReports>
+                        <generateSitemap>true</generateSitemap>
+                    </configuration>
+                    <!-- goal:jar binds to phase:package; override to bind 
+                        to (site lifecycle) phase:site -->
+                    <executions>
+                        <execution>
+                            <id>jar</id>
+                            <phase>site</phase>
+                            <goals>
+                                <goal>jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                    <!-- goal:site binds to (site lifecycle) phase:site -->
+                    <!-- goal:deploy binds to (site lifecycle) phase:site-deploy -->
+                </plugin>
+
+
+                <!-- maven reports (for site) -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-project-info-reports-plugin</artifactId>
+                    <version>2.2</version>
+                    <!-- main configuration in reporting section (in inheriting 
+                        modules) -->
+                </plugin>
+
+
+                <!-- release (is also configured in descendant modules) -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <configuration>
+                        <!-- overriddes the default ('clean verify') as workaround -->
+                        <preparationGoals>clean install</preparationGoals>
+                        <autoVersionSubmodules>true</autoVersionSubmodules>
+                        <tagBase>https://svn.apache.org/repos/asf/incubator/isis/tags/</tagBase>
+                        <waitBeforeTagging>120</waitBeforeTagging>
+                    </configuration>
+                    <!-- goal:clean (for aggregator modules) has no bindings; 
+                        cleans up release.properties and any backup POM files -->
+                    <!-- goal:prepare (for aggregator modules) has no bindings; 
+                        prepares for release in SCM (modifying x.x-SNAPSHOT to x.x) -->
+                    <!-- goal:update-versions (for aggregator modules) has 
+                        no bindings; updates versions eg to SNAPSHOT -->
+                    <!-- etc; none of the goals has a binding. -->
+                </plugin>
+
+
+                <!-- deploy (see also distributionManagement) -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-deploy-plugin</artifactId>
+                    <version>2.5</version>
+                    <!-- goal:deploy binds to phase:deploy -->
+                </plugin>
+
+
+                <!-- other types of build: archetype -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-archetype-plugin</artifactId>
+                    <version>2.0</version>
+                    <extensions>true</extensions>
+                    <!-- no goals bind to any lifecycle phases; use mvn archetype:generate -->
+                </plugin>
+
+
+                <!-- Runtime: jetty -->
+                <plugin>
+                    <groupId>org.mortbay.jetty</groupId>
+                    <artifactId>maven-jetty-plugin</artifactId>
+                    <version>6.1.25</version>
+                    <configuration>
+                        <webAppConfig>
+                            <contextPath>webapp</contextPath>
+                        </webAppConfig>
+                    </configuration>
+                </plugin>
+
+            </plugins>
+        </pluginManagement>
+
+        <!-- build plugins; apply to all inheriting modules. Note that some 
+            plugins also come from the "super-POM" for the default bindings. For example, 
+            in the 'default' lifecycle, the resources, compiler, surefire, jar, install 
+            and deploy plugins are automatically included because they provide the default 
+            bindings. For the 'site' lifecycle, the site plugin is automatically included. -->
         <plugins>
-            <!-- REVIEW -->
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
@@ -77,29 +746,212 @@
                 <artifactId>docbkx-maven-plugin</artifactId>
                 <inherited>false</inherited>
             </plugin>
-        </plugins>
-    </build>
 
-    <reporting>
-        <plugins>
+            <plugin>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <!-- required while Isis is in the incubator -->
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache</groupId>
+                        <artifactId>apache-incubator-disclaimer-resource-bundle</artifactId>
+                        <version>1.1</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>process-remote-resources</id>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                            <appendedResourcesDirectory>${basedir}/${siteBaseDir}/src/main/appended-resources</appendedResourcesDirectory>
+                            <supplementalModels>
+                                <supplementalModel>supplemental-models.xml</supplementalModel>
+                            </supplementalModels>
+                            <resourceBundles>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                                <!-- required while Isis is in the incubator -->
+                                <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
+                            </resourceBundles>
+                            <properties>
+                                <projectTimespan>2010~2012</projectTimespan>
+                                <postDepListText>
+The above (auto-generated) list aggregates the dependencies (either directly
+or transitively) of all the modules that make up Apache Isis. You can use 
+mvn dependency:list or mvn dependency:tree to view dependencies by submodule.
+
+In addition, Isis includes a copy of JQuery core.  This is licensed under
+the MIT license [1].
+
+Note also that the BDD Viewer module [org.apache.isis.viewer:bdd-concordion]
+has an optional dependency on Concordion [2], which in turn depends upon
+XOM [3]. XOM is licensed under LGPL, which is a non-eligible 'category-X'
+license [4]. This transitive dependency to XOM has therefore been excluded.
+
+To use Isis' BDD Viewer, end-users must explicitly add in the XOM dependency
+in their own POMs.  The application generated by the Isis quickstart
+archetype includes this explicit dependency.
+
+[1] http://jquery.org/license/
+[2] http://concordion.org
+[3] http://www.xom.nu/
+[4] http://www.apache.org/legal/resolved.html#category-x
+                        </postDepListText>
+                            </properties>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <!--
+            run using:
+            mvn org.apache.rat.apache-rat-plugin:check
+             -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
+                    <excludeSubProjects>true</excludeSubProjects>
+                    <numUnapprovedLicenses>${rat.num}</numUnapprovedLicenses>
+                    <excludes>
+                        <exclude>**/*.project</exclude>
+                        <exclude>**/.classpath</exclude>
+                        <exclude>**/.settings/**</exclude>
+                        <exclude>**/*.launch</exclude>
+                        <exclude>src/site/resources/ide/eclipse/**</exclude>
+
+                        <exclude>**/*.java.hsp</exclude>
+                        <exclude>**/*.ucd</exclude>
+                        <exclude>**/*.ucls</exclude>
+
+                        <exclude>**/*.svg</exclude>
+                        <exclude>**/*.pdn</exclude>
+                        
+                        <exclude>**/*.json</exclude>
+                        <exclude>**/rat.txt</exclude>
+                        <exclude>**/isis.log</exclude>
+                        <exclude>**/datanucleus.log</exclude>
+
+                        <exclude>**/fixture-data</exclude>
+                        <exclude>**/test.data</exclude>
+                        <exclude>**/hsql-db/**</exclude>
+
+                        <exclude>**/xml/tmp/**</exclude>
+                        <exclude>**/xml/objects/**</exclude>
+                        <exclude>tmp/tests/**/.xml</exclude>
+
+                        <exclude>**/ldap-conf/**</exclude>
+
+                        <exclude>**/src/main/resources/resources.txt</exclude>
+                        <exclude>**/src/main/appended-resources/supplemental-models.xml</exclude>
+
+                        <exclude>**/*.min.js</exclude>
+                    </excludes>
+                    <licenses>
+                      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                        <licenseFamilyCategory>AL2  </licenseFamilyCategory>
+                        <licenseFamilyName>Apache License 2.0</licenseFamilyName>
+                        <notes/>
+                        <patterns>
+                          <pattern>Licensed to the Apache Software Foundation (ASF) under one</pattern>
+                        </patterns>
+                      </license>
+                      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                        <licenseFamilyCategory>JQRY</licenseFamilyCategory>
+                        <licenseFamilyName>MIT  </licenseFamilyName>
+                        <notes/>
+                        <patterns>
+                          <pattern>Dual licensed under the MIT or GPL Version 2 licenses.</pattern>
+                        </patterns>
+                      </license>
+                      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                        <licenseFamilyCategory>JMOCK</licenseFamilyCategory>
+                        <licenseFamilyName>JMock</licenseFamilyName>
+                        <notes/>
+                        <patterns>
+                          <pattern>Copyright (c) 2000-2007, jMock.org</pattern>
+                        </patterns>
+                      </license>
+                      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                        <licenseFamilyCategory>DOCBK</licenseFamilyCategory>
+                        <licenseFamilyName>DocBook 4.5</licenseFamilyName>
+                        <notes/>
+                        <patterns>
+                          <pattern>Permission to copy in any form is granted for use</pattern>
+                          <pattern>Permission to use, copy, modify and distribute the DocBook DTD</pattern>
+                          <pattern>is hereby granted in perpetuity, provided that the above copyright</pattern>
+                          <pattern>This is the catalog data file for DocBook XML V4.5. It is provided as</pattern>
+                          <pattern>XML Catalog data for DocBook XML V4.5</pattern>
+                          <pattern>DocBook additional general entities V4.5</pattern>
+                          <pattern>XML EXCHANGE TABLE MODEL DECLARATION MODULE</pattern>
+                        </patterns>
+                      </license>
+                      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                        <licenseFamilyCategory>W3C  </licenseFamilyCategory>
+                        <licenseFamilyName>XHTML</licenseFamilyName>
+                        <notes/>
+                        <patterns>
+                          <pattern>Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),</pattern>
+                        </patterns>
+                      </license>
+		            </licenses>
+		            <licenseFamilies>
+                      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                        <familyName>Apache License 2.0</familyName>
+                      </licenseFamily>
+                      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                        <familyName>MIT</familyName>
+                      </licenseFamily>
+                      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                        <familyName>JMock</familyName>
+                      </licenseFamily>
+                      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                        <familyName>DocBook 4.5</familyName>
+                      </licenseFamily>
+                      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                        <familyName>XHTML</familyName>
+                      </licenseFamily>
+		            </licenseFamilies>
+                </configuration>
+            </plugin>
+
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-project-info-reports-plugin</artifactId>
-                <version>${maven-project-info-reports-plugin}</version>
-                <inherited>false</inherited>
-                <reportSets>
-                    <reportSet>
-                        <inherited>false</inherited>
-                        <reports>
-                            <report>dependency-management</report>
-                            <report>plugins</report>
-                            <report>modules</report>
-                            <report>summary</report>
-                        </reports>
-                    </reportSet>
-                </reportSets>
+                <artifactId>maven-eclipse-plugin</artifactId>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+            </plugin>
+
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <!-- overriddes the default ('clean verify') -->
+                    <preparationGoals>clean install</preparationGoals>
+                    <autoVersionSubmodules>true</autoVersionSubmodules>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <skip>false</skip>
+                </configuration>
+            </plugin>
+
         </plugins>
+    </build>
+
+    <reporting>
+        <excludeDefaults>true</excludeDefaults>
     </reporting>
 
     <dependencyManagement>
@@ -143,67 +995,786 @@
                 <type>test-jar</type>
             </dependency>
 
-			<!-- runtime -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-runtime</artifactId>
+            <!-- runtime -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-runtime</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-runtime</artifactId>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-runtime</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			    <type>test-jar</type>
-			    <scope>test</scope>
-			</dependency>
-
-			<!-- bytecode-cglib -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-cglib-bytecode</artifactId>
+                <type>test-jar</type>
+                <scope>test</scope>
+            </dependency>
+
+            <!-- bytecode-cglib -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-cglib-bytecode</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
+            </dependency>
 
-			<!-- bytecode-javassist -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-javassist-bytecode</artifactId>
+            <!-- bytecode-javassist -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-javassist-bytecode</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
+            </dependency>
 
-			<!-- isis-webserver -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-webserver</artifactId>
+            <!-- isis-webserver -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-webserver</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
+            </dependency>
 
-			<!-- isis-integtestsupport -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-integtestsupport</artifactId>
+            <!-- isis-integtestsupport -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-integtestsupport</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
+            </dependency>
 
-			<!-- default implementations -->
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-inmemory-objectstore</artifactId>
+            <!-- default implementations -->
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-inmemory-objectstore</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-inmemory-profilestore</artifactId>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-inmemory-profilestore</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
-			<dependency>
-			    <groupId>org.apache.isis.core</groupId>
-			    <artifactId>isis-noop-security</artifactId>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.isis.core</groupId>
+                <artifactId>isis-noop-security</artifactId>
                 <version>0.3.1-SNAPSHOT</version>
-			</dependency>
+            </dependency>
+
+
+
+            <!-- JodaTime -->
+            <dependency>
+	    		<groupId>joda-time</groupId>
+	    		<artifactId>joda-time</artifactId>
+	            <version>2.1</version>
+            </dependency>
+
+            <!-- Logging -->
+	        <dependency>
+	            <groupId>org.slf4j</groupId>
+	            <artifactId>slf4j-log4j12</artifactId>
+                <version>1.7.2</version>
+	        </dependency>
+            <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>1.2.17</version>
+            </dependency>
+
+            <!-- Apache Commons -->
+            <dependency>
+                <groupId>commons-lang</groupId>
+                <artifactId>commons-lang</artifactId>
+                <version>2.6</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.2.1</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-cli</groupId>
+                <artifactId>commons-cli</artifactId>
+                <version>1.2</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-httpclient</groupId>
+                <artifactId>commons-httpclient</artifactId>
+                <version>3.1</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-codec</groupId>
+                <artifactId>commons-codec</artifactId>
+                <version>1.7</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-jxpath</groupId>
+                <artifactId>commons-jxpath</artifactId>
+                <version>1.3</version>
+            </dependency>
+
+            <!-- Google Guava (collections and commons) -->
+            <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>guava</artifactId>
+                <version>13.0.1</version>
+            </dependency>
+
+            <!-- Google Guice (dependency injection) -->
+            <dependency>
+                <groupId>com.google.inject</groupId>
+                <artifactId>guice</artifactId>
+                <version>3.0</version>
+            </dependency>
+
+            <!-- Bytecode libraries -->
+            <dependency>
+                <groupId>asm</groupId>
+                <artifactId>asm</artifactId>
+                <version>3.3.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.objenesis</groupId>
+                <artifactId>objenesis</artifactId>
+                <version>1.2</version>
+            </dependency>
+            <dependency>
+                <groupId>cglib</groupId>
+                <artifactId>cglib-nodep</artifactId>
+                <version>2.2.2</version>
+            </dependency>
+            <dependency>
+                <groupId>javassist</groupId>
+                <artifactId>javassist</artifactId>
+                <version>3.12.1.GA</version>
+            </dependency>
+
+            <!-- XML libraries -->
+            <dependency>
+                <groupId>crimson</groupId>
+                <artifactId>crimson</artifactId>
+                <version>1.1.3</version>
+            </dependency>
+            <dependency>
+                <groupId>dom4j</groupId>
+                <artifactId>dom4j</artifactId>
+                <version>1.6.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jdom</groupId>
+                <artifactId>jdom</artifactId>
+                <version>2.0.2</version>
+            </dependency>
+            
+            <dependency>
+                <groupId>com.thoughtworks.xstream</groupId>
+                <artifactId>xstream</artifactId>
+                <version>1.4.3</version>
+            </dependency>
+            <dependency>
+                <groupId>org.codehaus.jettison</groupId>
+                <artifactId>jettison</artifactId>
+                <version>1.3.2</version>
+            </dependency>
 
 
+            <!-- JSON libraries -->
+            <dependency>
+                <groupId>org.json</groupId>
+                <artifactId>json</artifactId>
+                <version>20090211</version>
+            </dependency>
+            <dependency>
+                <groupId>org.codehaus.jackson</groupId>
+                <artifactId>jackson-core-asl</artifactId>
+                <version>1.9.11</version>
+            </dependency>
+            <dependency>
+                <groupId>org.codehaus.jackson</groupId>
+                <artifactId>jackson-mapper-asl</artifactId>
+                <version>1.9.11</version>
+            </dependency>
+            
+
+            <!-- Databases -->
+            <dependency>
+              <groupId>org.hsqldb</groupId>
+              <artifactId>hsqldb</artifactId>
+              <version>2.2.9</version>
+              <scope>test</scope>
+            </dependency>
+            
+
+            <!-- RestEasy -->
+            <dependency>
+                <groupId>org.jboss.resteasy</groupId>
+                <artifactId>resteasy-jaxrs</artifactId>
+                <version>2.3.1.GA</version>
+                <exclusions>
+                    <!-- instead use org.apache.geronimo.specs:geronimo-servlet_2.5_spec -->
+                    <exclusion>
+                        <groupId>javax.servlet</groupId>
+                        <artifactId>servlet-api</artifactId>
+                    </exclusion>
+                    <!-- instead use org.apache.geronimo.specs:geronimo-annotation_1.0_spec -->
+                    <exclusion>
+                        <groupId>javax.annotation</groupId>
+                        <artifactId>jsr250-api</artifactId>
+                    </exclusion>
+                    <!-- org.apache.geronimo.specs:geronimo-activation_1.1_spec -->
+                    <exclusion>
+                        <groupId>javax.activation</groupId>
+                        <artifactId>activation</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+
+            <!-- predicate libraries -->
+            <dependency>
+                <groupId>org.hamcrest</groupId>
+                <artifactId>hamcrest-core</artifactId>
+                <version>1.3</version>
+            </dependency>
+            <dependency>
+                <groupId>org.hamcrest</groupId>
+                <artifactId>hamcrest-library</artifactId>
+                <version>1.3</version>
+            </dependency>
+
+            <!-- Web development -->
+            <dependency>
+                <groupId>org.mortbay.jetty</groupId>
+                <artifactId>jetty</artifactId>
+                <version>6.1.26</version>
+                <exclusions>
+                    <exclusion>
+		                <groupId>org.mortbay.jetty</groupId>
+		                <artifactId>servlet-api</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+	        <dependency>
+	            <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-jsp_2.1_spec</artifactId>
+	            <version>1.0.1</version>
+	        </dependency>
+	          <dependency>
+	            <groupId>org.apache.geronimo.specs</groupId>
+	            <artifactId>geronimo-jta_1.1_spec</artifactId>
+	            <version>1.1.1</version>
+	          </dependency>
+            
+            <dependency>
+                <groupId>org.htmlparser</groupId>
+                <artifactId>htmlparser</artifactId>
+                <version>2.1</version>
+                <exclusions>
+                	<exclusion>
+                		<groupId>com.sun</groupId>
+                		<artifactId>tools</artifactId>
+                	</exclusion>
+                </exclusions>
+            </dependency>
+
+            <!-- Testing libraries (not scope=test because used by viewer/junit) -->
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>4.11</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.jmock</groupId>
+                <artifactId>jmock</artifactId>
+                <version>2.5.1</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.jmock</groupId>
+                <artifactId>jmock-junit4</artifactId>
+                <version>2.5.1</version>
+                <exclusions>
+                    <exclusion>
+		        <!-- for dependency convergence -->
+                        <groupId>junit</groupId>
+                        <artifactId>junit-dep</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
+
+            <!-- transitively includes cglib:cglib-nodep:2.1_3 and org.objenesis:objenesis:1.0 -->
+            <dependency>
+                <groupId>org.jmock</groupId>
+                <artifactId>jmock-legacy</artifactId>
+                <version>2.5.1</version>
+                <exclusions>
+                	<exclusion>
+                		<groupId>cglib</groupId>
+                		<artifactId>cglib-nodep</artifactId>
+                	</exclusion>
+                	<exclusion>
+                		<groupId>org.objenesis</groupId>
+                		<artifactId>objenesis</artifactId>
+                	</exclusion>
+                </exclusions>
+            </dependency>
+
+            <!-- Testing libraries (scope=test) -->
+            <dependency>
+                <groupId>org.easymock</groupId>
+                <artifactId>easymock</artifactId>
+                <version>2.5.2</version>
+                <scope>test</scope>
+            </dependency>
+
+            <!-- Specs -->
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-servlet_2.5_spec</artifactId>
+                <version>1.2</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-annotation_1.0_spec</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-activation_1.1_spec</artifactId>
+                <version>1.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-javamail_1.4_spec</artifactId>
+                <version>1.7.1</version>
+            </dependency>
+
         </dependencies>
     </dependencyManagement>
 
+    <dependencies>
+        <!-- compile dependencies -->
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest-library</artifactId>
+        </dependency>
+
+        <!-- test dependencies -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.jmock</groupId>
+            <artifactId>jmock-junit4</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.jmock</groupId>
+            <artifactId>jmock-legacy</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>cglib</groupId>
+            <artifactId>cglib-nodep</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.objenesis</groupId>
+            <artifactId>objenesis</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <distributionManagement>
+        <site>
+            <id>isis-site</id>
+            <name>Apache Isis Site</name>
+            <url>${distMgmtSiteUrl}</url>
+        </site>
+    </distributionManagement>
+
+    <profiles>
+        <profile>
+            <id>m2e</id>
+            <activation>
+                <property>
+                    <name>m2e.version</name>
+                </property>
+            </activation>
+            <build>
+                <directory>target-ide</directory>
+            </build>
+        </profile>
+        
+        <profile>
+            <id>site-full</id>
+            <activation>
+                <property>
+                    <name>site</name>
+                    <value>full</value>
+                </property>
+            </activation>
+            <reporting>
+                <plugins>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-report-plugin</artifactId>
+                        <version>2.5</version>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <version>2.8</version>
+                        <configuration>
+                            <debug>true</debug>
+                            <minmemory>128m</minmemory>      
+                            <maxmemory>1024m</maxmemory>
+                            <quiet>true</quiet>
+                            <doctitle>${project.name} ${project.version}</doctitle>
+                            <windowtitle>${project.name} ${project.version}</windowtitle>
+                            <testDoctitle>${project.name} ${project.version}
+                                (TEST API)</testDoctitle>
+                            <testWindowtitle>${project.name} ${project.version}
+                                (TEST API)</testWindowtitle>
+                            <splitindex>true</splitindex>
+                            <encoding>${project.build.sourceEncoding}</encoding>
+                            <links>
+                                <link>http://java.sun.com/j2se/1.6.0/docs/api</link>
+                                <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+                                <link>http://java.sun.com/j2se/1.4.2/docs/api</link>
+                                <link>http://java.sun.com/j2ee/1.4/docs/api</link>
+                            </links>
+                            <linksource>true</linksource>
+                            <!-- http://jira.codehaus.org/browse/MJAVADOC-268 
+                                and http://jira.codehaus.org/browse/MJAVADOC-284 -->
+                            <detectOfflineLinks>false</detectOfflineLinks>
+                            <!-- default value is as given; referenced by 
+                                other plugins so specified explicitly -->
+                            <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
+                        </configuration>
+                        <reportSets>
+                            <reportSet>
+                                <reports>
+                                    <report>javadoc</report>
+                                    <report>test-javadoc</report>
+                                    <!--
+                                    removed because hitting bug 
+                                    (http://jira.codehaus.org/browse/MJAVADOC-298) 
+                                    -->
+                                </reports>
+                            </reportSet>
+                        </reportSets>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>cobertura-maven-plugin</artifactId>
+                        <version>2.4</version>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-checkstyle-plugin</artifactId>
+                        <version>2.6</version>
+                        <configuration>
+                            <configLocation>${checkstyle.configLocation}</configLocation>
+                        </configuration>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-pmd-plugin</artifactId>
+                        <version>2.5</version>
+                        <configuration>
+                            <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
+                            <minimumTokens>100</minimumTokens>
+                            <linkXref>true</linkXref>
+                            <targetJdk>${compileTarget}</targetJdk>
+                            <rulesets>
+                                <ruleset>${pmd.ruleset}</ruleset>
+                            </rulesets>
+                            <excludeRoots>
+                                <excludeRoot>
+                                    ${project.build.directory}/generated-sources/modello
+                                </excludeRoot>
+                                <excludeRoot>
+                                    ${project.build.directory}/generated-sources/plugin
+                                </excludeRoot>
+                            </excludeRoots>
+                        </configuration>
+                    </plugin>
+
+
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>javancss-maven-plugin</artifactId>
+                        <version>2.0</version>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>jdepend-maven-plugin</artifactId>
+                        <version>2.0-beta-2</version>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-jxr-plugin</artifactId>
+                        <version>2.2</version>
+                        <configuration>
+                            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+                            <linkJavadoc>true</linkJavadoc>
+                            <javadocDir>${project.build.directory}/apidocs</javadocDir>
+                        </configuration>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>taglist-maven-plugin</artifactId>
+                        <version>2.4</version>
+                        <configuration>
+                            <!-- causes out of memory <aggregate>true</aggregate> -->
+                            <tagListOptions>
+                                <tagClasses>
+                                    <tagClass>
+                                        <displayName>Todo Work</displayName>
+                                        <tags>
+                                            <tag>
+                                                <matchString>todo</matchString>
+                                                <matchType>ignoreCase</matchType>
+                                            </tag>
+                                            <tag>
+                                                <matchString>FIXME</matchString>
+                                                <matchType>exact</matchType>
+                                            </tag>
+                                            <tag>
+                                                <matchString>REVIEW</matchString>
+                                                <matchType>exact</matchType>
+                                            </tag>
+                                            <tag>
+                                                <matchString>hack</matchString>
+                                                <matchType>ignoreCase</matchType>
+                                            </tag>
+                                        </tags>
+                                    </tagClass>
+                                </tagClasses>
+                            </tagListOptions>
+                        </configuration>
+                    </plugin>
+
+                    <!-- TO LOOK INTO <plugin> <groupId>org.codehaus.sonar</groupId> 
+                        <artifactId>sonar-maven-plugin</artifactId> <version>1.10.1</version> </plugin> -->
+
+                </plugins>
+            </reporting>
+        </profile>
+
+        <profile>
+            <id>projectreports-pom</id>
+            <activation>
+                <property>
+                    <name>project.packaging</name>
+                    <value>pom</value>
+                </property>
+            </activation>
+            <reporting>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-project-info-reports-plugin</artifactId>
+                        <version>2.2</version>
+                        <inherited>false</inherited>
+                        <reportSets>
+                            <reportSet>
+                                <inherited>false</inherited>
+                                <reports>
+                                    <report>dependency-management</report>
+                                    <report>plugins</report>
+                                    <report>modules</report>
+                                    <report>summary</report>
+                                </reports>
+                            </reportSet>
+                        </reportSets>
+                    </plugin>
+                </plugins>
+            </reporting>
+        </profile>
+
+        <profile>
+            <id>projectreports-jar</id>
+            <activation>
+                <property>
+                    <name>project.packaging</name>
+                    <value>jar</value>
+                </property>
+            </activation>
+            <reporting>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-project-info-reports-plugin</artifactId>
+                        <version>2.2</version>
+                        <inherited>false</inherited>
+                        <reportSets>
+                            <reportSet>
+                                <reports>
+                                    <report>scm</report>
+                                    <report>license</report>
+                                    <report>project-team</report>
+                                    <report>issue-tracking</report>
+                                    <report>cim</report>
+                                    <report>mailing-list</report>
+                                    <report>dependency-management</report>
+                                    <report>plugin-management</report>
+                                    <report>plugins</report>
+                                    <report>modules</report>
+                                    <!-- <report>dependencies</report> -->
+                                    <!-- <report>dependency-convergence</report> -->
+                                    <!-- <report>summary</report> -->
+                                </reports>
+                            </reportSet>
+                        </reportSets>
+                    </plugin>
+                </plugins>
+            </reporting>
+        </profile>
+
+        <profile>
+            <id>deploy-local</id>
+            <activation>
+                <property>
+                    <name>deploy</name>
+                    <value>local</value>
+                </property>
+            </activation>
+            <!-- to deploy locally -->
+            <properties>
+                <distMgmtSiteUrl>file:///tmp/m2-sites/isis</distMgmtSiteUrl>
+            </properties>
+        </profile>
+
+        <!-- overrides inherited configuration to allow regular deploy plugin 
+            to work to snapshot repo. Use: -D deploy=snapshot -D modules=standard -D 
+            distMgmtSnapshotsUrl=... where the last property is the repo URL to deploy 
+            to -->
+        <profile>
+            <id>deploy-snapshot</id>
+            <activation>
+                <property>
+                    <name>deploy</name>
+                    <value>snapshot</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-deploy-plugin</artifactId>
+                        <inherited>true</inherited>
+                        <configuration>
+                            <skip>false</skip>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        
+        <!--  provide ability to switch off enforcer plugin -->
+  		<profile>
+  			<id>enforcer-validate</id>
+  			<activation>
+  				<property>
+  					<!-- set by default -->
+  					<name>isis-parent.enforcer.validate</name>
+  					<value>true</value>
+  				</property>
+  			</activation>
+  			<build>
+  				<pluginManagement>
+  					<plugins>
+		                <plugin>
+		                    <groupId>org.apache.maven.plugins</groupId>
+		                    <artifactId>maven-enforcer-plugin</artifactId>
+		                    <version>1.0.1</version>
+		                    <configuration>
+		                        <rules>
+		                            <requireMavenVersion>
+		                                <version>[2.2.1,)</version>
+		                            </requireMavenVersion>
+		                            <requireJavaVersion>
+		                                <version>[1.6.0-11,)</version>
+		                            </requireJavaVersion>
+		                            <requirePluginVersions>
+		                                <message>All plugin versions must be
+		                                    defined!</message>
+		                                <banLatest>true</banLatest>
+		                                <banRelease>true</banRelease>
+		                            </requirePluginVersions>
+		                            <DependencyConvergence/>
+		                        </rules>
+		                    </configuration>
+		                    <!-- goal:enforce supposedly binds to phase:validate, 
+		                        but explicit binding seems to be required -->
+		                    <executions>
+		                        <execution>
+		                            <id>validate-enforce</id>
+		                            <phase>validate</phase>
+		                            <goals>
+		                                <goal>enforce</goal>
+		                            </goals>
+		                        </execution>
+		                    </executions>
+        		        </plugin>
+					</plugins>
+  				
+  				</pluginManagement>
+  				<plugins>
+		            <plugin>
+		                <groupId>org.apache.maven.plugins</groupId>
+		                <artifactId>maven-enforcer-plugin</artifactId>
+		            </plugin>
+  				</plugins>
+  			</build>
+			
+		</profile>
+        
+    </profiles>
+
+    <modules>
+        <module>applib</module>
+        <module>metamodel</module>
+        <module>runtime</module>
+        <module>webserver</module>
+
+        <module>bytecode-cglib</module>
+        <module>bytecode-javassist</module>
+        
+        <module>objectstore-inmemory</module>
+        <module>profilestore-inmemory</module>
+        <module>security-noop</module>
+
+        <module>unittestsupport</module>
+        <module>integtestsupport</module>
+
+        <module>tck</module>
+    </modules>
+
+
 </project>
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/profilestore-inmemory/pom.xml
----------------------------------------------------------------------
diff --git a/core/profilestore-inmemory/pom.xml b/core/profilestore-inmemory/pom.xml
index bec4114..d97afc3 100644
--- a/core/profilestore-inmemory/pom.xml
+++ b/core/profilestore-inmemory/pom.xml
@@ -36,7 +36,7 @@
 	</properties>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <reporting>
         <plugins>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/runtime/pom.xml
----------------------------------------------------------------------
diff --git a/core/runtime/pom.xml b/core/runtime/pom.xml
index 947952c..5aa7199 100644
--- a/core/runtime/pom.xml
+++ b/core/runtime/pom.xml
@@ -36,7 +36,7 @@
     </properties>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
 	<build>
 		<resources>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/security-noop/pom.xml
----------------------------------------------------------------------
diff --git a/core/security-noop/pom.xml b/core/security-noop/pom.xml
index 0d35572..dcce19e 100644
--- a/core/security-noop/pom.xml
+++ b/core/security-noop/pom.xml
@@ -36,7 +36,7 @@
 	</properties>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <reporting>
         <plugins>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/unittestsupport/pom.xml
----------------------------------------------------------------------
diff --git a/core/unittestsupport/pom.xml b/core/unittestsupport/pom.xml
index 28943b6..e1e412f 100644
--- a/core/unittestsupport/pom.xml
+++ b/core/unittestsupport/pom.xml
@@ -41,7 +41,7 @@
     </properties>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <reporting>
         <plugins>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/core/webserver/pom.xml
----------------------------------------------------------------------
diff --git a/core/webserver/pom.xml b/core/webserver/pom.xml
index f81cadf..392d528 100644
--- a/core/webserver/pom.xml
+++ b/core/webserver/pom.xml
@@ -36,7 +36,7 @@
     </properties>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <reporting>
         <plugins>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/example/domain-service/email-service/pom.xml
----------------------------------------------------------------------
diff --git a/example/domain-service/email-service/pom.xml b/example/domain-service/email-service/pom.xml
index 095a0ef..8b8e7ac 100644
--- a/example/domain-service/email-service/pom.xml
+++ b/example/domain-service/email-service/pom.xml
@@ -34,7 +34,7 @@
     <version>0.3.1-SNAPSHOT</version>
     
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <build>
         <plugins>

http://git-wip-us.apache.org/repos/asf/isis/blob/7aa7f070/isis-parent/pom.xml
----------------------------------------------------------------------
diff --git a/isis-parent/pom.xml b/isis-parent/pom.xml
index 2f89961..121ba38 100644
--- a/isis-parent/pom.xml
+++ b/isis-parent/pom.xml
@@ -105,7 +105,7 @@
     </scm>
 
     <!-- used in Site generation for relative references. -->
-    <url>http://incubator.apache.org/isis/${relativeUrl}</url>
+    <url>http://isis.apache.org/${relativeUrl}</url>
 
     <mailingLists>
         <mailingList>