| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 Unless required by |
| applicable law or agreed to in writing, software distributed |
| under the License is distributed on an "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions |
| and limitations under the License. |
| --> |
| |
| <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.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>9</version> |
| </parent> |
| |
| <!-- Project Information --> |
| |
| <groupId>org.apache.chemistry.opencmis</groupId> |
| <artifactId>chemistry-opencmis</artifactId> |
| <name>Apache Chemistry OpenCMIS</name> |
| <version>0.7.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <organization> |
| <name>The Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| |
| <url>http://chemistry.apache.org/java/</url> |
| |
| <ciManagement> |
| <system>Hudson Zones Apache</system> |
| <url>http://hudson.zones.apache.org/hudson/view/Chemistry/</url> |
| </ciManagement> |
| <inceptionYear>2009</inceptionYear> |
| <description> |
| Apache Chemistry OpenCMIS is an open source implementation of the OASIS CMIS specification. |
| </description> |
| |
| <licenses> |
| <license> |
| <name>Apache 2</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/chemistry/opencmis/trunk</connection> |
| <developerConnection>scn:svn:https://svn.apache.org/repos/asf/chemistry/opencmis/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/chemistry/opencmis/trunk</url> |
| </scm> |
| |
| <distributionManagement> |
| <site> |
| <id>${site.staging.id}</id> |
| <url>${site.staging.url}</url> |
| </site> |
| </distributionManagement> |
| |
| <issueManagement> |
| <system>Jira</system> |
| <url>https://issues.apache.org/jira/browse/CMIS</url> |
| </issueManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Chemistry Development List</name> |
| <subscribe>dev-subscribe@chemistry.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@chemistry.apache.org</unsubscribe> |
| <post>dev@chemistry.apache.org</post> |
| <archive> |
| http://mail-archives.apache.org/mod_mbox/chemistry-dev/ |
| </archive> |
| </mailingList> |
| <mailingList> |
| <name>Chemistry Source Control List</name> |
| <subscribe>commits-subscribe@chemistry.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@chemistry.apache.org</unsubscribe> |
| <post>commits@chemistry.apache.org</post> |
| <archive> |
| http://mail-archives.apache.org/mod_mbox/chemistry-commits/ |
| </archive> |
| </mailingList> |
| </mailingLists> |
| |
| <developers> |
| <developer> |
| <name>Florian Müller</name> |
| <id>fmui</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Jens Hübel</name> |
| <id>jenshuebel</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>David Ward</name> |
| <id>dward</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Stephan Klevenz</name> |
| <id>klevenzs</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| <email>sklevenz@apache.org</email> |
| <timezone>CET</timezone> |
| </developer> |
| <developer> |
| <name>Martin Hermes</name> |
| <id>hermesm</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Paul Goetz</name> |
| <id>paulgoetz</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>David Caruana</name> |
| <id>dcaruana</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Gabriele Columbro</name> |
| <id>gabriele</id> |
| <email>gabriele@apache.org</email> |
| <roles> |
| <role>release manager</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Florent Guillaume</name> |
| <id>fguillaume</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Stefane Fermigier</name> |
| <id>sfermigier</id> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| </developers> |
| |
| |
| <!-- Project Environment --> |
| <modules> |
| <module>chemistry-opencmis-commons/chemistry-opencmis-commons-api</module> |
| <module>chemistry-opencmis-commons/chemistry-opencmis-commons-impl</module> |
| <module>chemistry-opencmis-client/chemistry-opencmis-client-api</module> |
| <module>chemistry-opencmis-client/chemistry-opencmis-client-impl</module> |
| <module>chemistry-opencmis-client/chemistry-opencmis-client-bindings</module> |
| <module>chemistry-opencmis-client/chemistry-opencmis-client-bindings-websphere</module> |
| <module>chemistry-opencmis-android/chemistry-opencmis-android-client</module> |
| <module>chemistry-opencmis-server/chemistry-opencmis-server-support</module> |
| <module>chemistry-opencmis-server/chemistry-opencmis-server-bindings</module> |
| <module>chemistry-opencmis-server/chemistry-opencmis-server-inmemory</module> |
| <module>chemistry-opencmis-server/chemistry-opencmis-server-fileshare</module> |
| <module>chemistry-opencmis-server/chemistry-opencmis-server-jcr</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-fit</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-tck</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-tools</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-util</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-browser</module> |
| <module>chemistry-opencmis-test/chemistry-opencmis-test-browser-app</module> |
| <module>chemistry-opencmis-workbench/chemistry-opencmis-workbench</module> |
| <module>chemistry-opencmis-osgi/chemistry-opencmis-osgi-client</module> |
| <module>chemistry-opencmis-osgi/chemistry-opencmis-osgi-server</module> |
| <!-- <module>chemistry-opencmis-workbench/chemistry-opencmis-workbench-webstart</module> --> |
| <module>chemistry-opencmis-dist</module> |
| </modules> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compile.source>1.5</maven.compile.source> |
| <maven.compile.target>1.5</maven.compile.target> |
| <docs.start.url>${project.url}/opencmis.html</docs.start.url> |
| <docs.download.directory>${project.build.directory}/downloaded-site</docs.download.directory> |
| <!-- |
| | Here we configure Maven documentation site (incl. Javadocs) deployment |
| | |
| | By default site is deployed to: |
| | https://svn.apache.org/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven/ |
| | where site.label = project.version |
| |
| | For details/changes see http://chemistry.apache.org/java/documentation-lifecycle.html |
| | |
| | Note: Site label (or any other property like site.staging.url) can be overriden on the command line to deploy to distinct location during site development |
| --> |
| <site.label>${project.version}</site.label> |
| <site.staging.id>apache-site-staging</site.staging.id> |
| <!-- We're using wagon-svn to deploy directly to svn.apache.org to feed CMS with generated docs --> |
| <site.staging.protocol>svn:https</site.staging.protocol> |
| <site.staging.host>svn.apache.org</site.staging.host> |
| <site.staging.folder>/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven</site.staging.folder> |
| <site.staging.url>${site.staging.protocol}://${site.staging.host}${site.staging.folder}</site.staging.url> |
| <parentBasedir>${project.basedir}</parentBasedir> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr3-maven-plugin</artifactId> |
| <version>3.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>maven-gunit-plugin</artifactId> |
| <version>3.3</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.1-beta-1</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>buildnumber-maven-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>create</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <doCheck>false</doCheck> |
| <doUpdate>false</doUpdate> |
| <getRevisionOnlyOnce>true</getRevisionOnlyOnce> |
| <revisionOnScmFailure>?</revisionOnScmFailure> |
| <timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <archiveClasses>true</archiveClasses> |
| <attachClasses>true</attachClasses> |
| <archive> |
| <manifestEntries> |
| <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK> |
| <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> |
| <X-Apache-SVN-Revision>${buildNumber}</X-Apache-SVN-Revision> |
| <Implementation-Title>${project.name}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id> |
| <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <useReleaseProfile>false</useReleaseProfile> |
| <!-- TODO: Add autogenerated JIRA release notes --> |
| <preparationGoals>clean verify</preparationGoals> |
| <goals>deploy site</goals> |
| <arguments>-Papache-release</arguments> |
| <!-- Add this profile to also deploy the site upon release --> |
| <!-- <arguments>-Papache-release,site-deploy</arguments> --> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <username>${apache.username}</username> |
| <password>${apache.password}</password> |
| <!-- To lock files during release --> |
| <useEditMode>true</useEditMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <inherited>true</inherited> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <target>${maven.compile.target}</target> |
| <source>${maven.compile.source}</source> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <inherited>true</inherited> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <includePom>true</includePom> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| <workspace>.</workspace> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>maven-version-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.7.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK> |
| <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> |
| <X-Apache-SVN-Revision>${buildNumber}</X-Apache-SVN-Revision> |
| <Implementation-Title>${project.name}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id> |
| <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.code.maven-svn-wagon</groupId> |
| <artifactId>maven-svn-wagon</artifactId> |
| <version>1.4</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| <extensions> |
| <extension> |
| <groupId>com.google.code.maven-svn-wagon</groupId> |
| <artifactId>maven-svn-wagon</artifactId> |
| <version>1.4</version> |
| </extension> |
| </extensions> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>jboss.public</id> |
| <name>JBoss repository (for JAX-WS 2.1.7)</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
| </repository> |
| <repository> |
| <id>maven2-repository.dev.java.net</id> |
| <name>Java.net Repository for Maven 2</name> |
| <url>http://download.java.net/maven/2/</url> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>maven2-repository.dev.java.net</id> |
| <url>http://download.java.net/maven/2/</url> |
| </pluginRepository> |
| <pluginRepository> |
| <id>jboss-public</id> |
| <name>Jboss Repository for Maven 2</name> |
| <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.6.4</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.7</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.8.1</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| <reportsDirectories> |
| <reportsDirectory>${project.build.directory}/surefire-reports/</reportsDirectory> |
| <reportsDirectory>${project.build.directory}/failsafe-reports/</reportsDirectory> |
| </reportsDirectories> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.0.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <inherited>false</inherited> |
| <reportSets> |
| <reportSet> |
| <id>aggregate</id> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <doctitle>Apache Chemistry OpenCMIS ${project.version}</doctitle> |
| <windowtitle>Apache Chemistry OpenCMIS ${project.version}</windowtitle> |
| <!-- TODO: Update this for new packages --> |
| <groups> |
| <group> |
| <title>OpenCMIS Client API</title> |
| <packages>org.apache.chemistry.opencmis.client.api:org.apache.chemistry.opencmis.client.util</packages> |
| </group> |
| <group> |
| <title>OpenCMIS Commons API</title> |
| <packages>org.apache.chemistry.opencmis.commons:org.apache.chemistry.opencmis.commons.*</packages> |
| </group> |
| <group> |
| <title>OpenCMIS Bindings SPI</title> |
| <packages>org.apache.chemistry.opencmis.client.bindings</packages> |
| </group> |
| <group> |
| <title>OpenCMIS Server</title> |
| <packages>org.apache.chemistry.opencmis.commons.server:org.apache.chemistry.opencmis.commons.impl.server:org.apache.chemistry.opencmis.server.support:org.apache.chemistry.opencmis.server.support.query</packages> |
| </group> |
| <group> |
| <title>OpenCMIS TCK</title> |
| <packages>org.apache.chemistry.opencmis.tck*</packages> |
| </group> |
| </groups> |
| <excludePackageNames>org.apache.chemistry.opencmis.commons.impl:org.apache.chemistry.opencmis.commons.impl.dataobjects:org.apache.chemistry.opencmis.client.runtime:org.apache.chemistry.opencmis.client.runtime.*:org.apache.chemistry.opencmis.commons.impl.jaxb:org.apache.chemistry.opencmis.client.bindings.impl:org.apache.chemistry.opencmis.client.bindings.cache:org.apache.chemistry.opencmis.client.bindings.spi:org.apache.chemistry.opencmis.server.impl:org.apache.chemistry.opencmis.fit:org.apache.chemistry.opencmis.util.repository:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.inmemory:org.apache.chemistry.opencmis.fileshare:org.apache.chemistry.opencmis.jcr:org.apache.chemistry.opencmis.browser:org.apache.chemistry.opencmis.workbench:org.apache.chemistry.opencmis.commander:org.apache.chemistry.opencmis.client.osgi</excludePackageNames> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <!-- |
| Extending the default -Papache-release profile used *only* |
| during releases |
| --> |
| <profile> |
| <id>apache-release</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <!-- Generates aggregated javadocs --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>generate-docs</id> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- |
| We want to package up licenses |
| resources in the JARs produced |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.2</version> |
| <configuration> |
| <appendedResourcesDirectory>${parentBasedir}/src/main/appended-resources</appendedResourcesDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webResources> |
| <resource> |
| <!-- this is relative to the pom.xml directory --> |
| <directory>${project.build.directory}/maven-shared-archive-resources</directory> |
| <includes> |
| <include>META-INF/*</include> |
| </includes> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>site-deploy</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>site-deploy-toplevel</id> |
| <goals> |
| <goal>deploy</goal> |
| </goals> |
| <phase>site</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| |
| </project> |