root / plugins / java / jmx2munin / pom.xml @ e5ce7492
Historique | Voir | Annoter | Télécharger (4,39 ko)
| 1 | 933f0ea7 | Kenyon Ralph | <?xml version="1.0" encoding="UTF-8"?>
|
|---|---|---|---|
| 2 | <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"> |
||
| 3 | <modelVersion>4.0.0</modelVersion> |
||
| 4 | |||
| 5 | <groupId>org.vafer</groupId> |
||
| 6 | <artifactId>jmx2munin</artifactId> |
||
| 7 | <name>jmx2munin</name> |
||
| 8 | <version>1.0</version> |
||
| 9 | <description>
|
||
| 10 | Munin plugin to access JMX information |
||
| 11 | </description>
|
||
| 12 | <url>http://github.com/tcurdt/jmx2munin</url> |
||
| 13 | |||
| 14 | <developers>
|
||
| 15 | <developer>
|
||
| 16 | <id>tcurdt</id> |
||
| 17 | <name>Torsten Curdt</name> |
||
| 18 | <email>tcurdt at vafer.org</email> |
||
| 19 | <timezone>+1</timezone> |
||
| 20 | </developer>
|
||
| 21 | </developers>
|
||
| 22 | |||
| 23 | <licenses>
|
||
| 24 | <license>
|
||
| 25 | <name>Apache License 2</name> |
||
| 26 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
||
| 27 | </license>
|
||
| 28 | </licenses>
|
||
| 29 | |||
| 30 | <scm>
|
||
| 31 | <connection>scm:git:git://github.com:tcurdt/jmx2munin.git</connection> |
||
| 32 | <developerConnection>scm:git:git://github.com:tcurdt/jmx2munin.git</developerConnection> |
||
| 33 | <url>http://github.com/tcurdt/jmx2munin/tree/master</url> |
||
| 34 | </scm>
|
||
| 35 | |||
| 36 | <dependencies>
|
||
| 37 | <dependency>
|
||
| 38 | <groupId>com.beust</groupId> |
||
| 39 | <artifactId>jcommander</artifactId> |
||
| 40 | <version>1.17</version> |
||
| 41 | </dependency>
|
||
| 42 | |||
| 43 | <dependency>
|
||
| 44 | <groupId>junit</groupId> |
||
| 45 | <artifactId>junit</artifactId> |
||
| 46 | <version>4.5</version> |
||
| 47 | <scope>test</scope> |
||
| 48 | </dependency>
|
||
| 49 | </dependencies>
|
||
| 50 | |||
| 51 | <build>
|
||
| 52 | <plugins>
|
||
| 53 | <plugin>
|
||
| 54 | <groupId>org.apache.maven.plugins</groupId> |
||
| 55 | <artifactId>maven-compiler-plugin</artifactId> |
||
| 56 | <configuration>
|
||
| 57 | <source>1.5</source> |
||
| 58 | <target>1.5</target> |
||
| 59 | <encoding>UTF-8</encoding> |
||
| 60 | </configuration>
|
||
| 61 | </plugin>
|
||
| 62 | <plugin>
|
||
| 63 | <groupId>org.apache.maven.plugins</groupId> |
||
| 64 | <artifactId>maven-surefire-plugin</artifactId> |
||
| 65 | <configuration>
|
||
| 66 | <forkMode>never</forkMode> |
||
| 67 | <includes>
|
||
| 68 | <include>**/*TestCase.java</include> |
||
| 69 | </includes>
|
||
| 70 | <excludes>
|
||
| 71 | <exclude>**/Abstract*</exclude> |
||
| 72 | </excludes>
|
||
| 73 | <testFailureIgnore>true</testFailureIgnore> |
||
| 74 | <skip>false</skip> |
||
| 75 | </configuration>
|
||
| 76 | </plugin>
|
||
| 77 | <plugin>
|
||
| 78 | <groupId>org.apache.maven.plugins</groupId> |
||
| 79 | <artifactId>maven-source-plugin</artifactId> |
||
| 80 | <version>2.1</version> |
||
| 81 | <configuration>
|
||
| 82 | <attach>true</attach> |
||
| 83 | </configuration>
|
||
| 84 | <executions>
|
||
| 85 | <execution>
|
||
| 86 | <id>create-source-jar</id> |
||
| 87 | <goals>
|
||
| 88 | <goal>jar-no-fork</goal> |
||
| 89 | </goals>
|
||
| 90 | </execution>
|
||
| 91 | </executions>
|
||
| 92 | </plugin>
|
||
| 93 | <plugin>
|
||
| 94 | <groupId>org.apache.maven.plugins</groupId> |
||
| 95 | <artifactId>maven-shade-plugin</artifactId> |
||
| 96 | <version>1.4</version> |
||
| 97 | <executions>
|
||
| 98 | <execution>
|
||
| 99 | <phase>package</phase> |
||
| 100 | <goals>
|
||
| 101 | <goal>shade</goal> |
||
| 102 | </goals>
|
||
| 103 | <configuration>
|
||
| 104 | <minimizeJar>false</minimizeJar> |
||
| 105 | <artifactSet>
|
||
| 106 | <includes>
|
||
| 107 | <include>com.beust:jcommander</include> |
||
| 108 | </includes>
|
||
| 109 | </artifactSet>
|
||
| 110 | <transformers>
|
||
| 111 | <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
||
| 112 | <mainClass>org.vafer.jmx.munin.Munin</mainClass> |
||
| 113 | </transformer>
|
||
| 114 | </transformers>
|
||
| 115 | </configuration>
|
||
| 116 | </execution>
|
||
| 117 | </executions>
|
||
| 118 | </plugin>
|
||
| 119 | </plugins>
|
||
| 120 | </build>
|
||
| 121 | </project> |
