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