mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#28 Several POM improvements
This commit is contained in:
parent
5eafdb4970
commit
e81eb263e8
@ -38,11 +38,13 @@
|
|||||||
|
|
||||||
<name>MapStruct Parent</name>
|
<name>MapStruct Parent</name>
|
||||||
<description>An annotation processor for generating type-safe bean mappers</description>
|
<description>An annotation processor for generating type-safe bean mappers</description>
|
||||||
<url>http://http://www.mapstruct.org/</url>
|
<url>http://mapstruct.org/</url>
|
||||||
|
<inceptionYear>2012</inceptionYear>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<com.jolira.hickory.version>1.0.0</com.jolira.hickory.version>
|
<com.jolira.hickory.version>1.0.0</com.jolira.hickory.version>
|
||||||
|
<org.apache.maven.plugins.enforcer.version>1.2</org.apache.maven.plugins.enforcer.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
@ -68,6 +70,27 @@
|
|||||||
<url>https://github.com/mapstruct/mapstruct/</url>
|
<url>https://github.com/mapstruct/mapstruct/</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
<issueManagement>
|
||||||
|
<system>GitHub Issues</system>
|
||||||
|
<url>https://github.com/mapstruct/mapstruct/issues</url>
|
||||||
|
</issueManagement>
|
||||||
|
|
||||||
|
<ciManagement>
|
||||||
|
<system>Jenkins</system>
|
||||||
|
<url>https://mapstruct.ci.cloudbees.com/</url>
|
||||||
|
</ciManagement>
|
||||||
|
|
||||||
|
<mailingLists>
|
||||||
|
<mailingList>
|
||||||
|
<name>mapstruct-users</name>
|
||||||
|
<archive>https://groups.google.com/forum/?fromgroups#!forum/mapstruct-users</archive>
|
||||||
|
</mailingList>
|
||||||
|
</mailingLists>
|
||||||
|
|
||||||
|
<prerequisites>
|
||||||
|
<maven>3.0.3</maven>
|
||||||
|
</prerequisites>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -141,6 +164,24 @@
|
|||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>2.7</version>
|
<version>2.7</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>${org.apache.maven.plugins.enforcer.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<rules>
|
||||||
|
<requireJavaVersion>
|
||||||
|
<version>[1.6,)</version>
|
||||||
|
</requireJavaVersion>
|
||||||
|
<DependencyConvergence/>
|
||||||
|
<requirePluginVersions/>
|
||||||
|
<requireMavenVersion>
|
||||||
|
<version>[3.0.3,)</version>
|
||||||
|
</requireMavenVersion>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
@ -259,6 +300,21 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<!-- Overriding version specified in execution in OSS super POM -->
|
||||||
|
<version>${org.apache.maven.plugins.enforcer.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enforce-mapstruct-rules</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user