Add properties for maven and add compiler plugin. Add information in README.md
This commit is contained in:
parent
618b158c29
commit
ea1191abe8
11
README.md
11
README.md
|
@ -1,2 +1,13 @@
|
|||
# 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.
|
||||
|
||||
## Usage
|
||||
|
||||
<parent>
|
||||
<groupId>eu.dnetlib</groupId>
|
||||
<artifactId>uoa-global-parent</artifactId>
|
||||
<version>2.0.2</version>
|
||||
</parent>
|
||||
|
||||
|
|
15
pom.xml
15
pom.xml
|
@ -35,7 +35,17 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
<version>${maven-release-version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compile-version}</version>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -63,5 +73,8 @@
|
|||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<log4j.version>2.23.1</log4j.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>
|
||||
</properties>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue