Skip to content

Commit a43fe2b

Browse files
committed
move JAR only plugins to module, add profile for javadoc and source, fix #32
1 parent 265ca97 commit a43fe2b

File tree

1 file changed

+56
-21
lines changed

1 file changed

+56
-21
lines changed

kotlin/pom.xml

Lines changed: 56 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,60 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<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">
19-
<modelVersion>4.0.0</modelVersion>
20-
21-
<name>Axon Framework - Kotlin Extension</name>
22-
<description>Module for the Kotlin Extension of Axon Framework</description>
23-
24-
<parent>
25-
<groupId>org.axonframework.extensions.kotlin</groupId>
26-
<artifactId>axon-kotlin-parent</artifactId>
27-
<version>0.2.0-SNAPSHOT</version>
28-
</parent>
29-
30-
<artifactId>axon-kotlin</artifactId>
31-
32-
<dependencies>
33-
<dependency>
34-
<groupId>org.axonframework</groupId>
35-
<artifactId>axon-configuration</artifactId>
36-
<scope>provided</scope>
37-
</dependency>
38-
</dependencies>
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<name>Axon Framework - Kotlin Extension</name>
23+
<description>Module for the Kotlin Extension of Axon Framework</description>
24+
25+
<parent>
26+
<groupId>org.axonframework.extensions.kotlin</groupId>
27+
<artifactId>axon-kotlin-parent</artifactId>
28+
<version>0.2.0-SNAPSHOT</version>
29+
</parent>
30+
31+
<artifactId>axon-kotlin</artifactId>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>org.axonframework</groupId>
36+
<artifactId>axon-configuration</artifactId>
37+
<scope>provided</scope>
38+
</dependency>
39+
</dependencies>
40+
41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.jetbrains.kotlin</groupId>
45+
<artifactId>kotlin-maven-plugin</artifactId>
46+
</plugin>
47+
</plugins>
48+
</build>
49+
50+
<profiles>
51+
<profile>
52+
<id>javadoc-and-sources</id>
53+
<activation>
54+
<property>
55+
<name>performRelease</name>
56+
<value>true</value>
57+
</property>
58+
</activation>
59+
<build>
60+
<plugins>
61+
<plugin>
62+
<groupId>org.jetbrains.dokka</groupId>
63+
<artifactId>dokka-maven-plugin</artifactId>
64+
</plugin>
65+
<plugin>
66+
<artifactId>maven-source-plugin</artifactId>
67+
<version>3.0.1</version>
68+
</plugin>
69+
</plugins>
70+
</build>
71+
</profile>
72+
</profiles>
73+
3974
</project>

0 commit comments

Comments
 (0)