|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright (C) 2012 Google, Inc. |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | + <modelVersion>4.0.0</modelVersion> |
| 20 | + |
| 21 | + <parent> |
| 22 | + <groupId>com.google.auto</groupId> |
| 23 | + <artifactId>auto-parent</artifactId> |
| 24 | + <version>6</version> |
| 25 | + </parent> |
| 26 | + |
| 27 | + <groupId>com.google.auto.value</groupId> |
| 28 | + <artifactId>auto-value</artifactId> |
| 29 | + <version>HEAD-SNAPSHOT</version> |
| 30 | + <name>AutoValue Processor</name> |
| 31 | + <description> |
| 32 | + Immutable value-type code generation for Java 1.6+. |
| 33 | + </description> |
| 34 | + |
| 35 | + <scm> |
| 36 | + <url>http://github.com/google/auto</url> |
| 37 | + <connection>scm:git:git://github.com/google/auto.git</connection> |
| 38 | + < developerConnection>scm:git:ssh:// [email protected]/google/auto.git</ developerConnection> |
| 39 | + <tag>HEAD</tag> |
| 40 | + </scm> |
| 41 | + |
| 42 | + <dependencies> |
| 43 | + <dependency> |
| 44 | + <groupId>com.google.auto</groupId> |
| 45 | + <artifactId>auto-common</artifactId> |
| 46 | + <version>0.10</version> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>com.google.auto.service</groupId> |
| 50 | + <artifactId>auto-service</artifactId> |
| 51 | + <version>1.0-rc4</version> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>com.google.guava</groupId> |
| 55 | + <artifactId>guava</artifactId> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>com.squareup</groupId> |
| 59 | + <artifactId>javapoet</artifactId> |
| 60 | + </dependency> |
| 61 | + <!-- test dependencies --> |
| 62 | + <dependency> |
| 63 | + <groupId>com.google.auto.value</groupId> |
| 64 | + <artifactId>auto-value-annotations</artifactId> |
| 65 | + <version>${project.version}</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.apache.velocity</groupId> |
| 70 | + <artifactId>velocity</artifactId> |
| 71 | + <scope>test</scope> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>com.google.guava</groupId> |
| 75 | + <artifactId>guava-testlib</artifactId> |
| 76 | + <scope>test</scope> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>junit</groupId> |
| 80 | + <artifactId>junit</artifactId> |
| 81 | + <scope>test</scope> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>com.google.truth</groupId> |
| 85 | + <artifactId>truth</artifactId> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>com.google.testing.compile</groupId> |
| 90 | + <artifactId>compile-testing</artifactId> |
| 91 | + <scope>test</scope> |
| 92 | + </dependency> |
| 93 | + </dependencies> |
| 94 | + |
| 95 | + <build> |
| 96 | + <sourceDirectory>../src/main/java</sourceDirectory> |
| 97 | + <testSourceDirectory>../src/test/java</testSourceDirectory> |
| 98 | + |
| 99 | + <resources> |
| 100 | + <resource> |
| 101 | + <directory>../src/main/java</directory> |
| 102 | + <includes> |
| 103 | + <include>**/*.vm</include> |
| 104 | + </includes> |
| 105 | + </resource> |
| 106 | + </resources> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-compiler-plugin</artifactId> |
| 111 | + <configuration> |
| 112 | + <includes> |
| 113 | + <include>com/google/auto/value/processor/**/*.java</include> |
| 114 | + <include>com/google/auto/value/extension/memoized/processor/**/*.java</include> |
| 115 | + </includes> |
| 116 | + </configuration> |
| 117 | + </plugin> |
| 118 | + <plugin> |
| 119 | + <groupId>org.apache.maven.plugins</groupId> |
| 120 | + <artifactId>maven-jar-plugin</artifactId> |
| 121 | + </plugin> |
| 122 | + <plugin> |
| 123 | + <groupId>org.apache.maven.plugins</groupId> |
| 124 | + <artifactId>maven-invoker-plugin</artifactId> |
| 125 | + </plugin> |
| 126 | + <plugin> |
| 127 | + <groupId>org.immutables.tools</groupId> |
| 128 | + <artifactId>maven-shade-plugin</artifactId> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <phase>package</phase> |
| 132 | + <goals> |
| 133 | + <goal>shade</goal> |
| 134 | + </goals> |
| 135 | + <configuration> |
| 136 | + <minimizeJar>true</minimizeJar> |
| 137 | + <artifactSet> |
| 138 | + <excludes> |
| 139 | + <exclude>com.google.code.findbugs:jsr305</exclude> |
| 140 | + </excludes> |
| 141 | + </artifactSet> |
| 142 | + <relocations> |
| 143 | + <relocation> |
| 144 | + <pattern>org.objectweb</pattern> |
| 145 | + <shadedPattern>autovalue.shaded.org.objectweb$</shadedPattern> |
| 146 | + </relocation> |
| 147 | + <relocation> |
| 148 | + <pattern>com.google</pattern> |
| 149 | + <shadedPattern>autovalue.shaded.com.google$</shadedPattern> |
| 150 | + <excludes> |
| 151 | + <exclude>com.google.auto.value.**</exclude> |
| 152 | + </excludes> |
| 153 | + </relocation> |
| 154 | + <relocation> |
| 155 | + <pattern>com.squareup.javapoet</pattern> |
| 156 | + <shadedPattern>autovalue.shaded.com.squareup.javapoet$</shadedPattern> |
| 157 | + </relocation> |
| 158 | + </relocations> |
| 159 | + </configuration> |
| 160 | + </execution> |
| 161 | + </executions> |
| 162 | + </plugin> |
| 163 | + </plugins> |
| 164 | + </build> |
| 165 | + <profiles> |
| 166 | + <profile> |
| 167 | + <id>disable-java8-doclint</id> |
| 168 | + <activation> |
| 169 | + <jdk>[1.8,)</jdk> |
| 170 | + </activation> |
| 171 | + <properties> |
| 172 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 173 | + </properties> |
| 174 | + </profile> |
| 175 | + </profiles> |
| 176 | +</project> |
0 commit comments