-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
230 lines (213 loc) · 9.76 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- $Rev$ $Date$ -->
<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>
<parent>
<groupId>org.apache.geronimo.genesis</groupId>
<artifactId>genesis-java8-flava</artifactId>
<version>2.4</version>
</parent>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-mail_2.1_spec</artifactId>
<packaging>bundle</packaging>
<name>Apache Geronimo Jakarta Mail Spec 2.1</name>
<version>1.0.0-TT.2-SNAPSHOT</version>
<description>Jakarta Mail 2.1 API Specification</description>
<url>http://geronimo.apache.org/maven/${siteId}/${project.version}</url>
<distributionManagement>
<repository>
<id>tomitribe.releases.https</id>
<name>Tomitribe Release Distribution Repository</name>
<url>https://repository.tomitribe.com/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>tomitribe.snapshots.https</id>
<name>Tomitribe Development Snapshot Repository</name>
<url>https://repository.tomitribe.com/content/repositories/snapshots-tomitribe</url>
</snapshotRepository>
</distributionManagement>
<properties>
<siteId>specs/${project.artifactId}</siteId>
<geronimo.osgi.private.pkg>org.apache.geronimo.mail*</geronimo.osgi.private.pkg>
<geronimo.osgi.resources>src/main/resources/,META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=NOTICE.txt</geronimo.osgi.resources>
</properties>
<scm>
<connection>scm:git:[email protected]:tomitribe/geronimo-mail-spec.git</connection>
<developerConnection>scm:git:[email protected]:tomitribe/geronimo-mail-spec.git</developerConnection>
<url>scm:git:[email protected]:tomitribe/geronimo-mail-spec.git</url>
<tag>HEAD</tag>
</scm>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_2.0_spec</artifactId>
<version>1.0.0-M1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-osgi-locator</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j-core</artifactId>
<version>0.8.7</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<doclint>none</doclint> <!-- Turnoff all checks -->
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<artifactSet>
<includes>
<include>org.apache.james:apache-mime4j-core</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.apache.james.mime4j</pattern>
<shadedPattern>org.apache.geronimo.mail.james.mime4j</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId};singleton=true</Bundle-SymbolicName>
<Specification-Title>JSR-919 Jakarta Mail API 2.1</Specification-Title>
<Specification-Vendor>The Eclipse Foundation</Specification-Vendor>
<Specification-Version>2.1</Specification-Version>
<Export-Package>jakarta.mail*;version=2.1,org.apache.geronimo.mail.util;version=2.1,org.apache.geronimo.mail.handlers;version=2.1</Export-Package>
<Import-Package>org.apache.geronimo.osgi.registry.api;resolution:=optional,*</Import-Package>
<Private-Package>org.apache.geronimo.osgi.locator,org.apache.geronimo.mail</Private-Package>
<Bundle-Activator>org.apache.geronimo.mail.Activator</Bundle-Activator>
<Provide-Capability><![CDATA[
osgi.contract;osgi.contract=JakartaMail;uses:="${packages;NAMED;jakarta.*}";version:List<Version>='2.1'
]]></Provide-Capability>
<_contract>JakartaActivation</_contract>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>rat</id>
<build>
<plugins>
<plugin>
<!-- Override of default rat checks. To use, type "mvn -Prat verify". -->
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<exclude>**/target/**/*</exclude>
<exclude>**/appended-resources/**/*</exclude>
<exclude>**/velocity.log</exclude>
<!-- manifest files don't support comments so don't contain the ASL2.0 header -->
<exclude>**/*.MF</exclude>
<!-- This is a test file that needs to be in exactly the format it is. -->
<exclude>**/wmtom.bin</exclude>
<!--RAT doesn't seem to recognize MIT style licenses-->
<exclude>manual/src/styles/print.css</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>tomitribe-all</id>
<name>Tomitribe Repository</name>
<url>https://repository.tomitribe.com/content/groups/tomitribe/</url>
</repository>
</repositories>
</project>