| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd" |
| > |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.glassfish.main.tests.connectors</groupId> |
| <artifactId>connectors-ra-redeploy</artifactId> |
| <version>7.0.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>connectors-ra-redeploy-jars</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.resource</groupId> |
| <artifactId>jakarta.resource-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.jdbc.jdbc-ra.jdbc-core</groupId> |
| <artifactId>jdbc-core</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-jar</id> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <ra-redeploy-version>1</ra-redeploy-version> |
| <Extension-Name>connectors-ra-redeploy-jars.jar</Extension-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </execution> |
| <execution> |
| <id>version2</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>v2</classifier> |
| <archive> |
| <manifestEntries> |
| <ra-redeploy-version>2</ra-redeploy-version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |