|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
2 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
5 | 5 | <groupId>com.amazonaws</groupId>
|
6 | 6 | <artifactId>aws-dynamodb-session-tomcat</artifactId>
|
7 | 7 | <packaging>jar</packaging>
|
8 | 8 | <name>Amazon DynamoDB Session Manager for Tomcat</name>
|
9 |
| - <version>1.0.2</version> |
| 9 | + <version>1.0.4</version> |
10 | 10 | <description>The Amazon DynamoDB Session Manager for Tomcat provides a custom session manager for Tomcat 7 that stores session data in Amazon DynamoDB, Amazon's fully managed NoSQL database service.</description>
|
11 | 11 | <url>https://aws.amazon.com/java</url>
|
12 | 12 |
|
|
34 | 34 | </developers>
|
35 | 35 |
|
36 | 36 | <dependencies>
|
37 |
| - <dependency> |
38 |
| - <groupId>com.amazonaws</groupId> |
39 |
| - <artifactId>aws-java-sdk</artifactId> |
40 |
| - <version>1.9.10</version> |
41 |
| - </dependency> |
42 |
| - <dependency> |
43 |
| - <groupId>org.apache.tomcat</groupId> |
44 |
| - <artifactId>tomcat-catalina</artifactId> |
45 |
| - <version>8.0.14</version> |
46 |
| - <scope>provided</scope> |
47 |
| - </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>com.amazonaws</groupId> |
| 39 | + <artifactId>aws-java-sdk-dynamodb</artifactId> |
| 40 | + <version>1.9.23</version> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.apache.tomcat</groupId> |
| 44 | + <artifactId>tomcat-catalina</artifactId> |
| 45 | + <version>8.0.14</version> |
| 46 | + <scope>provided</scope> |
| 47 | + </dependency> |
48 | 48 | </dependencies>
|
49 | 49 |
|
50 | 50 | <build>
|
51 |
| - <resources> |
52 |
| - <resource> |
53 |
| - <directory>${basedir}</directory> |
54 |
| - <includes> |
55 |
| - <include>LICENSE.txt</include> |
56 |
| - <include>NOTICE.txt</include> |
57 |
| - <include>README.txt</include> |
58 |
| - </includes> |
59 |
| - </resource> |
60 |
| - </resources> |
| 51 | + <resources> |
| 52 | + <resource> |
| 53 | + <directory>${basedir}</directory> |
| 54 | + <includes> |
| 55 | + <include>LICENSE.txt</include> |
| 56 | + <include>NOTICE.txt</include> |
| 57 | + <include>README.md</include> |
| 58 | + </includes> |
| 59 | + </resource> |
| 60 | + </resources> |
61 | 61 |
|
62 |
| - <plugins> |
63 |
| - <plugin> |
64 |
| - <groupId>org.apache.maven.plugins</groupId> |
65 |
| - <artifactId>maven-compiler-plugin</artifactId> |
66 |
| - <version>2.3</version> |
67 |
| - <configuration> |
68 |
| - <source>1.5</source> |
69 |
| - <target>1.5</target> |
70 |
| - <encoding>UTF-8</encoding> |
71 |
| - </configuration> |
72 |
| - </plugin> |
| 62 | + <plugins> |
| 63 | + <plugin> |
| 64 | + <groupId>org.apache.maven.plugins</groupId> |
| 65 | + <artifactId>maven-compiler-plugin</artifactId> |
| 66 | + <version>2.3</version> |
| 67 | + <configuration> |
| 68 | + <source>1.6</source> |
| 69 | + <target>1.6</target> |
| 70 | + <encoding>UTF-8</encoding> |
| 71 | + </configuration> |
| 72 | + </plugin> |
73 | 73 |
|
74 |
| - <plugin> |
75 |
| - <groupId>org.apache.maven.plugins</groupId> |
76 |
| - <artifactId>maven-shade-plugin</artifactId> |
77 |
| - <version>2.2</version> |
78 |
| - <executions> |
79 |
| - <execution> |
80 |
| - <phase>package</phase> |
81 |
| - <goals> |
82 |
| - <goal>shade</goal> |
83 |
| - </goals> |
84 |
| - <configuration> |
85 |
| - <minimizeJar>true</minimizeJar> |
| 74 | + <plugin> |
| 75 | + <groupId>org.apache.maven.plugins</groupId> |
| 76 | + <artifactId>maven-shade-plugin</artifactId> |
| 77 | + <version>2.2</version> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <phase>package</phase> |
| 81 | + <goals> |
| 82 | + <goal>shade</goal> |
| 83 | + </goals> |
| 84 | + <configuration> |
| 85 | + <transformers> |
| 86 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> |
| 87 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> |
| 88 | + <addHeader>false</addHeader> |
| 89 | + </transformer> |
| 90 | + </transformers> |
| 91 | + <minimizeJar>true</minimizeJar> |
86 | 92 |
|
87 |
| - <relocations> |
88 |
| - <relocation> |
89 |
| - <pattern>com.amazonaws</pattern> |
90 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.amazonaws</shadedPattern> |
91 |
| - <excludes> |
92 |
| - <!-- Don't shade this class, since we reference it by name in Tomcat configuration --> |
93 |
| - <exclude>com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager</exclude> |
94 |
| - </excludes> |
95 |
| - </relocation> |
96 |
| - <relocation> |
97 |
| - <pattern>org.apache.http</pattern> |
98 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.http</shadedPattern> |
99 |
| - </relocation> |
100 |
| - <relocation> |
101 |
| - <pattern>org.apache.commons.logging</pattern> |
102 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.commons.logging</shadedPattern> |
103 |
| - </relocation> |
104 |
| - <relocation> |
105 |
| - <pattern>org.apache.commons.codec</pattern> |
106 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.commons.codec</shadedPattern> |
107 |
| - </relocation> |
108 |
| - <relocation> |
109 |
| - <pattern>com.fasterxml</pattern> |
110 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.fasterxml</shadedPattern> |
111 |
| - </relocation> |
112 |
| - <relocation> |
113 |
| - <pattern>org.joda.time</pattern> |
114 |
| - <shadedPattern>com.amazonaws.tomcatsessionmanager.joda.time</shadedPattern> |
115 |
| - </relocation> |
116 |
| - </relocations> |
117 |
| - |
118 |
| - <artifactSet> |
119 |
| - <includes> |
120 |
| - <include>com.amazonaws:aws-java-sdk*</include> |
121 |
| - <include>commons-logging:*</include> |
122 |
| - <include>org.apache.httpcomponents:*</include> |
123 |
| - <include>commons-codec:*</include> |
124 |
| - <include>com.fasterxml.jackson.core:*</include> |
125 |
| - <include>joda-time:*</include> |
126 |
| - </includes> |
127 |
| - </artifactSet> |
| 93 | + <relocations> |
| 94 | + <relocation> |
| 95 | + <pattern>com.amazonaws</pattern> |
| 96 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.amazonaws</shadedPattern> |
| 97 | + <excludes> |
| 98 | + <!-- Don't shade this class, since we reference it by name in Tomcat configuration --> |
| 99 | + <exclude>com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager</exclude> |
| 100 | + </excludes> |
| 101 | + </relocation> |
| 102 | + <relocation> |
| 103 | + <pattern>org.apache.http</pattern> |
| 104 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.http</shadedPattern> |
| 105 | + </relocation> |
| 106 | + <relocation> |
| 107 | + <pattern>org.apache.commons.logging</pattern> |
| 108 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.commons.logging</shadedPattern> |
| 109 | + </relocation> |
| 110 | + <relocation> |
| 111 | + <pattern>org.apache.commons.codec</pattern> |
| 112 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.apache.commons.codec</shadedPattern> |
| 113 | + </relocation> |
| 114 | + <relocation> |
| 115 | + <pattern>com.fasterxml</pattern> |
| 116 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.fasterxml</shadedPattern> |
| 117 | + </relocation> |
| 118 | + <relocation> |
| 119 | + <pattern>org.joda.time</pattern> |
| 120 | + <shadedPattern>com.amazonaws.tomcatsessionmanager.joda.time</shadedPattern> |
| 121 | + </relocation> |
| 122 | + </relocations> |
128 | 123 |
|
129 |
| - <filters> |
130 |
| - <filter> |
131 |
| - <!-- Pull in everything from commons-logging, so that we pick up all the adapter |
132 |
| - implementations that may not be statically referenced, but could be needed. --> |
133 |
| - <artifact>commons-logging:commons-logging</artifact> |
134 |
| - <includes> |
135 |
| - <include>**</include> |
136 |
| - </includes> |
137 |
| - </filter> |
138 |
| - <filter> |
139 |
| - <artifact>com.fasterxml.jackson.core:*</artifact> |
140 |
| - <includes> |
141 |
| - <include>**</include> |
142 |
| - </includes> |
143 |
| - </filter> |
144 |
| - </filters> |
| 124 | + <artifactSet> |
| 125 | + <includes> |
| 126 | + <include>com.amazonaws:aws-java-sdk*</include> |
| 127 | + <include>commons-logging:*</include> |
| 128 | + <include>org.apache.httpcomponents:*</include> |
| 129 | + <include>commons-codec:*</include> |
| 130 | + <include>com.fasterxml.jackson.core:*</include> |
| 131 | + <include>joda-time:*</include> |
| 132 | + </includes> |
| 133 | + </artifactSet> |
145 | 134 |
|
146 |
| - </configuration> |
147 |
| - </execution> |
148 |
| - </executions> |
149 |
| - </plugin> |
150 |
| - </plugins> |
| 135 | + <filters> |
| 136 | + <filter> |
| 137 | + <!-- Pull in everything from commons-logging, so that we pick up all the adapter |
| 138 | + implementations that may not be statically referenced, but could be needed. --> |
| 139 | + <artifact>commons-logging:commons-logging</artifact> |
| 140 | + <includes> |
| 141 | + <include>**</include> |
| 142 | + </includes> |
| 143 | + </filter> |
| 144 | + <filter> |
| 145 | + <artifact>com.fasterxml.jackson.core:*</artifact> |
| 146 | + <includes> |
| 147 | + <include>**</include> |
| 148 | + </includes> |
| 149 | + </filter> |
| 150 | + </filters> |
| 151 | + </configuration> |
| 152 | + </execution> |
| 153 | + </executions> |
| 154 | + </plugin> |
| 155 | + </plugins> |
151 | 156 | </build>
|
152 | 157 |
|
153 | 158 | <profiles>
|
154 |
| - <profile> |
155 |
| - <id>publishing</id> |
156 |
| - |
157 |
| - <build> |
158 |
| - <plugins> |
159 |
| - <plugin> |
160 |
| - <groupId>org.apache.maven.plugins</groupId> |
161 |
| - <artifactId>maven-gpg-plugin</artifactId> |
162 |
| - <executions> |
163 |
| - <execution> |
164 |
| - <id>sign-artifacts</id> |
165 |
| - <phase>verify</phase> |
166 |
| - <goals> |
167 |
| - <goal>sign</goal> |
168 |
| - </goals> |
169 |
| - </execution> |
170 |
| - </executions> |
171 |
| - </plugin> |
| 159 | + <profile> |
| 160 | + <id>publishing</id> |
| 161 | + |
| 162 | + <build> |
| 163 | + <plugins> |
| 164 | + <plugin> |
| 165 | + <groupId>org.apache.maven.plugins</groupId> |
| 166 | + <artifactId>maven-gpg-plugin</artifactId> |
| 167 | + <executions> |
| 168 | + <execution> |
| 169 | + <id>sign-artifacts</id> |
| 170 | + <phase>verify</phase> |
| 171 | + <goals> |
| 172 | + <goal>sign</goal> |
| 173 | + </goals> |
| 174 | + </execution> |
| 175 | + </executions> |
| 176 | + </plugin> |
172 | 177 |
|
173 |
| - <plugin> |
174 |
| - <groupId>org.sonatype.plugins</groupId> |
175 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
176 |
| - <version>1.5.1</version> |
177 |
| - <extensions>true</extensions> |
178 |
| - <configuration> |
179 |
| - <serverId>sonatype-nexus-staging</serverId> |
180 |
| - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
181 |
| - <releaseAfterClose>true</releaseAfterClose> |
182 |
| - </configuration> |
183 |
| - </plugin> |
184 |
| - </plugins> |
185 |
| - </build> |
186 |
| - </profile> |
| 178 | + <plugin> |
| 179 | + <groupId>org.sonatype.plugins</groupId> |
| 180 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 181 | + <version>1.5.1</version> |
| 182 | + <extensions>true</extensions> |
| 183 | + <configuration> |
| 184 | + <serverId>sonatype-nexus-staging</serverId> |
| 185 | + <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 186 | + <releaseAfterClose>true</releaseAfterClose> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + </plugins> |
| 190 | + </build> |
| 191 | + </profile> |
187 | 192 | </profiles>
|
188 | 193 |
|
189 | 194 | </project>
|
0 commit comments