forked from bbottema/simple-java-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tino Ojala
committed
Apr 14, 2023
1 parent
2ecf4f8
commit 68065de
Showing
4 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Compiles simplejavamail into an Apache Karaf feature. | ||
|
||
Usage in Karaf simılar to: | ||
``` | ||
karaf@root()> repo-add mvn:org.simplejavamail/simplejavamail-karaf-feature/<VERSION>/xml/features | ||
karaf@root()> feature:install simplejavamail-karaf-feature | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.simplejavamail</groupId> | ||
<artifactId>karaf-module</artifactId> | ||
<version>8.0.1</version> | ||
</parent> | ||
|
||
<artifactId>simplejavamail-karaf-feature</artifactId> | ||
<packaging>feature</packaging> | ||
<name>Simple Java Mail - Karaf feature</name> | ||
<description>Feature descriptor for Apache Karaf</description> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.karaf.tooling</groupId> | ||
<artifactId>karaf-maven-plugin</artifactId> | ||
<version>4.4.3</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<excludedArtifactIds> | ||
<excludedArtifactId>slf4j-api</excludedArtifactId> | ||
</excludedArtifactIds> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>features-generate-descriptor</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.simplejavamail</groupId> | ||
<artifactId>core-module</artifactId> | ||
<version>${project.version}</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.simplejavamail</groupId> | ||
<artifactId>simple-java-mail</artifactId> | ||
<version>${project.version}</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.simplejavamail</groupId> | ||
<artifactId>maven-master-project</artifactId> | ||
<!--suppress MavenPropertyInParent --> | ||
<version>8.0.1</version> | ||
<relativePath>../../</relativePath> | ||
</parent> | ||
|
||
<artifactId>karaf-module</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Simple Java Mail - Karaf module</name> | ||
|
||
<modules> | ||
<module>karaf-feature</module> | ||
</modules> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters