This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new d710bf5616 [JAMES-2124] automatically sort poms when not on CI
d710bf5616 is described below
commit d710bf561619b616f16a9419eb3cfc3bf3b06303
Author: Jean Helou <[email protected]>
AuthorDate: Sun Sep 14 16:08:33 2025 +0200
[JAMES-2124] automatically sort poms when not on CI
You can ignore this commit in git blame by running
```
git config blame.ignoreRevsFile .git-blame-ignore-revs
```
The `.git-blame-ignore-revs` file will be created once this commit is
merged on master ( as it needs to contain the commit hash which can only be
known once the commit is on master :D)
---
backends-common/jpa/pom.xml | 6 +-
backends-common/redis/pom.xml | 6 +-
event-sourcing/event-store-memory/pom.xml | 3 +-
examples/custom-healthcheck/pom.xml | 74 ++++-----
examples/custom-imap/pom.xml | 181 ++++++++++-----------
examples/custom-james-assembly/pom.xml | 150 ++++++++---------
examples/custom-smtp-command/pom.xml | 62 +++----
examples/custom-smtp-hooks/pom.xml | 62 +++----
examples/custom-webadmin-route/pom.xml | 62 +++----
examples/metrics-graphite/pom.xml | 137 ++++++++--------
examples/pom.xml | 70 ++++++--
mailet/amqp/pom.xml | 3 +-
pom.xml | 60 ++++---
server/apps/cassandra-app/pom.xml | 27 ++-
server/apps/distributed-pop3-app/pom.xml | 21 ++-
server/apps/jpa-app/pom.xml | 27 ++-
server/apps/jpa-smtp-app/pom.xml | 27 ++-
server/apps/memory-app/pom.xml | 27 ++-
server/apps/migration/core-data-jpa-to-pg/pom.xml | 9 +-
server/apps/scaling-pulsar-smtp/pom.xml | 7 +-
server/apps/spring-app/pom.xml | 19 +--
server/blob/blob-aes/pom.xml | 3 +-
server/container/guice/blob/postgres/pom.xml | 7 +-
.../mailbox-plugin-deleted-messages-vault/pom.xml | 3 +-
server/container/guice/mailbox-postgres/pom.xml | 3 +-
server/container/guice/mailrepository-blob/pom.xml | 1 -
.../guice/mailrepository-cassandra/pom.xml | 1 -
.../container/guice/mailrepository-loaders/pom.xml | 1 -
server/mailrepository/mailrepository-blob/pom.xml | 6 +-
server/protocols/protocols-pop3/pom.xml | 1 -
.../webadmin/webadmin-cassandra-data/pom.xml | 3 +-
third-party/elasticsearch/pom.xml | 4 +-
third-party/rspamd/pom.xml | 1 -
33 files changed, 573 insertions(+), 501 deletions(-)
diff --git a/backends-common/jpa/pom.xml b/backends-common/jpa/pom.xml
index 305b8f0cf1..d2ce214a67 100644
--- a/backends-common/jpa/pom.xml
+++ b/backends-common/jpa/pom.xml
@@ -17,9 +17,7 @@
specific language governing permissions and limitations
under the License.
-->
-<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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.james</groupId>
@@ -69,4 +67,4 @@
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/backends-common/redis/pom.xml b/backends-common/redis/pom.xml
index a6a662bab8..734b742186 100644
--- a/backends-common/redis/pom.xml
+++ b/backends-common/redis/pom.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.james</groupId>
@@ -86,4 +84,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/event-sourcing/event-store-memory/pom.xml
b/event-sourcing/event-store-memory/pom.xml
index 7b7a682426..064f197d1c 100644
--- a/event-sourcing/event-store-memory/pom.xml
+++ b/event-sourcing/event-store-memory/pom.xml
@@ -91,5 +91,4 @@
</plugins>
</build>
-
-</project>
\ No newline at end of file
+</project>
diff --git a/examples/custom-healthcheck/pom.xml
b/examples/custom-healthcheck/pom.xml
index 3ca8981a63..b8446a77f0 100644
--- a/examples/custom-healthcheck/pom.xml
+++ b/examples/custom-healthcheck/pom.xml
@@ -18,44 +18,44 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>examples</artifactId>
- <groupId>org.apache.james.examples</groupId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-healthcheck</artifactId>
- <name>Apache James :: Examples :: Custom HealthCheck</name>
- <description>Example of how to extend James by adding your own
healthcheck</description>
+ <artifactId>custom-healthcheck</artifactId>
+ <name>Apache James :: Examples :: Custom HealthCheck</name>
+ <description>Example of how to extend James by adding your own
healthcheck</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-core</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>io.projectreactor</groupId>
- <artifactId>reactor-core</artifactId>
- <version>3.6.7</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-core</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.projectreactor</groupId>
+ <artifactId>reactor-core</artifactId>
+ <version>3.6.7</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <finalName>custom-healthcheck</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <finalName>custom-healthcheck</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
-</project>
\ No newline at end of file
+</project>
diff --git a/examples/custom-imap/pom.xml b/examples/custom-imap/pom.xml
index 64bf70d34f..f38744b78c 100644
--- a/examples/custom-imap/pom.xml
+++ b/examples/custom-imap/pom.xml
@@ -17,98 +17,97 @@
specific language governing permissions and limitations
under the License.
-->
-
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-imap</artifactId>
- <name>Apache James :: Examples :: Custom IMAP</name>
- <description>Example of how to extend James existing IMAP implementation
by adding your own commands</description>
+ <artifactId>custom-imap</artifactId>
+ <name>Apache James :: Examples :: Custom IMAP</name>
+ <description>Example of how to extend James existing IMAP implementation by
adding your own commands</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-guice-imap</artifactId>
- <version>${james.baseVersion}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-guice-common</artifactId>
- <type>test-jar</type>
- <version>${james.baseVersion}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-memory-app</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>testing-base</artifactId>
- <version>${james.baseVersion}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-testing</artifactId>
- <version>${james.baseVersion}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>${james.protocols.groupId}</groupId>
- <artifactId>protocols-imap</artifactId>
- <version>${james.baseVersion}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <version>7.0.0</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-guice-imap</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-guice-common</artifactId>
+ <version>${james.baseVersion}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-memory-app</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>testing-base</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-testing</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${james.protocols.groupId}</groupId>
+ <artifactId>protocols-imap</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>7.0.0</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>fully.qualified.MainClass</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- <finalName>custom-imap</finalName>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>fully.qualified.MainClass</mainClass>
+ </manifest>
+ </archive>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ <finalName>custom-imap</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/custom-james-assembly/pom.xml
b/examples/custom-james-assembly/pom.xml
index 0af69e9bf0..80840d564d 100644
--- a/examples/custom-james-assembly/pom.xml
+++ b/examples/custom-james-assembly/pom.xml
@@ -18,81 +18,83 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-james-assembly</artifactId>
+ <artifactId>custom-james-assembly</artifactId>
- <name>Apache James :: Examples :: Custom James server assembly</name>
- <description>Assemble your own James server tailored to your
needs.</description>
+ <name>Apache James :: Examples :: Custom James server assembly</name>
+ <description>Assemble your own James server tailored to your
needs.</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-memory-app</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-memory-app</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>jib-maven-plugin</artifactId>
- <version>3.3.2</version>
- <configuration>
- <from>
- <image>eclipse-temurin:21-jre-jammy</image>
- </from>
- <to>
- <image>apache/james</image>
- <tags>
- <tag>custom-latest</tag>
- </tags>
- </to>
- <container>
-
<mainClass>org.apache.james.examples.CustomJamesServerMain</mainClass>
- <ports>
- <port>25</port> <!-- JMAP -->
- <port>143</port> <!-- IMAP -->
- </ports>
- <appRoot>/root</appRoot>
- <jvmFlags>
-
<jvmFlag>-Dlogback.configurationFile=/root/conf/logback.xml</jvmFlag>
- <jvmFlag>-Dworking.directory=/root/</jvmFlag>
- </jvmFlags>
- <creationTime>USE_CURRENT_TIMESTAMP</creationTime>
- </container>
- <extraDirectories>
- <paths>
- <path>
- <from>sample-configuration</from>
- <into>/root/conf</into>
- </path>
- </paths>
- </extraDirectories>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>buildTar</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ <version>3.3.2</version>
+ <configuration>
+ <from>
+ <image>eclipse-temurin:21-jre-jammy</image>
+ </from>
+ <to>
+ <image>apache/james</image>
+ <tags>
+ <tag>custom-latest</tag>
+ </tags>
+ </to>
+ <container>
+
<mainClass>org.apache.james.examples.CustomJamesServerMain</mainClass>
+ <ports>
+ <port>25</port>
+ <!-- JMAP -->
+ <port>143</port>
+ <!-- IMAP -->
+ </ports>
+ <appRoot>/root</appRoot>
+ <jvmFlags>
+
<jvmFlag>-Dlogback.configurationFile=/root/conf/logback.xml</jvmFlag>
+ <jvmFlag>-Dworking.directory=/root/</jvmFlag>
+ </jvmFlags>
+ <creationTime>USE_CURRENT_TIMESTAMP</creationTime>
+ </container>
+ <extraDirectories>
+ <paths>
+ <path>
+ <from>sample-configuration</from>
+ <into>/root/conf</into>
+ </path>
+ </paths>
+ </extraDirectories>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>buildTar</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/custom-smtp-command/pom.xml
b/examples/custom-smtp-command/pom.xml
index 15a6c2c415..435bc4ed2c 100644
--- a/examples/custom-smtp-command/pom.xml
+++ b/examples/custom-smtp-command/pom.xml
@@ -18,38 +18,38 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-smtp-command</artifactId>
+ <artifactId>custom-smtp-command</artifactId>
- <name>Apache James :: Examples :: Custom SMTP Command</name>
- <description>Example of how to extend James existing SMTP implementation
by adding your own commands</description>
+ <name>Apache James :: Examples :: Custom SMTP Command</name>
+ <description>Example of how to extend James existing SMTP implementation by
adding your own commands</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-protocols-smtp</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-protocols-smtp</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <finalName>custom-smtp-command</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <finalName>custom-smtp-command</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/custom-smtp-hooks/pom.xml
b/examples/custom-smtp-hooks/pom.xml
index 892475a48e..a6c7591cdb 100644
--- a/examples/custom-smtp-hooks/pom.xml
+++ b/examples/custom-smtp-hooks/pom.xml
@@ -18,38 +18,38 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-smtp-hooks</artifactId>
+ <artifactId>custom-smtp-hooks</artifactId>
- <name>Apache James :: Examples :: Custom SMTP Hooks</name>
- <description>Example of how to extend James existing SMTP
implementation</description>
+ <name>Apache James :: Examples :: Custom SMTP Hooks</name>
+ <description>Example of how to extend James existing SMTP
implementation</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-protocols-smtp</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-protocols-smtp</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <finalName>custom-smtp-hooks</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <finalName>custom-smtp-hooks</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/custom-webadmin-route/pom.xml
b/examples/custom-webadmin-route/pom.xml
index bf0c4db967..bb24303b96 100644
--- a/examples/custom-webadmin-route/pom.xml
+++ b/examples/custom-webadmin-route/pom.xml
@@ -18,38 +18,38 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>custom-webadmin-route</artifactId>
+ <artifactId>custom-webadmin-route</artifactId>
- <name>Apache James :: Examples :: Custom WebAdmin route</name>
- <description>Example of how to extend James by adding your own webadmin
routes</description>
+ <name>Apache James :: Examples :: Custom WebAdmin route</name>
+ <description>Example of how to extend James by adding your own webadmin
routes</description>
- <dependencies>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-webadmin-core</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-webadmin-core</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <finalName>custom-webadmin-route</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <finalName>custom-webadmin-route</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/metrics-graphite/pom.xml
b/examples/metrics-graphite/pom.xml
index 245bb2e79c..bc08dc8a62 100644
--- a/examples/metrics-graphite/pom.xml
+++ b/examples/metrics-graphite/pom.xml
@@ -18,75 +18,74 @@
under the License.
-->
<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.james.examples</groupId>
- <artifactId>examples</artifactId>
- <version>3.9.0-SNAPSHOT</version>
- </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.james.examples</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.9.0-SNAPSHOT</version>
+ </parent>
- <artifactId>metrics-graphite</artifactId>
+ <artifactId>metrics-graphite</artifactId>
- <dependencies>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-graphite</artifactId>
- <version>4.2.32</version>
- </dependency>
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <version>7.0.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.james</groupId>
- <artifactId>james-server-guice-configuration</artifactId>
- <version>${james.baseVersion}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.james</groupId>
- <artifactId>james-server-lifecycle-api</artifactId>
- <version>${james.baseVersion}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>io.dropwizard.metrics</groupId>
+ <artifactId>metrics-graphite</artifactId>
+ <version>4.2.32</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>7.0.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>james-server-guice-configuration</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>james-server-lifecycle-api</artifactId>
+ <version>${james.baseVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>fully.qualified.MainClass</mainClass>
- </manifest>
- </archive>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- <finalName>metrics-graphite</finalName>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>fully.qualified.MainClass</mainClass>
+ </manifest>
+ </archive>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ <finalName>metrics-graphite</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/pom.xml b/examples/pom.xml
index 5d4e60e0d6..fa41878865 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -23,7 +23,7 @@
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>23</version>
- <relativePath />
+ <relativePath></relativePath>
</parent>
<groupId>org.apache.james.examples</groupId>
@@ -32,15 +32,6 @@
<packaging>pom</packaging>
<name>Apache James :: Examples</name>
- <properties>
- <james.groupId>org.apache.james</james.groupId>
- <james.baseVersion>${project.version}</james.baseVersion>
-
<james.protocols.groupId>${james.groupId}.protocols</james.protocols.groupId>
- <maven.compiler.target>21</maven.compiler.target>
- <maven.compiler.source>21</maven.compiler.source>
- <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
- </properties>
-
<modules>
<module>custom-james-assembly</module>
<module>custom-listeners</module>
@@ -53,7 +44,31 @@
<module>custom-imap</module>
</modules>
+ <properties>
+ <james.groupId>org.apache.james</james.groupId>
+ <james.baseVersion>${project.version}</james.baseVersion>
+
<james.protocols.groupId>${james.groupId}.protocols</james.protocols.groupId>
+ <maven.compiler.target>21</maven.compiler.target>
+ <maven.compiler.source>21</maven.compiler.source>
+ <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
+ <sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version>
+ </properties>
+
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${jacoco-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>com.github.ekryd.sortpom</groupId>
+ <artifactId>sortpom-maven-plugin</artifactId>
+ <version>${sortpom-maven-plugin.version}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
@@ -77,4 +92,39 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>sortPom</id>
+ <activation>
+ <property>
+ <name>!env.CI</name>
+ <value></value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ekryd.sortpom</groupId>
+ <artifactId>sortpom-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>strict-pom-ordering</id>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ <phase>none</phase>
+ </execution>
+ <execution>
+ <id>fix-pom-ordering</id>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ <phase>validate</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/mailet/amqp/pom.xml b/mailet/amqp/pom.xml
index ad2bca1bf0..df8a78af04 100644
--- a/mailet/amqp/pom.xml
+++ b/mailet/amqp/pom.xml
@@ -34,7 +34,6 @@
<description>Provides a mailet forwarding mail attributes over
AMQP</description>
<inceptionYear>2021</inceptionYear>
-
<dependencies>
<dependency>
<groupId>${james.groupId}</groupId>
@@ -141,4 +140,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/pom.xml b/pom.xml
index f6d1a6fe05..1f1e8ad48a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>21</version>
- <relativePath />
+ <relativePath/>
</parent>
<groupId>org.apache.james</groupId>
@@ -82,7 +82,7 @@
<roles>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
<properties>
<Donator>Serge was the original donator of the James code,
which has since been massively
improved by people smarter than him. He tries to answer
questions on the listserv and make
@@ -97,7 +97,7 @@
<roles>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>sbrewin</id>
@@ -107,7 +107,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>hilmer</id>
@@ -117,7 +117,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>noel</id>
@@ -127,7 +127,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>danny</id>
@@ -139,7 +139,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
<properties>
<Description>Danny is a member of the Apache Software
Foundation and married father
of two by night, and by day works as lead technical
consultant for the Student Loans
@@ -179,7 +179,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>rdonkin</id>
@@ -189,7 +189,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>niklas</id>
@@ -216,7 +216,7 @@
<roles>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>olegk</id>
@@ -226,7 +226,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>manolo</id>
@@ -236,7 +236,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>eric</id>
@@ -246,7 +246,7 @@
<role>Developer</role>
<role>PMC Member</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>felixk</id>
@@ -265,7 +265,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>matthieu</id>
@@ -275,7 +275,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>btellier</id>
@@ -288,7 +288,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>aduprat</id>
@@ -300,7 +300,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>rouazana</id>
@@ -311,7 +311,7 @@
<roles>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>jhelou</id>
@@ -321,7 +321,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>rcordier</id>
@@ -331,7 +331,7 @@
<role>PMC Member</role>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
<developer>
<id>hqtran</id>
@@ -340,7 +340,7 @@
<roles>
<role>Developer</role>
</roles>
- <timezone />
+ <timezone/>
</developer>
</developers>
@@ -617,7 +617,7 @@
This property contains the directory where to deploy when running
using "-Psite-reports" profile
to avoid accidently overriding the common modules website. Empty
by default.
-->
- <deployTechnicalSiteDirectory />
+ <deployTechnicalSiteDirectory/>
<james.groupId>org.apache.james</james.groupId>
<james.protocols.groupId>${james.groupId}.protocols</james.protocols.groupId>
@@ -3915,7 +3915,7 @@
<execute>
<runOnIncremental>false</runOnIncremental>
</execute>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -3931,7 +3931,7 @@
<execute>
<runOnIncremental>false</runOnIncremental>
</execute>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -3947,7 +3947,7 @@
<execute>
<runOnIncremental>false</runOnIncremental>
</execute>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
<pluginExecution>
@@ -3961,7 +3961,7 @@
</goals>
</pluginExecutionFilter>
<action>
- <ignore />
+ <ignore/>
</action>
</pluginExecution>
</pluginExecutions>
@@ -4269,7 +4269,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
- <excludedGroups />
+ <excludedGroups/>
<groups>unstable</groups>
</configuration>
</plugin>
@@ -4279,6 +4279,12 @@
</profile>
<profile>
<id>sortPom</id>
+ <activation>
+ <property>
+ <name>!env.CI</name>
+ <value/>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>
diff --git a/server/apps/cassandra-app/pom.xml
b/server/apps/cassandra-app/pom.xml
index 5d8a1f987a..c8500eec47 100644
--- a/server/apps/cassandra-app/pom.xml
+++ b/server/apps/cassandra-app/pom.xml
@@ -342,14 +342,22 @@
<container>
<mainClass>org.apache.james.CassandraJamesServerMain</mainClass>
<ports>
- <port>80</port> <!-- JMAP -->
- <port>143</port> <!-- IMAP -->
- <port>993</port> <!-- IMAPS -->
- <port>25</port> <!-- SMTP -->
- <port>465</port> <!-- SMTP + STARTTLS -->
- <port>587</port> <!-- SMTPS -->
- <port>4000</port> <!-- GLOWROOT, if activated -->
- <port>8000</port> <!-- WEBADMIN -->
+ <port>80</port>
+ <!-- JMAP -->
+ <port>143</port>
+ <!-- IMAP -->
+ <port>993</port>
+ <!-- IMAPS -->
+ <port>25</port>
+ <!-- SMTP -->
+ <port>465</port>
+ <!-- SMTP + STARTTLS -->
+ <port>587</port>
+ <!-- SMTPS -->
+ <port>4000</port>
+ <!-- GLOWROOT, if activated -->
+ <port>8000</port>
+ <!-- WEBADMIN -->
</ports>
<appRoot>/root</appRoot>
<jvmFlags>
@@ -397,7 +405,8 @@
<permissions>
<permission>
<file>/usr/bin/james-cli</file>
- <mode>755</mode> <!-- Read/write/execute for
owner, read/execute for group/other -->
+ <mode>755</mode>
+ <!-- Read/write/execute for owner,
read/execute for group/other -->
</permission>
</permissions>
</extraDirectories>
diff --git a/server/apps/distributed-pop3-app/pom.xml
b/server/apps/distributed-pop3-app/pom.xml
index b7546c19cf..779b3a6503 100644
--- a/server/apps/distributed-pop3-app/pom.xml
+++ b/server/apps/distributed-pop3-app/pom.xml
@@ -34,7 +34,6 @@
<description>An advanced email server - Cassandra backend and RabbitMQ
messaging with guice injection.
The use of messageId as an identifier enables to use safely Cassandra
multi-datacenters set up.</description>
-
<dependencyManagement>
<dependencies>
<dependency>
@@ -400,12 +399,17 @@
<container>
<mainClass>org.apache.james.DistributedPOP3JamesServerMain</mainClass>
<ports>
- <port>25</port> <!-- SMTP -->
- <port>110</port> <!-- POP3 -->
- <port>465</port> <!-- SMTP + STARTTLS -->
- <port>587</port> <!-- SMTPS -->
+ <port>25</port>
+ <!-- SMTP -->
+ <port>110</port>
+ <!-- POP3 -->
+ <port>465</port>
+ <!-- SMTP + STARTTLS -->
+ <port>587</port>
+ <!-- SMTPS -->
- <port>8000</port> <!-- WEBADMIN -->
+ <port>8000</port>
+ <!-- WEBADMIN -->
</ports>
<appRoot>/root</appRoot>
<jvmFlags>
@@ -448,7 +452,8 @@
<permissions>
<permission>
<file>/usr/bin/james-cli</file>
- <mode>755</mode> <!-- Read/write/execute for
owner, read/execute for group/other -->
+ <mode>755</mode>
+ <!-- Read/write/execute for owner,
read/execute for group/other -->
</permission>
</permissions>
</extraDirectories>
@@ -478,4 +483,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/server/apps/jpa-app/pom.xml b/server/apps/jpa-app/pom.xml
index ef9a5caa9a..953986eeed 100644
--- a/server/apps/jpa-app/pom.xml
+++ b/server/apps/jpa-app/pom.xml
@@ -287,14 +287,22 @@
<container>
<mainClass>org.apache.james.JPAJamesServerMain</mainClass>
<ports>
- <port>80</port> <!-- JMAP -->
- <port>143</port> <!-- IMAP -->
- <port>993</port> <!-- IMAPS -->
- <port>25</port> <!-- SMTP -->
- <port>465</port> <!-- SMTP + STARTTLS -->
- <port>587</port> <!-- SMTPS -->
- <port>4000</port> <!-- GLOWROOT, if activated -->
- <port>8000</port> <!-- WEBADMIN -->
+ <port>80</port>
+ <!-- JMAP -->
+ <port>143</port>
+ <!-- IMAP -->
+ <port>993</port>
+ <!-- IMAPS -->
+ <port>25</port>
+ <!-- SMTP -->
+ <port>465</port>
+ <!-- SMTP + STARTTLS -->
+ <port>587</port>
+ <!-- SMTPS -->
+ <port>4000</port>
+ <!-- GLOWROOT, if activated -->
+ <port>8000</port>
+ <!-- WEBADMIN -->
</ports>
<appRoot>/root</appRoot>
<jvmFlags>
@@ -344,7 +352,8 @@
<permissions>
<permission>
<file>/usr/bin/james-cli</file>
- <mode>755</mode> <!-- Read/write/execute for
owner, read/execute for group/other -->
+ <mode>755</mode>
+ <!-- Read/write/execute for owner,
read/execute for group/other -->
</permission>
</permissions>
</extraDirectories>
diff --git a/server/apps/jpa-smtp-app/pom.xml b/server/apps/jpa-smtp-app/pom.xml
index 7f0e612937..e3f9ee61c3 100644
--- a/server/apps/jpa-smtp-app/pom.xml
+++ b/server/apps/jpa-smtp-app/pom.xml
@@ -266,14 +266,22 @@
<container>
<mainClass>org.apache.james.JPAJamesServerMain</mainClass>
<ports>
- <port>80</port> <!-- JMAP -->
- <port>143</port> <!-- IMAP -->
- <port>993</port> <!-- IMAPS -->
- <port>25</port> <!-- SMTP -->
- <port>465</port> <!-- SMTP + STARTTLS -->
- <port>587</port> <!-- SMTPS -->
- <port>4000</port> <!-- GLOWROOT, if activated -->
- <port>8000</port> <!-- WEBADMIN -->
+ <port>80</port>
+ <!-- JMAP -->
+ <port>143</port>
+ <!-- IMAP -->
+ <port>993</port>
+ <!-- IMAPS -->
+ <port>25</port>
+ <!-- SMTP -->
+ <port>465</port>
+ <!-- SMTP + STARTTLS -->
+ <port>587</port>
+ <!-- SMTPS -->
+ <port>4000</port>
+ <!-- GLOWROOT, if activated -->
+ <port>8000</port>
+ <!-- WEBADMIN -->
</ports>
<appRoot>/root</appRoot>
<jvmFlags>
@@ -323,7 +331,8 @@
<permissions>
<permission>
<file>/usr/bin/james-cli</file>
- <mode>755</mode> <!-- Read/write/execute for
owner, read/execute for group/other -->
+ <mode>755</mode>
+ <!-- Read/write/execute for owner,
read/execute for group/other -->
</permission>
</permissions>
</extraDirectories>
diff --git a/server/apps/memory-app/pom.xml b/server/apps/memory-app/pom.xml
index 90035ec9c2..f05264995f 100644
--- a/server/apps/memory-app/pom.xml
+++ b/server/apps/memory-app/pom.xml
@@ -288,14 +288,22 @@
<container>
<mainClass>org.apache.james.MemoryJamesServerMain</mainClass>
<ports>
- <port>80</port> <!-- JMAP -->
- <port>143</port> <!-- IMAP -->
- <port>993</port> <!-- IMAPS -->
- <port>25</port> <!-- SMTP -->
- <port>465</port> <!-- SMTP + STARTTLS -->
- <port>587</port> <!-- SMTPS -->
- <port>4000</port> <!-- GLOWROOT, if activated -->
- <port>8000</port> <!-- WEBADMIN -->
+ <port>80</port>
+ <!-- JMAP -->
+ <port>143</port>
+ <!-- IMAP -->
+ <port>993</port>
+ <!-- IMAPS -->
+ <port>25</port>
+ <!-- SMTP -->
+ <port>465</port>
+ <!-- SMTP + STARTTLS -->
+ <port>587</port>
+ <!-- SMTPS -->
+ <port>4000</port>
+ <!-- GLOWROOT, if activated -->
+ <port>8000</port>
+ <!-- WEBADMIN -->
</ports>
<appRoot>/root</appRoot>
<jvmFlags>
@@ -340,7 +348,8 @@
<permissions>
<permission>
<file>/usr/bin/james-cli</file>
- <mode>755</mode> <!-- Read/write/execute for
owner, read/execute for group/other -->
+ <mode>755</mode>
+ <!-- Read/write/execute for owner,
read/execute for group/other -->
</permission>
</permissions>
</extraDirectories>
diff --git a/server/apps/migration/core-data-jpa-to-pg/pom.xml
b/server/apps/migration/core-data-jpa-to-pg/pom.xml
index a8af750981..9da7fa7c7c 100644
--- a/server/apps/migration/core-data-jpa-to-pg/pom.xml
+++ b/server/apps/migration/core-data-jpa-to-pg/pom.xml
@@ -17,8 +17,7 @@
specific language governing permissions and limitations
under the License.
-->
-<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">
+<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>
@@ -33,8 +32,7 @@
<packaging>jar</packaging>
<name>Apache James :: Server :: Binaries :: core data migration tool from
JPA to PG</name>
- <description>
- A tool to help migrating servers from the JPA implementation
+ <description>A tool to help migrating servers from the JPA implementation
(regardless of backing database) to the new recommended Postgres
implementation. This tool only migrates Core DATA supported by JPA:
- Domains
@@ -42,8 +40,7 @@
- RRT
- Mail Repository urls
- DropLists
- - Sieve (quota and scripts)
- </description>
+ - Sieve (quota and scripts)</description>
<dependencyManagement>
<dependencies>
diff --git a/server/apps/scaling-pulsar-smtp/pom.xml
b/server/apps/scaling-pulsar-smtp/pom.xml
index d77780e6d6..6c05cb658a 100644
--- a/server/apps/scaling-pulsar-smtp/pom.xml
+++ b/server/apps/scaling-pulsar-smtp/pom.xml
@@ -17,8 +17,7 @@
specific language governing permissions and limitations
under the License.
-->
-<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">
+<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>
@@ -265,9 +264,7 @@
</goals>
<phase>package</phase>
<configuration>
- <url>
-
https://github.com/glowroot/glowroot/releases/download/v0.13.6/glowroot-0.13.6-dist.zip
- </url>
+
<url>https://github.com/glowroot/glowroot/releases/download/v0.13.6/glowroot-0.13.6-dist.zip</url>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}</outputDirectory>
<md5>f9026dbab1fbade067ca549913802fcc</md5>
diff --git a/server/apps/spring-app/pom.xml b/server/apps/spring-app/pom.xml
index 6731e97a67..1ddce067b5 100644
--- a/server/apps/spring-app/pom.xml
+++ b/server/apps/spring-app/pom.xml
@@ -54,8 +54,7 @@
${javamail.system-property3} ${javamail.system-property4}
${javamail.system-property5}
${javamail.system-property6} ${javamail.system-property7}
${javamail.system-property8}
${javamail.system-property9} ${javamail.system-property10}
${javamail.system-property11}
- ${javamail.system-property12}
- </javamail.system-properties>
+ ${javamail.system-property12}</javamail.system-properties>
<!-- JMX system properties -->
<!-- For more details see -->
@@ -812,21 +811,21 @@
<!-- this is only needed because windows freak
out on long cmd lines, so we strip of the absolute path
from the lib dir to make windows happy
again
-->
- <replace
file="${project.build.directory}/appassembler/bin/run.bat"
token="%BASEDIR%\lib" value="..\lib" />
- <replace
file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
value="setenv.sh" />
+ <replace
file="${project.build.directory}/appassembler/bin/run.bat"
token="%BASEDIR%\lib" value="..\lib"/>
+ <replace
file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
value="setenv.sh"/>
<!-- this is needed because appassembler is
not really smart on some settings -->
- <replace
file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar" />
- <replace
file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
value="var" />
- <replace
file="${project.build.directory}/appassembler/jsw/james/bin/james"
token="setenv" value="setenv.sh" />
+ <replace
file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar"/>
+ <replace
file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
value="var"/>
+ <replace
file="${project.build.directory}/appassembler/jsw/james/bin/james"
token="setenv" value="setenv.sh"/>
<!-- copy the linux wrapper-linux-x86-32 to
wrapper, so use it as default if no matching wrapper was found -->
- <copy
file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper" />
+ <copy
file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
<!-- this is only needed because windows freak
out on long cmd lines, so we strip of the absolute path
from the lib dir to make windows happy
again
-->
- <replace
file="${project.build.directory}/appassembler/bin/james-cli.bat"
token="%BASEDIR%\lib" value="..\lib" />
- <replace
file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
value="setenv.sh" />
+ <replace
file="${project.build.directory}/appassembler/bin/james-cli.bat"
token="%BASEDIR%\lib" value="..\lib"/>
+ <replace
file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
value="setenv.sh"/>
</target>
</configuration>
diff --git a/server/blob/blob-aes/pom.xml b/server/blob/blob-aes/pom.xml
index 842bde3316..fca82d6253 100644
--- a/server/blob/blob-aes/pom.xml
+++ b/server/blob/blob-aes/pom.xml
@@ -72,5 +72,4 @@
</dependency>
</dependencies>
-
-</project>
\ No newline at end of file
+</project>
diff --git a/server/container/guice/blob/postgres/pom.xml
b/server/container/guice/blob/postgres/pom.xml
index f42dcd8ea6..a75cbc89a9 100644
--- a/server/container/guice/blob/postgres/pom.xml
+++ b/server/container/guice/blob/postgres/pom.xml
@@ -17,10 +17,7 @@
specific language governing permissions and limitations
under the License.
-->
-
-<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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.james</groupId>
@@ -50,4 +47,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git
a/server/container/guice/mailbox-plugin-deleted-messages-vault/pom.xml
b/server/container/guice/mailbox-plugin-deleted-messages-vault/pom.xml
index 4e6db93648..85cd9c9a22 100644
--- a/server/container/guice/mailbox-plugin-deleted-messages-vault/pom.xml
+++ b/server/container/guice/mailbox-plugin-deleted-messages-vault/pom.xml
@@ -31,7 +31,6 @@
<name>Apache James :: Server :: Guice :: Mailbox :: Plugin :: Deleted
messages vault</name>
<description>Mailbox modules for Guice implementation of Deleted messages
vault</description>
-
<dependencies>
<dependency>
<groupId>${james.groupId}</groupId>
@@ -64,4 +63,4 @@
<artifactId>guice</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/server/container/guice/mailbox-postgres/pom.xml
b/server/container/guice/mailbox-postgres/pom.xml
index 599f8f5231..33ff3bf2bb 100644
--- a/server/container/guice/mailbox-postgres/pom.xml
+++ b/server/container/guice/mailbox-postgres/pom.xml
@@ -17,8 +17,7 @@
specific language governing permissions and limitations
under the License.
-->
-<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">
+<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>
diff --git a/server/container/guice/mailrepository-blob/pom.xml
b/server/container/guice/mailrepository-blob/pom.xml
index 09d0a21e87..ca3de77f1b 100644
--- a/server/container/guice/mailrepository-blob/pom.xml
+++ b/server/container/guice/mailrepository-blob/pom.xml
@@ -71,5 +71,4 @@
</dependency>
</dependencies>
-
</project>
diff --git a/server/container/guice/mailrepository-cassandra/pom.xml
b/server/container/guice/mailrepository-cassandra/pom.xml
index 21e6a25ab6..10320efd45 100644
--- a/server/container/guice/mailrepository-cassandra/pom.xml
+++ b/server/container/guice/mailrepository-cassandra/pom.xml
@@ -67,5 +67,4 @@
</dependency>
</dependencies>
-
</project>
diff --git a/server/container/guice/mailrepository-loaders/pom.xml
b/server/container/guice/mailrepository-loaders/pom.xml
index c4eef51dcc..9dd4db3caa 100644
--- a/server/container/guice/mailrepository-loaders/pom.xml
+++ b/server/container/guice/mailrepository-loaders/pom.xml
@@ -59,5 +59,4 @@
</dependency>
</dependencies>
-
</project>
diff --git a/server/mailrepository/mailrepository-blob/pom.xml
b/server/mailrepository/mailrepository-blob/pom.xml
index 5e052cf162..3ef9573bc8 100644
--- a/server/mailrepository/mailrepository-blob/pom.xml
+++ b/server/mailrepository/mailrepository-blob/pom.xml
@@ -34,9 +34,9 @@
<dependencies>
<dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>apache-mailet-test</artifactId>
- <scope>test</scope>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>apache-mailet-test</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>${james.groupId}</groupId>
diff --git a/server/protocols/protocols-pop3/pom.xml
b/server/protocols/protocols-pop3/pom.xml
index b083b3c9cb..553a1dd9a4 100644
--- a/server/protocols/protocols-pop3/pom.xml
+++ b/server/protocols/protocols-pop3/pom.xml
@@ -169,7 +169,6 @@
</dependency>
</dependencies>
-
<build>
<plugins>
<plugin>
diff --git a/server/protocols/webadmin/webadmin-cassandra-data/pom.xml
b/server/protocols/webadmin/webadmin-cassandra-data/pom.xml
index 28a55186de..40d22cc568 100644
--- a/server/protocols/webadmin/webadmin-cassandra-data/pom.xml
+++ b/server/protocols/webadmin/webadmin-cassandra-data/pom.xml
@@ -17,7 +17,6 @@
specific language governing permissions and limitations
under the License.
-->
-
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -99,4 +98,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/third-party/elasticsearch/pom.xml
b/third-party/elasticsearch/pom.xml
index 48fc0522ec..c9040a7837 100644
--- a/third-party/elasticsearch/pom.xml
+++ b/third-party/elasticsearch/pom.xml
@@ -143,5 +143,5 @@
</executions>
</plugin>
</plugins>
-</build>
-</project>
\ No newline at end of file
+ </build>
+</project>
diff --git a/third-party/rspamd/pom.xml b/third-party/rspamd/pom.xml
index e83aff71eb..a32b9dd5df 100644
--- a/third-party/rspamd/pom.xml
+++ b/third-party/rspamd/pom.xml
@@ -1,5 +1,4 @@
<?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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]