Add plugin management. Add info in ReadMe
This commit is contained in:
parent
d5db584ac2
commit
f058972fa8
14
README.md
14
README.md
|
@ -1,13 +1,21 @@
|
|||
# uoa-global-parent
|
||||
|
||||
This parent contains the configuration regarding maven release and compilation. Also, there is the definition
|
||||
of global properties and import of log4j2.
|
||||
This parent contains the global configuration for:
|
||||
|
||||
- Maven Repository
|
||||
- Build configuration for:
|
||||
- Maven Release.
|
||||
- Maven Compilation.
|
||||
- Plugin Management for maven war and jar plugins.
|
||||
- Distribution Management
|
||||
- Global dependencies for logging
|
||||
- Global properties for java and all plugins and dependencies.
|
||||
|
||||
## Usage
|
||||
|
||||
<parent>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-global-parent</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<version>2.0.3</version>
|
||||
</parent>
|
||||
|
||||
|
|
25
pom.xml
25
pom.xml
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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">
|
||||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-global-parent</artifactId>
|
||||
|
@ -44,10 +45,26 @@
|
|||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>${maven-war-version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${maven-jar-version}</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
@ -70,11 +87,11 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<log4j.version>2.23.1</log4j.version>
|
||||
<java.version>17</java.version>
|
||||
<maven-release-version>3.1.0</maven-release-version>
|
||||
<maven-compile-version>3.9.0</maven-compile-version>
|
||||
<maven-war-version>3.4.0</maven-war-version>
|
||||
<maven-jar-version>3.4.2</maven-jar-version>
|
||||
<log4j.version>2.23.1</log4j.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue