1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 5 <modelVersion>4.0.0</modelVersion> 6 <parent> 7 <groupId>com.google</groupId> 8 <artifactId>google</artifactId> 9 <version>1</version> 10 </parent> 11 12 <groupId>com.google.protobuf</groupId> 13 <artifactId>protobuf-parent</artifactId> 14 <version>3.0.0-beta-3</version> 15 <packaging>pom</packaging> 16 17 <name>Protocol Buffers [Parent]</name> 18 <inceptionYear>2008</inceptionYear> 19 <url>https://developers.google.com/protocol-buffers/</url> 20 <description> 21 Protocol Buffers are a way of encoding structured data in an efficient yet 22 extensible format. 23 </description> 24 25 <properties> 26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 27 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 28 29 <!-- These are relative to the submodules --> 30 <protobuf.basedir>${project.basedir}/../..</protobuf.basedir> 31 <protobuf.source.dir>${protobuf.basedir}/src</protobuf.source.dir> 32 <protoc>${protobuf.source.dir}/protoc</protoc> 33 <test.proto.dir>src/test/proto</test.proto.dir> 34 <generated.sources.dir>${project.build.directory}/generated-sources</generated.sources.dir> 35 <generated.testsources.dir>${project.build.directory}/generated-test-sources</generated.testsources.dir> 36 <generated.sources.lite.dir>${project.build.directory}/generated-sources-lite</generated.sources.lite.dir> 37 <generated.testsources.lite.dir>${project.build.directory}/generated-test-sources-lite</generated.testsources.lite.dir> 38 </properties> 39 40 <licenses> 41 <license> 42 <name>New BSD license</name> 43 <url>http://www.opensource.org/licenses/bsd-license.php</url> 44 <distribution>repo</distribution> 45 </license> 46 </licenses> 47 48 <scm> 49 <url>https://github.com/google/protobuf</url> 50 <connection>scm:git:https://github.com/google/protobuf.git</connection> 51 </scm> 52 53 <distributionManagement> 54 <snapshotRepository> 55 <id>sonatype-nexus-staging</id> 56 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 57 </snapshotRepository> 58 <repository> 59 <id>sonatype-nexus-staging</id> 60 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 61 </repository> 62 </distributionManagement> 63 64 <dependencyManagement> 65 <dependencies> 66 <dependency> 67 <groupId>junit</groupId> 68 <artifactId>junit</artifactId> 69 <version>4.12</version> 70 <scope>test</scope> 71 </dependency> 72 <dependency> 73 <groupId>org.easymock</groupId> 74 <artifactId>easymock</artifactId> 75 <version>2.2</version> 76 <scope>test</scope> 77 </dependency> 78 <dependency> 79 <groupId>org.easymock</groupId> 80 <artifactId>easymockclassextension</artifactId> 81 <version>2.2.1</version> 82 <scope>test</scope> 83 </dependency> 84 <dependency> 85 <groupId>com.google.guava</groupId> 86 <artifactId>guava</artifactId> 87 <version>18.0</version> 88 </dependency> 89 </dependencies> 90 </dependencyManagement> 91 92 <build> 93 <pluginManagement> 94 <plugins> 95 <plugin> 96 <artifactId>maven-compiler-plugin</artifactId> 97 <version>3.3</version> 98 <configuration> 99 <source>1.6</source> 100 <target>1.6</target> 101 </configuration> 102 </plugin> 103 <plugin> 104 <artifactId>maven-source-plugin</artifactId> 105 <version>2.4</version> 106 <executions> 107 <execution> 108 <id>attach-sources</id> 109 <goals> 110 <goal>jar-no-fork</goal> 111 </goals> 112 </execution> 113 </executions> 114 </plugin> 115 <plugin> 116 <artifactId>maven-javadoc-plugin</artifactId> 117 <version>2.10.3</version> 118 <executions> 119 <execution> 120 <id>attach-javadocs</id> 121 <goals> 122 <goal>jar</goal> 123 </goals> 124 </execution> 125 </executions> 126 </plugin> 127 <plugin> 128 <artifactId>maven-jar-plugin</artifactId> 129 <version>2.6</version> 130 </plugin> 131 <plugin> 132 <groupId>org.codehaus.mojo</groupId> 133 <artifactId>build-helper-maven-plugin</artifactId> 134 <version>1.10</version> 135 </plugin> 136 <plugin> 137 <groupId>org.apache.felix</groupId> 138 <artifactId>maven-bundle-plugin</artifactId> 139 <version>3.0.1</version> 140 </plugin> 141 <plugin> 142 <artifactId>maven-antrun-plugin</artifactId> 143 <version>1.8</version> 144 </plugin> 145 </plugins> 146 </pluginManagement> 147 </build> 148 149 <profiles> 150 <profile> 151 <id>release</id> 152 <build> 153 <plugins> 154 <plugin> 155 <artifactId>maven-gpg-plugin</artifactId> 156 <version>1.6</version> 157 <executions> 158 <execution> 159 <id>sign-artifacts</id> 160 <phase>verify</phase> 161 <goals> 162 <goal>sign</goal> 163 </goals> 164 </execution> 165 </executions> 166 </plugin> 167 <plugin> 168 <groupId>org.sonatype.plugins</groupId> 169 <artifactId>nexus-staging-maven-plugin</artifactId> 170 <version>1.6.6</version> 171 <extensions>true</extensions> 172 <configuration> 173 <serverId>sonatype-nexus-staging</serverId> 174 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 175 <autoReleaseAfterClose>false</autoReleaseAfterClose> 176 </configuration> 177 </plugin> 178 </plugins> 179 </build> 180 </profile> 181 </profiles> 182 183 <modules> 184 <module>core</module> 185 <module>lite</module> 186 <module>util</module> 187 </modules> 188 189</project> 190