parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>eu.jsan</groupId>
<artifactId>parent</artifactId>
<version>1.0.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2015 Jorge Sánchez (contact@jsan.eu)
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>
<artifactId>oss-parent</artifactId>
<groupId>org.sonatype.oss</groupId>
<version>9</version>
</parent>
<prerequisites>
<maven>3.0.4</maven>
</prerequisites>
<groupId>eu.jsan</groupId>
<artifactId>parent</artifactId>
<version>1.0.2</version>
<packaging>pom</packaging>
<inceptionYear>2015</inceptionYear>
<name>JSan Parent</name>
<description>Parent POM.xml with pre-configured features</description>
<url>https://projects.lucia.space/${project.artifactId}</url>
<developers>
<developer>
<name>Jorge Sánchez</name>
<email>contact@jsan.eu</email>
<url>http://jsan.eu</url>
</developer>
</developers>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<system>GitLab</system>
<url>https://git.lucia.space/eu.jsan/${project.artifactId}/issues</url>
</issueManagement>
<scm>
<connection>scm:git:git@git.lucia.space:eu.jsan/${project.artifactId}.git</connection>
<developerConnection>scm:git:git@git.lucia.space:eu.jsan/${project.artifactId}.git</developerConnection>
<url>https://git.lucia.space/eu.jsan/${project.artifactId}</url>
<tag>parent-1.0.2</tag>
</scm>
<ciManagement>
<system>Jenkins</system>
<url>https://builds.lucia.space/job/${project.artifactId}/</url>
</ciManagement>
<dependencyManagement>
<dependencies>
<dependency>
<!--
Spring Framework
@see http://docs.spring.io/spring/docs/current/spring-framework-reference/html/
-->
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>4.2.3.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<!--
Google Guava
@see https://code.google.com/p/guava-libraries/
-->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
<dependency>
<!--
Commons Lang3
@see http://commons.apache.org/lang/
-->
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<!--
Commons Math3
@see http://commons.apache.org/proper/commons-math/
-->
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.5</version>
</dependency>
<dependency>
<!--
Base64 and other codecs
@see http://commons.apache.org/codec/
-->
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<!--
Net utils
@see http://commons.apache.org/net/
-->
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<!--
File/stream manipulations
@see http://commons.apache.org/io/
-->
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<!--
Collections utils
@see http://commons.apache.org/proper/commons-collections/
-->
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.1</version>
</dependency>
<dependency>
<!--
Runtime component of AspectJ.
@see http://www.aspectj.org/
-->
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.8.7</version>
</dependency>
<dependency>
<!--
JSR-303 Vaidation API.
@see http://beanvalidation.org
-->
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
</dependency>
<dependency>
<!--
JSR-303 implementation by Hibernate.
-->
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.2.2.Final</version>
</dependency>
<dependency>
<!-- Required for Hibernate validator -->
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
<version>3.0.1-b04</version>
</dependency>
<dependency>
<!-- Servlet API -->
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<!--
Compile-time annotations.
@see http://projectlombok.org/features/index.html
-->
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- XML APIs. -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<!-- Version 2.0.2 is outdated (Dec, 2002), 1.4.01 is the latest. -->
<version>1.4.01</version>
</dependency>
<dependency>
<!--
Testing framework
@see http://testng.org/
-->
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.9</version>
</dependency>
<dependency>
<!--
Mockito is used as a mocking library during testing.
Other options: jMock.
@link http://www.mockito.org/
-->
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.0.31-beta</version>
</dependency>
</dependencies>
</dependencyManagement>
<pluginRepositories>
<pluginRepository>
<id>oss.sonatype.org</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
<build>
<resources>
<!--
Filter resources in "process-resources" phase
@link http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
-->
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<!--
Filter resources in "process-resources" phase
@link http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
-->
<testResource>
<directory>${basedir}/src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<optimize>true</optimize>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>
<arg>-Xlint</arg>
<arg>-Werror</arg>
<arg>-Xlint:-path</arg>
<!-- @see https://blogs.oracle.com/darcy/entry/bootclasspath_older_source -->
<arg>-Xlint:-options</arg>
<!-- @see http://netbeans.org/bugzilla/show_bug.cgi?format=multiple&id=208666 -->
<!-- this is to avoid a problem with ANTLR and JDK7 -->
<arg>-Xlint:-classfile</arg>
<!-- ignore APT warnings -->
<arg>-Xlint:-processing</arg>
</compilerArgs>
<testExcludes>
<exclude>**/package-info.java</exclude>
</testExcludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<forkCount>0</forkCount>
<parallel>all</parallel>
<parallelTestsTimeoutForcedInSeconds>0</parallelTestsTimeoutForcedInSeconds>
<parallelTestsTimeoutInSeconds>0</parallelTestsTimeoutInSeconds>
<perCoreThreadCount>true</perCoreThreadCount>
<runOrder>random</runOrder>
<threadCount>8</threadCount>
</configuration>
</plugin>
<plugin>
<artifactId>maven-help-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<createChecksum>true</createChecksum>
</configuration>
</plugin>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<mergeUserSettings>true</mergeUserSettings>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<debug>false</debug>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<noLog>false</noLog>
<postBuildHookScript>verify</postBuildHookScript>
<preBuildHookScript>setup</preBuildHookScript>
<projectsDirectory>src/it</projectsDirectory>
<settingsFile>${basedir}/src/it/settings.xml</settingsFile>
<showErrors>true</showErrors>
<showVersion>false</showVersion>
<streamLogs>true</streamLogs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<!--
Reflow Maven Skin
@see http://andriusvelykis.github.io/reflow-maven-skin/
-->
<groupId>lt.velykis.maven.skins</groupId>
<artifactId>reflow-velocity-tools</artifactId>
<version>1.1.1</version>
</dependency>
<!-- Reflow skin requires Velocity >= 1.7 -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19</version>
<configuration>
<useFile>false</useFile>
<runOrder>random</runOrder>
<trimStackTrace>false</trimStackTrace>
<failIfNoTests>false</failIfNoTests>
<failIfNoSpecifiedTests>true</failIfNoSpecifiedTests>
<parallel>all</parallel>
<parallelTestsTimeoutInSeconds>0</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>0</parallelTestsTimeoutForcedInSeconds>
<perCoreThreadCount>true</perCoreThreadCount>
<threadCount>4</threadCount>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<!--
Sources Compiler
@see https://maven.apache.org/plugins/maven-compiler-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<!--
Creates jar archive
@see https://maven.apache.org/plugins/maven-source-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--
Remove files generated at build-time
@see https://maven.apache.org/plugins/maven-clean-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<plugin>
<!--
Add artifact(s) to a remote repository
@see https://maven.apache.org/plugins/maven-deploy-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
<!--
Add artifact(s) to the local repository
@see https://maven.apache.org/plugins/maven-install-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<plugin>
<!--
Copy project resources to the output directory
@see https://maven.apache.org/plugins/maven-resources-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<!--
Generate site for the project
@see https://maven.apache.org/plugins/maven-site-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<generateSitemap>true</generateSitemap>
</configuration>
</plugin>
<plugin>
<!--
Build jars
https://maven.apache.org/plugins/maven-jar-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<!--
Uses the Javadoc tool to generate javadocs
@see https://maven.apache.org/plugins/maven-javadoc-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<!--
Add license headers to source files
@see http://code.mycila.com/license-maven-plugin/
-->
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.11</version>
<configuration>
<header>${license.header}</header>
<properties>
<owner>${license.owner}</owner>
<email>${license.email}</email>
</properties>
<excludes>
<exclude>**/LICENSE</exclude>
<exclude>**/*.md</exclude>
<exclude>**/.gitignore</exclude>
</excludes>
<strictCheck>true</strictCheck>
</configuration>
<executions>
<execution>
<id>check-headers</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--
Generate sitemap.xml for project site
@see https://github.com/s4u/sitemapxml-maven-plugin
-->
<groupId>com.github.s4u.plugins</groupId>
<artifactId>sitemapxml-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>gen</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--
This plugin will collect current build number from Git and save it into Maven property
@see http://www.mojohaus.org/buildnumber-maven-plugin/
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>jsan-build-number</id>
<phase>initialize</phase>
<goals>
<goal>create</goal>
<goal>create-timestamp</goal>
</goals>
<configuration>
<buildNumberPropertyName>buildNumber</buildNumberPropertyName>
<timestampPropertyName>timestamp</timestampPropertyName>
<timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ss}</timestampFormat>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<outputDirectory>${reporting.outputDirectory}</outputDirectory>
<plugins>
<plugin>
<!--
Generate reports information about the project
@see https://maven.apache.org/plugins/maven-project-info-reports-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<!--
Uses the Javadoc tool to generate javadocs
@see https://maven.apache.org/plugins/maven-javadoc-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<detectLinks>true</detectLinks>
<links>
<link>http://docs.spring.io/spring/docs/4.2.3.RELEASE/javadoc-api/</link>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
</links>
<additionalparam>-Xdoclint:none</additionalparam>
<tags>
<!--
Here we instruct plugin to use custom tag
@link http://maven.apache.org/plugins/maven-javadoc-plugin/examples/tag-configuration.html
-->
<tag>
<name>todo</name>
<placement>a</placement>
<head>To do:</head>
</tag>
<tag>
<name>checkstyle</name>
<placement>a</placement>
<head>Suppressed Checkstyle violations:</head>
</tag>
</tags>
</configuration>
</plugin>
<plugin>
<!--
Produces a cross-reference of the project's sources
@see https://maven.apache.org/jxr/maven-jxr-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<!--
Automatically run the PMD code analysis tool on source code
and generate a site report with its results
@see https://maven.apache.org/plugins/maven-pmd-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.5</version>
<configuration>
<targetJdk>${java.version}</targetJdk>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>pmd</report>
<report>cpd</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<!--
Create Findbugs report as a part of the project reports
http://gleclaire.github.io/findbugs-maven-plugin/
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.3</version>
<configuration>
<!--
Enables analysis which takes more memory but finds more bugs.
If you run out of memory, changes the value of the effort element
to 'low'.
-->
<effort>Max</effort>
<!-- Reports all bugs (other values are medium and max) -->
<threshold>Low</threshold>
<!-- Produces XML report -->
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<!--
Generates a report regarding the code style used by the developers
@see https://maven.apache.org/plugins/maven-checkstyle-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>jsan-javascript</id>
<build>
<plugins>
<plugin>
<!--
Maven plugin for the JavaScript testing framework
@see http://searls.github.io/jasmine-maven-plugin/
-->
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<!-- keep the configuration out of the execution so that the bdd goal has access to it -->
<configuration>
<!-- configuration properties will go here -->
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
Enable unit testing. The profile is activated when you have
src/test/java directory in the project. It will add testng
and mockito artifacts to the classpath ("test" scope).
-->
<id>jsan-testng</id>
<activation>
<file>
<exists>${basedir}/src/test/java</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<!--
Execute the unit tests of an application
@see https://maven.apache.org/surefire/maven-surefire-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<!--
Provides the features of Cobertura
http://www.mojohaus.org/cobertura-maven-plugin/
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<!--
Looks for bugs in Java programs
http://gleclaire.github.io/findbugs-maven-plugin/
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.3</version>
<configuration>
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
<!-- Build doesn't fail if problems are found -->
<failOnError>false</failOnError>
<!--
Enables analysis which takes more memory but finds more bugs.
If you run out of memory, changes the value of the effort element
to 'Low'.
-->
<effort>Max</effort>
<!-- Reports all bugs (other values are medium and max) -->
<threshold>Low</threshold>
<!-- Produces XML report -->
<xmlOutput>true</xmlOutput>
<!-- Configures the directory in which the XML report is created -->
<findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
</configuration>
<executions>
<!--
Ensures that FindBugs inspects source code when project is compiled.
-->
<execution>
<id>analyze-compile</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--
Automatically run the PMD code analysis tool on source code
and generate a site report with its results
@see https://maven.apache.org/plugins/maven-pmd-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.5</version>
<configuration>
<targetJdk>${java.version}</targetJdk>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<!--
Creates the web interface version of the test results
@see https://maven.apache.org/surefire/maven-surefire-report-plugin/
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.19</version>
</plugin>
<plugin>
<!--
Result of executing the Cobertura tool against compiled classes
@see http://www.mojohaus.org/cobertura-maven-plugin/
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<!--
It is a fix for schemagen in JDK7.
-->
<id>jsan-jdk7-fix</id>
<activation>
<file>
<exists>${java.home}/../lib/tools.jar</exists>
</file>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.sun.tools.jxc.maven2</groupId>
<artifactId>maven-jaxb-schemagen-plugin</artifactId>
<version>1.2</version>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<!--
Use ssl for external resources
-->
<id>jsan-secure-site</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>site</phase>
<configuration>
<tasks>
<echo message="Replacing external resources (http to https)" />
<replace token="http://netdna" value="https://netdna" dir="${reporting.outputDirectory}">
<include name="**/*.html" />
</replace>
<replace token="http://yandex" value="https://yandex" dir="${reporting.outputDirectory}">
<include name="**/*.html" />
</replace>
<replace token="http://ajax" value="https://ajax" dir="${reporting.outputDirectory}">
<include name="**/*.html" />
</replace>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<!--Project properties-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<java.version>1.8</java.version>
<reporting.outputDirectory>/var/www/projects/${project.artifactId}</reporting.outputDirectory>
<!--License properties-->
<license.owner>Jorge Sánchez</license.owner>
<license.email>contact@jsan.eu</license.email>
<license.header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</license.header>
</properties>
</project>