-
Notifications
You must be signed in to change notification settings - Fork 11
/
pom.xml
83 lines (76 loc) · 2.56 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?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">
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx5-parent</artifactId>
<version>9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>vertx-docgen-parent</artifactId>
<version>0.9.9-SNAPSHOT</version>
<packaging>pom</packaging>
<scm>
<connection>scm:git:[email protected]:vert-x3/vertx-docgen.git</connection>
<developerConnection>scm:git:[email protected]:vert-x3/vertx-docgen.git</developerConnection>
<url>[email protected]:vert-x3/vertx-docgen.git</url>
</scm>
<modules>
<module>vertx-docgen-api</module>
<module>vertx-docgen-processor</module>
</modules>
<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-no-vertx-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<message>Vert.x must be released with Java 8!</message>
<version>[1.8,9)</version>
</requireJavaVersion>
<requireReleaseDeps>
<message>No Vert.x Snapshots Allowed during a release!</message>
<includes>
<include>io.vertx:*</include>
</includes>
</requireReleaseDeps>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>java8</id>
<properties>
<tools.jar>${java.home}/../lib/tools.jar</tools.jar>
</properties>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.8</version>
<scope>system</scope>
<systemPath>${tools.jar}</systemPath>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
</profiles>
</project>