forked from admc/hudson-windmill
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
152 lines (142 loc) · 4.65 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
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>HudsonWindmill</groupId>
<artifactId>HudsonWindmillPlugin</artifactId>
<packaging>hpi</packaging>
<version>1.0-SNAPSHOT</version>
<properties>
<!-- which version of Hudson is this plugin built against? -->
<hudson.version>1.279</hudson.version>
</properties>
<dependencies>
<dependency>
<groupId>org.jvnet.hudson.main</groupId>
<artifactId>hudson-core</artifactId>
<version>${hudson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jvnet.hudson.main</groupId>
<artifactId>hudson-war</artifactId>
<type>war</type>
<version>${hudson.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!--
Since new versions need to overwrite old versions, it's better
not to have version number in the .hpi file name.
-->
<finalName>${project.artifactId}</finalName>
<defaultGoal>package</defaultGoal>
<plugins>
<plugin>
<groupId>org.jvnet.hudson.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<version>1.37</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!-- We put the central repository first, as most artifacts will be
found there
-->
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- We put the java.net2 repository second, as it's a Maven2 format
and therefore _should_ be faster for Maven2. Hopefully, people
will stop pushing their artifacts to java.net and push to java.net2
or somebody will put a synchronizer in place to require
only the java.net2 repository.
-->
<repository>
<id>java.net2</id>
<url>http://download.java.net/maven/2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Now for the java.net repository (legacy layout) -->
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/1</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Finally, the slowest repository of them all -->
<repository>
<id>hudson-libs</id>
<url>https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/lib</url>
<layout>legacy</layout>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<!-- We put the central repository first, as most artifacts will be
found there
-->
<pluginRepository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>java.net2</id>
<url>http://download.java.net/maven/2</url>
<releases>
<enabled>true</enabled>
<!-- only look for jars here when they are not present locally -->
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<name>HudsonWindmillPlugin</name>
</project>