github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/buildtools/maven/testdata/poms/nested/pom-other.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>com.someone.code.gson</groupId> 5 <artifactId>gson-extras</artifactId> 6 <packaging>jar</packaging> 7 <version>1.0-SNAPSHOT</version> 8 <inceptionYear>2019</inceptionYear> 9 <name>Other Project</name> 10 <properties> 11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 12 </properties> 13 <licenses> 14 <license> 15 <name>Some License</name> 16 <url>http://www.apache.org/licenses/LICENSE</url> 17 <distribution>repo</distribution> 18 </license> 19 </licenses> 20 <scm> 21 <connection>scm:svn:http://google-gson.googlecode.com/svn/trunk/extras</connection> 22 <developerConnection>scm:svn:https://google-gson.googlecode.com/svn/trunk/extras</developerConnection> 23 <url>http://google-gson.codegoogle.com/svn/trunk/extras</url> 24 </scm> 25 <dependencies> 26 <dependency> 27 <groupId>com.google.code.gson</groupId> 28 <artifactId>gson</artifactId> 29 <version>2.7</version> 30 <scope>compile</scope> 31 </dependency> 32 <dependency> 33 <groupId>javax.annotation</groupId> 34 <artifactId>jsr250-api</artifactId> 35 <version>1.0</version> 36 </dependency> 37 <dependency> 38 <groupId>junit</groupId> 39 <artifactId>junit</artifactId> 40 <version>3.8.2</version> 41 <scope>test</scope> 42 </dependency> 43 </dependencies> 44 <build> 45 <defaultGoal>package</defaultGoal> 46 <plugins> 47 <plugin> 48 <groupId>org.apache.maven.plugins</groupId> 49 <artifactId>maven-compiler-plugin</artifactId> 50 <version>3.5.1</version> 51 <configuration> 52 <source>1.6</source> 53 <target>1.6</target> 54 </configuration> 55 </plugin> 56 <plugin> 57 <groupId>org.apache.maven.plugins</groupId> 58 <artifactId>maven-jar-plugin</artifactId> 59 <version>3.0.2</version> 60 <executions> 61 <execution> 62 <phase>package</phase> 63 <goals> 64 <goal>jar</goal> 65 </goals> 66 </execution> 67 </executions> 68 <configuration> 69 <archive> 70 <addMavenDescriptor>false</addMavenDescriptor> 71 </archive> 72 </configuration> 73 </plugin> 74 <plugin> 75 <groupId>org.apache.maven.plugins</groupId> 76 <artifactId>maven-source-plugin</artifactId> 77 <version>3.0.1</version> 78 <executions> 79 <execution> 80 <id>attach-sources</id> 81 <phase>verify</phase> 82 <goals> 83 <goal>jar</goal> 84 </goals> 85 </execution> 86 </executions> 87 </plugin> 88 <plugin> 89 <groupId>org.apache.maven.plugins</groupId> 90 <artifactId>maven-javadoc-plugin</artifactId> 91 <version>2.10.4</version> 92 <executions> 93 <execution> 94 <id>attach-javadocs</id> 95 <goals> 96 <goal>jar</goal> 97 </goals> 98 </execution> 99 </executions> 100 <configuration> 101 <links> 102 <link>http://download.oracle.com/javase/1.5.0/docs/api/</link> 103 </links> 104 <version>true</version> 105 <show>public</show> 106 </configuration> 107 </plugin> 108 </plugins> 109 </build> 110 </project>