-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
147 lines (126 loc) · 4.62 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fr.ebruno.maven.poms</groupId>
<artifactId>maven-parentpom</artifactId>
<version>0.1.6</version>
</parent>
<groupId>fr.ebruno.maven.archetypes</groupId>
<artifactId>maven-archetypes</artifactId>
<version>0.1.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Maven archetypes</name>
<description>Standard Maven archetypes</description>
<url>https://github.com/ebpro/maven-archetypes</url>
<modules>
<module>maven-archetype-simple</module>
<module>maven-archetype-withparent</module>
</modules>
<properties>
<github.account>ebpro</github.account>
<encoding>UTF-8</encoding>
<mavenarchetypepackaging.version>3.2.0</mavenarchetypepackaging.version>
</properties>
<scm>
<url>https://github.com/${github.account}/${project.artifactId}/tree/${project.scm.tag}</url>
<connection>scm:git:git@github.com:${github.account}/${project.artifactId}.git</connection>
<developerConnection>scm:git:git@github.com:${github.account}/${project.artifactId}.git</developerConnection>
</scm>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<!--url>https://maven.pkg.github.com/${github.account}/${project.artifactId}</url-->
<url>https://maven.pkg.github.com/ebpro/maven-archetypes</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<!--url>https://maven.pkg.github.com/${github.account}/${project.artifactId}</url-->
<url>https://maven.pkg.github.com/ebpro/maven-archetypes</url>
</snapshotRepository>
<site>
<id>githubpages</id>
<url>scm:git:ssh://git@github.com/${github.account}/${project.artifactId}.git</url>
</site>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>${mavenarchetypepackaging.version}</version>
</extension>
</extensions>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/resources-filtered</directory>
<filtering>true</filtering>
</resource>
</resources>
<filters>
<filter>../plugin-versions.properties</filter>
<filter>../dependency-version.properties</filter>
</filters>
<pluginManagement>
<plugins>
<!-- Generate a settings.xml for IT-->
<plugin>
<artifactId>maven-help-plugin</artifactId>
<configuration>
<showPasswords>true</showPasswords>
<output>${project.build.directory}/effective-settings.xml</output>
</configuration>
<executions>
<execution>
<!-- This makes sure we run before maven-archetype-plugin -->
<phase>pre-integration-test</phase>
<goals>
<goal>effective-settings</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<configuration>
<settingsFile>${project.build.directory}/effective-settings.xml</settingsFile>
<ignoreEOLStyle>true</ignoreEOLStyle>
<showVersion>true</showVersion>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-xml</artifactId>
<version>3.0.19</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<escapeString>\</escapeString>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>