kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/config/preprocessor/modifier/testdata/plugin-management-pom.xml (about) 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 6 <modelVersion>4.0.0</modelVersion> 7 <parent> 8 <groupId>org.sonatype.oss</groupId> 9 <artifactId>oss-parent</artifactId> 10 <version>9</version> 11 </parent> 12 <groupId>com.google.guava</groupId> 13 <artifactId>guava-parent</artifactId> 14 <version>HEAD-jre-SNAPSHOT</version> 15 <packaging>pom</packaging> 16 <name>Guava Maven Parent</name> 17 <url>https://github.com/google/guava</url> 18 <!-- Rest of this file omitted, but you can find it from above link. --> 19 <build> 20 <!-- Note this pom.xml has maven-compiler plugin specified in 21 pluginManagement/plugins/plugin, not in plugins/plugin. This should 22 work just fine, and thus shouldn't be modified. --> 23 <plugins> 24 <plugin> 25 <artifactId>maven-javadoc-plugin</artifactId> 26 <version>${maven-javadoc-plugin.version}</version> 27 </plugin> 28 </plugins> 29 <pluginManagement> 30 <plugins> 31 <plugin> 32 <artifactId>maven-compiler-plugin</artifactId> 33 <version>3.8.0</version> 34 <configuration> 35 <source>1.8</source> 36 <target>1.8</target> 37 </configuration> 38 </plugin> 39 <plugin> 40 <artifactId>maven-jar-plugin</artifactId> 41 <version>3.0.2</version> 42 <configuration> 43 <excludes> 44 <exclude>**/ForceGuavaCompilation*</exclude> 45 </excludes> 46 </configuration> 47 </plugin> 48 <plugin> 49 <artifactId>maven-source-plugin</artifactId> 50 <version>2.1.2</version> 51 <executions> 52 <execution> 53 <id>attach-sources</id> 54 <phase>post-integration-test</phase> 55 <goals><goal>jar</goal></goals> 56 </execution> 57 </executions> 58 <configuration> 59 <excludes> 60 <exclude>**/ForceGuavaCompilation*</exclude> 61 </excludes> 62 </configuration> 63 </plugin> 64 </plugins> 65 </pluginManagement> 66 </build> 67 </project>