- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>2.10</version>
- </extension>
- </extensions>
- <sourceDirectory>src</sourceDirectory>
- <testSourceDirectory>ext/test</testSourceDirectory>
- <resources>
- <resource>
- <directory>src</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>.</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>.*</exclude>
- <exclude>.*/**</exclude>
- <exclude>src/**</exclude>
- <exclude>ext/**</exclude>
- <exclude>target/**</exclude>
- <exclude>bin/**</exclude>
- <exclude>pom.xml</exclude>
- <exclude>build.properties</exclude>
- <exclude>*.bnd</exclude>
- <exclude>*.target</exclude>
- </excludes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>ext/test</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
- <pluginManagement>
- <plugins>
- <!-- Maven -->
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.3</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <compilerId>eclipse</compilerId>
- <!-- Required for compliance level, see http://jira.codehaus.org/browse/PLXCOMP-231 -->
- <optimize>true</optimize>
- <!-- Hack to work around issues with generated annotations : -->
- <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
- <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-compiler-eclipse</artifactId>
- <version>2.6</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <excludes>
- <!-- Prevents source jars to contain misleading data -->
- <exclude>plugin.xml</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.6.1</version>
- <configuration>
- <filesets>
- <fileset>
- <directory>META-INF</directory>
- <includes>
- <include>MANIFEST.MF</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <archive>
- <manifestFile>META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.9</version>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.1</version>
- </plugin>
- <!-- Apache -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.7</version>
- <extensions>true</extensions>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <_include>bnd.bnd</_include>
- <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
- <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
- <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
- <!-- SLC specific instructions -->
- <SLC-Category>${project.groupId}</SLC-Category>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Codehaus -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <version>2.1.4</version>
- <!-- <version>2.1-alpha-1</version> -->
- <extensions>true</extensions>
- <configuration>
- <version>${project.version}</version>
- <distribution>argeo${argeo.rpm.release}</distribution>
- <group>Applications/System</group>
- <prefix>/usr</prefix>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.3.2</version>
- </plugin>
- <!-- Argeo -->
- <plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
- <version>1.1.5</version>
- </plugin>
- <!-- Site -->
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.4</version>
- <configuration>
- <siteDirectory>doc/site</siteDirectory>
- <generateSitemap>true</generateSitemap>
- <skip>true</skip>
- <reportPlugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.8.1</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>index</report>
- <report>summary</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.3</version>
- <configuration>
- <failOnError>false</failOnError>
- <encoding>UTF-8</encoding>
- <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
- <detectLinks>true</detectLinks>
- <links>
- <!-- Java -->
- <link>http://docs.oracle.com/javase/6/docs/api</link>
- <!-- OSGi -->
- <link>http://www.osgi.org/javadoc/r4v42</link>
- <!-- Spring -->
- <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
- <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
- <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
- <!-- JCR -->
- <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
- <!-- Eclipse -->
- <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
- </links>
- </configuration>
- <reportSets>
- <reportSet>
- <id>aggregate</id>
- <reports>
- <report>aggregate</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/demo/**/*</exclude>
- <exclude>**/internal/**/*</exclude>
- </excludes>
- </configuration>
- <reportSets>
- <reportSet>
- <id>aggregate</id>
- <reports>
- <report>aggregate</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </reportPlugins>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>