github.com/jfrog/jfrog-cli-core/v2@v2.51.0/tests/testdata/maven-example/multi3/pom.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <parent> 5 <groupId>org.jfrog.test</groupId> 6 <artifactId>multi</artifactId> 7 <version>3.7-SNAPSHOT</version> 8 </parent> 9 10 <artifactId>multi3</artifactId> 11 <packaging>war</packaging> 12 <name>Multi 3</name> 13 14 <dependencies> 15 <!-- depends on another project (should include transitive) --> 16 <dependency> 17 <groupId>${project.groupId}</groupId> 18 <artifactId>multi1</artifactId> 19 <version>${project.parent.version}</version> 20 </dependency> 21 22 23 <!-- runtime dependency --> 24 <dependency> 25 <groupId>hsqldb</groupId> 26 <artifactId>hsqldb</artifactId> 27 <version>1.8.0.10</version> 28 <scope>runtime</scope> 29 </dependency> 30 31 <!-- provided dependency --> 32 <dependency> 33 <groupId>javax.servlet</groupId> 34 <artifactId>servlet-api</artifactId> 35 <version>2.5</version> 36 <scope>provided</scope> 37 </dependency> 38 </dependencies> 39 40 <profiles> 41 <profile> 42 <id>assembly</id> 43 <build> 44 <plugins> 45 <plugin> 46 <artifactId>maven-assembly-plugin</artifactId> 47 <version>2.2-beta-5</version> 48 <configuration> 49 <descriptorRefs> 50 <descriptorRef>jar-with-dependencies</descriptorRef> 51 </descriptorRefs> 52 </configuration> 53 <executions> 54 <execution> 55 <id>make-assembly</id> 56 <phase>package</phase> 57 <goals> 58 <goal>single</goal> 59 </goals> 60 </execution> 61 </executions> 62 </plugin> 63 <plugin> 64 <groupId>org.apache.maven.plugins</groupId> 65 <artifactId>maven-war-plugin</artifactId> 66 <configuration> 67 <archive> 68 <addMavenDescriptor>false</addMavenDescriptor> 69 </archive> 70 </configuration> 71 </plugin> 72 </plugins> 73 </build> 74 </profile> 75 </profiles> 76 77 </project>