| 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 |
|
| 4 |
<modelVersion>4.0.0</modelVersion> |
| 5 |
<parent> |
| 6 |
<groupId>org.eclipse.jetty.gcloud</groupId> |
| 7 |
<artifactId>jetty-gcloud</artifactId> |
| 8 |
<version>12.0.33</version> |
| 9 |
</parent> |
| 10 |
<artifactId>jetty-gcloud-session-manager</artifactId> |
| 11 |
<name>Integrations :: GCloud :: Sessions</name> |
| 12 |
|
| 13 |
<properties> |
| 14 |
<bundle-symbolic-name>${project.groupId}.session</bundle-symbolic-name> |
| 15 |
</properties> |
| 16 |
|
| 17 |
<dependencies> |
| 18 |
<dependency> |
| 19 |
<groupId>com.google.cloud</groupId> |
| 20 |
<artifactId>google-cloud-datastore</artifactId> |
| 21 |
<version>${gcloud.version}</version> |
| 22 |
<exclusions> |
| 23 |
<exclusion> |
| 24 |
<groupId>jakarta.servlet</groupId> |
| 25 |
<artifactId>jakarta.servlet-api</artifactId> |
| 26 |
</exclusion> |
| 27 |
<exclusion> |
| 28 |
<groupId>jakarta.servlet</groupId> |
| 29 |
<artifactId>servlet-api</artifactId> |
| 30 |
</exclusion> |
| 31 |
<exclusion> |
| 32 |
<groupId>javax.annotation</groupId> |
| 33 |
<artifactId>javax.annotation-api</artifactId> |
| 34 |
</exclusion> |
| 35 |
</exclusions> |
| 36 |
</dependency> |
| 37 |
<dependency> |
| 38 |
<groupId>com.google.protobuf</groupId> |
| 39 |
<artifactId>protobuf-java</artifactId> |
| 40 |
<version>${protobuf.version}</version> |
| 41 |
</dependency> |
| 42 |
<dependency> |
| 43 |
<groupId>org.eclipse.jetty</groupId> |
| 44 |
<artifactId>jetty-session</artifactId> |
| 45 |
</dependency> |
| 46 |
<dependency> |
| 47 |
<groupId>org.slf4j</groupId> |
| 48 |
<artifactId>slf4j-api</artifactId> |
| 49 |
</dependency> |
| 50 |
</dependencies> |
| 51 |
|
| 52 |
<build> |
| 53 |
<plugins> |
| 54 |
<plugin> |
| 55 |
<groupId>org.apache.felix</groupId> |
| 56 |
<artifactId>maven-bundle-plugin</artifactId> |
| 57 |
<extensions>true</extensions> |
| 58 |
<configuration> |
| 59 |
<instructions> |
| 60 |
<Export-Package>org.eclipse.jetty.gcloud.session.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package> |
| 61 |
</instructions> |
| 62 |
</configuration> |
| 63 |
</plugin> |
| 64 |
<plugin> |
| 65 |
<groupId>org.apache.maven.plugins</groupId> |
| 66 |
<artifactId>maven-antrun-plugin</artifactId> |
| 67 |
<executions> |
| 68 |
<execution> |
| 69 |
<id>process-deps</id> |
| 70 |
<goals> |
| 71 |
<goal>run</goal> |
| 72 |
</goals> |
| 73 |
<phase>process-resources</phase> |
| 74 |
<configuration> |
| 75 |
<target> |
| 76 |
<replaceregexp byline="true" file="${project.build.directory}/deps.txt" match=" *(.*):(.*):jar:(.*):.*$" replace="maven://\1/\2/\3|lib/gcloud/\2-\3.jar"/> |
| 77 |
<replaceregexp file="${project.build.directory}/deps.txt" match="The following files have been resolved:" replace="[files]"/> |
| 78 |
</target> |
| 79 |
</configuration> |
| 80 |
</execution> |
| 81 |
<execution> |
| 82 |
<id>process-mod</id> |
| 83 |
<goals> |
| 84 |
<goal>run</goal> |
| 85 |
</goals> |
| 86 |
<phase>process-resources</phase> |
| 87 |
<configuration> |
| 88 |
<target> |
| 89 |
<concat destfile="${project.build.directory}/gcloud-datastore.mod"> |
| 90 |
<fileset file="${project.build.directory}/jetty-config-files/modules/gcloud-datastore.mod"/> |
| 91 |
<fileset file="${project.build.directory}/deps.txt"/> |
| 92 |
</concat> |
| 93 |
</target> |
| 94 |
</configuration> |
| 95 |
</execution> |
| 96 |
</executions> |
| 97 |
</plugin> |
| 98 |
<plugin> |
| 99 |
<groupId>org.apache.maven.plugins</groupId> |
| 100 |
<artifactId>maven-dependency-plugin</artifactId> |
| 101 |
<executions> |
| 102 |
<execution> |
| 103 |
<id>build-deps-file</id> |
| 104 |
<goals> |
| 105 |
<goal>list</goal> |
| 106 |
</goals> |
| 107 |
<phase>generate-resources</phase> |
| 108 |
<configuration> |
| 109 |
<appendOutput>false</appendOutput> |
| 110 |
<outputFile>${project.build.directory}/deps.txt</outputFile> |
| 111 |
<sort>true</sort> |
| 112 |
<excludeGroupIds>org.eclipse.jetty,jakarta.servlet</excludeGroupIds> |
| 113 |
<prependGroupId>true</prependGroupId> |
| 114 |
<includeScope>runtime</includeScope> |
| 115 |
</configuration> |
| 116 |
</execution> |
| 117 |
</executions> |
| 118 |
</plugin> |
| 119 |
</plugins> |
| 120 |
</build> |
| 121 |
|
| 122 |
</project> |