Skip to content

Commit b5e4e38

Browse files
committed
Moved the mail transport to a separate Maven module.
1 parent 3e09b44 commit b5e4e38

10 files changed

Lines changed: 58 additions & 7 deletions

File tree

axis-rt-core/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
<dependency>
4949
<groupId>javax.mail</groupId>
5050
<artifactId>mail</artifactId>
51-
<version>1.4.1</version>
5251
</dependency>
5352
<dependency>
5453
<groupId>wsdl4j</groupId>
@@ -83,12 +82,6 @@
8382
</exclusion>
8483
</exclusions>
8584
</dependency>
86-
<dependency>
87-
<groupId>commons-net</groupId>
88-
<artifactId>commons-net</artifactId>
89-
<version>1.0.0</version>
90-
<optional>true</optional>
91-
</dependency>
9285
<dependency>
9386
<groupId>jetty</groupId>
9487
<artifactId>jetty</artifactId>

axis-rt-transport-mail/pom.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one
4+
~ or more contributor license agreements. See the NOTICE file
5+
~ distributed with this work for additional information
6+
~ regarding copyright ownership. The ASF licenses this file
7+
~ to you under the Apache License, Version 2.0 (the
8+
~ "License"); you may not use this file except in compliance
9+
~ with the License. You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing,
14+
~ software distributed under the License is distributed on an
15+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
~ KIND, either express or implied. See the License for the
17+
~ specific language governing permissions and limitations
18+
~ under the License.
19+
-->
20+
<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">
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>org.apache.axis</groupId>
24+
<artifactId>axis-project</artifactId>
25+
<version>1.4.1-SNAPSHOT</version>
26+
<relativePath>../pom.xml</relativePath>
27+
</parent>
28+
<artifactId>axis-rt-transport-mail</artifactId>
29+
<name>Mail Transport</name>
30+
<dependencies>
31+
<dependency>
32+
<groupId>${project.groupId}</groupId>
33+
<artifactId>axis-rt-core</artifactId>
34+
<version>${project.version}</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>javax.mail</groupId>
38+
<artifactId>mail</artifactId>
39+
</dependency>
40+
<dependency>
41+
<groupId>commons-net</groupId>
42+
<artifactId>commons-net</artifactId>
43+
<version>1.0.0</version>
44+
</dependency>
45+
</dependencies>
46+
</project>

axis-rt-core/src/main/java/org/apache/axis/transport/mail/Handler.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/Handler.java

File renamed without changes.

axis-rt-core/src/main/java/org/apache/axis/transport/mail/MailConstants.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/MailConstants.java

File renamed without changes.

axis-rt-core/src/main/java/org/apache/axis/transport/mail/MailSender.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/MailSender.java

File renamed without changes.

axis-rt-core/src/main/java/org/apache/axis/transport/mail/MailServer.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/MailServer.java

File renamed without changes.

axis-rt-core/src/main/java/org/apache/axis/transport/mail/MailTransport.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/MailTransport.java

File renamed without changes.

axis-rt-core/src/main/java/org/apache/axis/transport/mail/MailWorker.java renamed to axis-rt-transport-mail/src/main/java/org/apache/axis/transport/mail/MailWorker.java

File renamed without changes.

axis/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
<artifactId>axis-rt-provider-bsf</artifactId>
5252
<version>${project.version}</version>
5353
</dependency>
54+
<dependency>
55+
<groupId>${project.groupId}</groupId>
56+
<artifactId>axis-rt-transport-mail</artifactId>
57+
<version>${project.version}</version>
58+
</dependency>
5459
<dependency>
5560
<groupId>${project.groupId}</groupId>
5661
<artifactId>axis-codegen</artifactId>
@@ -79,6 +84,7 @@
7984
<include>${project.groupId}:axis-rt-core</include>
8085
<include>${project.groupId}:axis-rt-databinding-castor</include>
8186
<include>${project.groupId}:axis-rt-provider-bsf</include>
87+
<include>${project.groupId}:axis-rt-transport-mail</include>
8288
<include>${project.groupId}:axis-codegen</include>
8389
<include>${project.groupId}:axis-tools</include>
8490
</includes>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<module>axis-rt-provider-bsf</module>
6767
<module>axis-rt-transport-http-javanet</module>
6868
<module>axis-rt-transport-jms</module>
69+
<module>axis-rt-transport-mail</module>
6970
<module>axis-saaj</module>
7071
<module>axis-standalone-server</module>
7172
<module>axis-testutils</module>
@@ -85,6 +86,11 @@
8586
<artifactId>activation</artifactId>
8687
<version>1.1</version>
8788
</dependency>
89+
<dependency>
90+
<groupId>javax.mail</groupId>
91+
<artifactId>mail</artifactId>
92+
<version>1.4.1</version>
93+
</dependency>
8894
<dependency>
8995
<groupId>junit</groupId>
9096
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)