1<?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/xsd/maven-4.0.0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 5 <groupId>io.prometheus.client</groupId> 6 <artifactId>model</artifactId> 7 <version>0.0.3-SNAPSHOT</version> 8 9 <parent> 10 <groupId>org.sonatype.oss</groupId> 11 <artifactId>oss-parent</artifactId> 12 <version>7</version> 13 </parent> 14 15 <name>Prometheus Client Data Model</name> 16 <url>http://github.com/prometheus/client_model</url> 17 <description> 18 Prometheus Client Data Model: Generated Protocol Buffer Assets 19 </description> 20 21 <licenses> 22 <license> 23 <name>The Apache Software License, Version 2.0</name> 24 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 25 <distribution>repo</distribution> 26 </license> 27 </licenses> 28 29 <scm> 30 <connection>scm:git:git@github.com:prometheus/client_model.git</connection> 31 <developerConnection>scm:git:git@github.com:prometheus/client_model.git</developerConnection> 32 <url>git@github.com:prometheus/client_model.git</url> 33 </scm> 34 35 <developers> 36 <developer> 37 <id>mtp</id> 38 <name>Matt T. Proud</name> 39 <email>matt.proud@gmail.com</email> 40 </developer> 41 </developers> 42 43 <dependencies> 44 <dependency> 45 <groupId>com.google.protobuf</groupId> 46 <artifactId>protobuf-java</artifactId> 47 <version>2.5.0</version> 48 </dependency> 49 </dependencies> 50 51 <build> 52 <plugins> 53 <plugin> 54 <groupId>org.apache.maven.plugins</groupId> 55 <artifactId>maven-javadoc-plugin</artifactId> 56 <version>2.8</version> 57 <configuration> 58 <encoding>UTF-8</encoding> 59 <docencoding>UTF-8</docencoding> 60 <linksource>true</linksource> 61 </configuration> 62 <executions> 63 <execution> 64 <id>generate-javadoc-site-report</id> 65 <phase>site</phase> 66 <goals> 67 <goal>javadoc</goal> 68 </goals> 69 </execution> 70 <execution> 71 <id>attach-javadocs</id> 72 <goals> 73 <goal>jar</goal> 74 </goals> 75 </execution> 76 </executions> 77 </plugin> 78 <plugin> 79 <artifactId>maven-compiler-plugin</artifactId> 80 <configuration> 81 <source>1.6</source> 82 <target>1.6</target> 83 </configuration> 84 <version>3.1</version> 85 </plugin> 86 <plugin> 87 <groupId>org.apache.maven.plugins</groupId> 88 <artifactId>maven-source-plugin</artifactId> 89 <version>2.2.1</version> 90 <executions> 91 <execution> 92 <id>attach-sources</id> 93 <goals> 94 <goal>jar</goal> 95 </goals> 96 </execution> 97 </executions> 98 </plugin> 99 </plugins> 100 </build> 101 <profiles> 102 <profile> 103 <id>release-sign-artifacts</id> 104 <activation> 105 <property> 106 <name>performRelease</name> 107 <value>true</value> 108 </property> 109 </activation> 110 <build> 111 <plugins> 112 <plugin> 113 <groupId>org.apache.maven.plugins</groupId> 114 <artifactId>maven-gpg-plugin</artifactId> 115 <version>1.4</version> 116 <executions> 117 <execution> 118 <id>sign-artifacts</id> 119 <phase>verify</phase> 120 <goals> 121 <goal>sign</goal> 122 </goals> 123 </execution> 124 </executions> 125 </plugin> 126 </plugins> 127 </build> 128 </profile> 129 </profiles> 130</project> 131