Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
jersey-bot | 59a5d50 | 2024-01-07 02:21:04 +0000 | [diff] [blame] | 4 | Copyright (c) 2011, 2024 Oracle and/or its affiliates. All rights reserved. |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 5 | |
| 6 | This program and the accompanying materials are made available under the |
| 7 | terms of the Eclipse Distribution License v. 1.0, which is available at |
| 8 | http://www.eclipse.org/org/documents/edl-v10.php. |
| 9 | |
| 10 | SPDX-License-Identifier: BSD-3-Clause |
| 11 | |
| 12 | --> |
| 13 | |
| 14 | <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"> |
| 15 | |
| 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | |
| 18 | <parent> |
| 19 | <groupId>org.glassfish.jersey.examples</groupId> |
| 20 | <artifactId>project</artifactId> |
jersey-bot | 9727e9a | 2024-01-07 02:21:50 +0000 | [diff] [blame] | 21 | <version>4.0.99-SNAPSHOT</version> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 22 | </parent> |
| 23 | |
| 24 | <artifactId>webapp-example-parent</artifactId> |
| 25 | <packaging>pom</packaging> |
| 26 | <name>jersey-examples-webapp-parent-pom</name> |
| 27 | |
| 28 | <description>Jersey Web Application (Servlet) examples parent POM.</description> |
| 29 | |
| 30 | <dependencies> |
| 31 | <dependency> |
| 32 | <groupId>org.glassfish.jersey.containers</groupId> |
| 33 | <artifactId>jersey-container-servlet-core</artifactId> |
| 34 | </dependency> |
| 35 | |
| 36 | <dependency> |
| 37 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 38 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 39 | <type>pom</type> |
| 40 | <scope>test</scope> |
| 41 | </dependency> |
| 42 | </dependencies> |
| 43 | |
| 44 | <build> |
| 45 | <pluginManagement> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <groupId>org.codehaus.mojo</groupId> |
| 49 | <artifactId>xml-maven-plugin</artifactId> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>assemble-gf-src-zip</id> |
| 53 | <phase>prepare-package</phase> |
| 54 | <goals> |
| 55 | <goal>transform</goal> |
| 56 | </goals> |
| 57 | <configuration> |
| 58 | <transformationSets> |
| 59 | <transformationSet> |
| 60 | <dir>${project.basedir}</dir> |
| 61 | <includes> |
| 62 | <include>pom.xml</include> |
| 63 | </includes> |
| 64 | <stylesheet>../etc/gf-project-src-pom.xsl</stylesheet> |
| 65 | <outputDir>${project.build.directory}/gf-pom-file</outputDir> |
| 66 | </transformationSet> |
| 67 | </transformationSets> |
| 68 | </configuration> |
| 69 | </execution> |
| 70 | <execution> |
| 71 | <id>assemble-wls-src-zip</id> |
| 72 | <phase>prepare-package</phase> |
| 73 | <goals> |
| 74 | <goal>transform</goal> |
| 75 | </goals> |
| 76 | <configuration> |
| 77 | <transformationSets> |
| 78 | <transformationSet> |
| 79 | <dir>${project.basedir}</dir> |
| 80 | <includes> |
| 81 | <include>pom.xml</include> |
| 82 | </includes> |
| 83 | <stylesheet>../etc/wls-project-src-pom.xsl</stylesheet> |
| 84 | <outputDir>${project.build.directory}/wls-pom-file</outputDir> |
| 85 | </transformationSet> |
| 86 | <transformationSet> |
| 87 | <dir>${project.basedir}</dir> |
| 88 | <includes> |
| 89 | <include>**/web.xml</include> |
| 90 | </includes> |
| 91 | <stylesheet>../etc/wls-project-src-web.xsl</stylesheet> |
| 92 | <outputDir>${project.build.directory}/wls-web-xml-file</outputDir> |
| 93 | </transformationSet> |
| 94 | </transformationSets> |
| 95 | </configuration> |
| 96 | </execution> |
| 97 | <execution> |
| 98 | <id>assemble-wls1213-src-zip</id> |
| 99 | <phase>prepare-package</phase> |
| 100 | <goals> |
| 101 | <goal>transform</goal> |
| 102 | </goals> |
| 103 | <configuration> |
| 104 | <transformationSets> |
| 105 | <transformationSet> |
| 106 | <dir>${project.basedir}</dir> |
| 107 | <includes> |
| 108 | <include>pom.xml</include> |
| 109 | </includes> |
| 110 | <stylesheet>../etc/wls1213-project-src-pom.xsl</stylesheet> |
| 111 | <outputDir>${project.build.directory}/wls1213-pom-file</outputDir> |
| 112 | </transformationSet> |
| 113 | <transformationSet> |
| 114 | <dir>${project.basedir}</dir> |
| 115 | <includes> |
| 116 | <include>**/web.xml</include> |
| 117 | </includes> |
| 118 | <stylesheet>../etc/wls-project-src-web.xsl</stylesheet> |
| 119 | <outputDir>${project.build.directory}/wls1213-web-xml-file</outputDir> |
| 120 | </transformationSet> |
| 121 | </transformationSets> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-assembly-plugin</artifactId> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>assemble-gf-src-zip</id> |
| 132 | <phase>package</phase> |
| 133 | <goals> |
| 134 | <goal>single</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <descriptorRefs> |
| 138 | <!-- Reference to a descriptor in org.glassfish.jersey.examples:assemblies module --> |
| 139 | <descriptorRef>glassfish-src-zip</descriptorRef> |
| 140 | </descriptorRefs> |
| 141 | </configuration> |
| 142 | </execution> |
| 143 | <execution> |
| 144 | <id>assemble-wls-src-zip</id> |
| 145 | <phase>package</phase> |
| 146 | <goals> |
| 147 | <goal>single</goal> |
| 148 | </goals> |
| 149 | <configuration> |
| 150 | <descriptorRefs> |
| 151 | <!-- Reference to a descriptor in org.glassfish.jersey.examples:assemblies module --> |
| 152 | <descriptorRef>weblogic-src-zip</descriptorRef> |
| 153 | </descriptorRefs> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | <execution> |
| 157 | <id>assemble-wls1213-src-zip</id> |
| 158 | <phase>package</phase> |
| 159 | <goals> |
| 160 | <goal>single</goal> |
| 161 | </goals> |
| 162 | <configuration> |
| 163 | <descriptorRefs> |
| 164 | <!-- Reference to a descriptor in org.glassfish.jersey.examples:assemblies module --> |
| 165 | <descriptorRef>weblogic1213-src-zip</descriptorRef> |
| 166 | </descriptorRefs> |
| 167 | </configuration> |
| 168 | </execution> |
| 169 | </executions> |
| 170 | </plugin> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 171 | </plugins> |
| 172 | </pluginManagement> |
| 173 | </build> |
| 174 | |
| 175 | </project> |