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