Debian Codegraph @

src/it/reserve-ports-to-file/pom.xml

raw
1 <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/maven-v4_0_0.xsd">
2
3 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>org.codehaus.mojo</groupId>
6 <artifactId>build-helper-maven-plugin-reverse-port-it</artifactId>
7 <version>1.0-SNAPSHOT</version>
8
9 <name>build-helper-maven-plugin-reverse-port-it </name>
10
11
12 <build>
13
14 <defaultGoal>package</defaultGoal>
15
16 <plugins>
17
18
19 <plugin>
20
21 <groupId>@project.groupId@</groupId>
22 <artifactId>@project.artifactId@</artifactId>
23 <version>@project.version@</version>
24 <executions>
25 <execution>
26 <id>reserve-ports-to-files</id>
27 <phase>validate</phase>
28 <goals>
29 <goal>reserve-network-port</goal>
30 </goals>
31 <configuration>
32 <outputFile>${project.build.directory}/ports.properties</outputFile>
33 <portNames>
34 <portName>port1</portName>
35 <portName>port2</portName>
36 <portName>port3</portName>
37 </portNames>
38 </configuration>
39 </execution>
40 </executions>
41 </plugin>
42 </plugins>
43
44
45 </build>
46
47 <!-- default port values, will not be overwritten so DONOT set them
48 <properties>
49 <port1>1</port1>
50 <port2>2</port2>
51 <port3>3</port3>
52 </properties>
53 -->
54 </project>