-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
134 lines (125 loc) · 4.41 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
<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>
<artifactId>onebusaway</artifactId>
<groupId>org.onebusaway</groupId>
<version>1.1.6</version>
</parent>
<artifactId>onebusaway-gtfs-realtime-munin-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>onebusaway-gtfs-realtime-munin-plugin</name>
<description>Munin plugin to monitor a GTFS-realtime data source.</description>
<url>https://github.com/OneBusAway/onebusaway-gtfs-realtime-munin-plugin/wiki/</url>
<properties>
<gtfs_realtime_api_version>1.1.0</gtfs_realtime_api_version>
</properties>
<repositories>
<repository>
<id>public.onebusaway.org</id>
<url>http://nexus.onebusaway.org/content/groups/public/</url>
</repository>
</repositories>
<scm>
<connection>scm:git:http://github.com/OneBusAway/onebusaway-gtfs-realtime-munin-plugin.git</connection>
<developerConnection>scm:git:ssh://[email protected]/OneBusAway/onebusaway-gtfs-realtime-munin-plugin.git</developerConnection>
<url>http://github.com/OneBusAway/onebusaway-gtfs-realtime-munin-plugin</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/OneBusAway/onebusaway-gtfs-realtime-munin-plugin/issues</url>
</issueManagement>
<distributionManagement>
<!-- Even though we specify this in the parent pom, we need to specify it here to have full control over the url -->
<site>
<id>${site_id}</id>
<url>${site_url}</url>
</site>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.onebusaway</groupId>
<artifactId>onebusaway-gtfs-realtime-api</artifactId>
<version>${gtfs_realtime_api_version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.8.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>onebusaway-gtfs-realtime-munin-plugin</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<configuration>
<header>src/license/header.txt</header>
<excludes>
<exclude>src/site/**</exclude>
<exclude>LICENSE.txt</exclude>
</excludes>
<strictCheck>true</strictCheck>
<headerSections>
<headerSection>
<key>COPYRIGHT_SECTION</key>
<defaultValue>Copyright (C) 2011 Brian Ferri <[email protected]></defaultValue>
<ensureMatch>Copyright \(C\) \d{4} .+</ensureMatch>
</headerSection>
</headerSections>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedClassifierName>withAllDependencies</shadedClassifierName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.onebusaway.gtfs_realtime.munin.GtfsRealtimeMuninPluginMain</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>