-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
167 lines (147 loc) · 5.29 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<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>
<groupId>de.slothsoft.eclipse</groupId>
<artifactId>builder-pattern</artifactId>
<version>1.2.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Builder Pattern Plug-in</name>
<description>A small plug-in that helps you create not only getters and setters, but fluent methods, too. </description>
<url>https://github.com/slothsoft/eclipse-builder-pattern</url>
<modules>
<module>de.slothsoft.builderpattern</module>
<module>de.slothsoft.builderpattern.feature</module>
<module>de.slothsoft.builderpattern.it</module>
</modules>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<tycho.version>1.3.0</tycho.version>
<maven-scm-version>1.11.2</maven-scm-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven-scm-version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- These plug-ins are necessary for the release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<!-- we never deploy complete applications -->
<skip>true</skip>
</configuration>
</plugin>
<!-- This is the place where the tycho-versions-plugin must update the
MANIFEST/feature/product files to their respective pom versions -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<!-- don't deploy application, not even on release -->
<goals>install</goals>
<preparationGoals>org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata
org.apache.maven.plugins:maven-scm-plugin:${maven-scm-version}:add
org.apache.maven.plugins:maven-scm-plugin:${maven-scm-version}:checkin</preparationGoals>
<completionGoals>org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata
org.apache.maven.plugins:maven-scm-plugin:${maven-scm-version}:add
org.apache.maven.plugins:maven-scm-plugin:${maven-scm-version}:checkin</completionGoals>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<!-- Add the changed files to the git changeset, checkin (=commit and
push) the changed Eclipse/OSGi files. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>add</goal>
<goal>checkin</goal>
</goals>
<configuration>
<includes>**/META-INF/MANIFEST.MF,**/feature.xml,**/*.product,**/category.xml</includes>
<excludes>**/target/**</excludes>
<message>Changing the version to reflect the pom versions for the
release</message>
</configuration>
</execution>
</executions>
</plugin>
<!-- Configure Tycho -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<resolver>p2</resolver>
<target>
<artifact>
<groupId>de.slothsoft.eclipse</groupId>
<artifactId>builder-pattern</artifactId>
<version>${project.version}</version>
<classifier>platform</classifier>
</artifact>
</target>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
<scm>
<developerConnection>scm:git:https://github.com/slothsoft/eclipse-builder-pattern.git</developerConnection>
<url>https://github.com/slothsoft/eclipse-builder-pattern</url>
<tag>HEAD</tag>
</scm>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>sschulz</id>
<name>Stef Schulz</name>
<email>s.schulz@slothsoft.de</email>
</developer>
</developers>
</project>