@@ -23,6 +23,7 @@ | |||
<properties> | |||
<main.class>ro.fortsoft.pf4j.demo.Boot</main.class> | |||
<slf4j.version>1.6.4</slf4j.version> | |||
</properties> | |||
<build> | |||
@@ -79,11 +80,31 @@ | |||
<artifactId>pf4j</artifactId> | |||
<version>${project.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>ro.fortsoft.pf4j.demo</groupId> | |||
<artifactId>pf4j-demo-api</artifactId> | |||
<version>${project.version}</version> | |||
</dependency> | |||
<!-- Logs --> | |||
<dependency> | |||
<groupId>log4j</groupId> | |||
<artifactId>log4j</artifactId> | |||
<version>1.2.16</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>jul-to-slf4j</artifactId> | |||
<version>${slf4j.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>slf4j-log4j12</artifactId> | |||
<version>${slf4j.version}</version> | |||
</dependency> | |||
</dependencies> | |||
</project> |
@@ -116,6 +116,7 @@ | |||
<version>${project.version}</version> | |||
<scope>provided</scope> | |||
</dependency> | |||
<dependency> | |||
<groupId>ro.fortsoft.pf4j.demo</groupId> | |||
<artifactId>pf4j-demo-api</artifactId> |
@@ -125,6 +125,7 @@ | |||
<version>${project.version}</version> | |||
<scope>provided</scope> | |||
</dependency> | |||
<dependency> | |||
<groupId>ro.fortsoft.pf4j.demo</groupId> | |||
<artifactId>pf4j-demo-api</artifactId> |
@@ -28,59 +28,6 @@ | |||
<url>git@github.com/decebals/pf4j.git</url> | |||
</scm> | |||
<properties> | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
<slf4j.version>1.6.4</slf4j.version> | |||
</properties> | |||
<build> | |||
<resources> | |||
<resource> | |||
<filtering>false</filtering> | |||
<directory>src/main/java</directory> | |||
<excludes> | |||
<exclude>**/*.java</exclude> | |||
</excludes> | |||
</resource> | |||
<resource> | |||
<directory>src/main/resources</directory> | |||
</resource> | |||
</resources> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-compiler-plugin</artifactId> | |||
<version>2.3.2</version> | |||
<configuration> | |||
<source>1.6</source> | |||
<target>1.6</target> | |||
<optimize>true</optimize> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-war-plugin</artifactId> | |||
<version>2.1.1</version> | |||
<configuration> | |||
<warName>root</warName> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-release-plugin</artifactId> | |||
<version>2.3</version> | |||
<configuration> | |||
<goals>deploy</goals> | |||
<autoVersionSubmodules>true</autoVersionSubmodules> | |||
<tagNameFormat>release-@{project.version}</tagNameFormat> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
<dependencies> | |||
<dependency> | |||
<groupId>commons-lang</groupId> | |||
@@ -94,29 +41,11 @@ | |||
<version>1.9</version> | |||
</dependency> | |||
<!-- Logs --> | |||
<dependency> | |||
<groupId>log4j</groupId> | |||
<artifactId>log4j</artifactId> | |||
<version>1.2.16</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>slf4j-api</artifactId> | |||
<version>${slf4j.version}</version> | |||
<version>1.6.4</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>jul-to-slf4j</artifactId> | |||
<version>${slf4j.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>slf4j-log4j12</artifactId> | |||
<version>${slf4j.version}</version> | |||
</dependency> | |||
</dependencies> | |||
</project> |
@@ -1,6 +1,12 @@ | |||
<?xml version="1.0"?> | |||
<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/xsd/maven-4.0.0.xsd"> | |||
<parent> | |||
<groupId>org.sonatype.oss</groupId> | |||
<artifactId>oss-parent</artifactId> | |||
<version>7</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<groupId>ro.fortsoft.pf4j</groupId> | |||
<artifactId>pom</artifactId> | |||
@@ -25,7 +31,6 @@ | |||
<properties> | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
<slf4j.version>1.6.4</slf4j.version> | |||
</properties> | |||
<build> | |||
@@ -41,6 +46,30 @@ | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<goals> | |||
<goal>jar</goal> | |||
</goals> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-source-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<goals> | |||
<goal>jar</goal> | |||
</goals> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-release-plugin</artifactId> | |||
@@ -69,4 +98,33 @@ | |||
<module>demo</module> | |||
</modules> | |||
<profiles> | |||
<profile> | |||
<id>release-sign-artifacts</id> | |||
<activation> | |||
<property> | |||
<name>performRelease</name> | |||
<value>true</value> | |||
</property> | |||
</activation> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-gpg-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<id>sign-artifacts</id> | |||
<phase>verify</phase> | |||
<goals> | |||
<goal>sign</goal> | |||
</goals> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</profile> | |||
</profiles> | |||
</project> |