File tree Expand file tree Collapse file tree 2 files changed +55
-34
lines changed Expand file tree Collapse file tree 2 files changed +55
-34
lines changed Original file line number Diff line number Diff line change 27
27
<artifactId >atomicfu</artifactId >
28
28
<packaging >jar</packaging >
29
29
30
- <!-- documentation -->
31
- <build >
32
- <plugins >
33
- <plugin >
34
- <groupId >org.jetbrains.dokka</groupId >
35
- <artifactId >dokka-maven-plugin</artifactId >
36
- <executions >
37
- <!-- attach javadoc with dokka -->
38
- <execution >
39
- <id >attach-javadocs</id >
40
- <phase >package</phase >
41
- <goals >
42
- <goal >javadocJar</goal >
43
- </goals >
44
- </execution >
45
- </executions >
46
- </plugin >
47
- </plugins >
48
- </build >
30
+ <!-- documentation for release -->
31
+ <profiles >
32
+ <profile >
33
+ <id >release</id >
34
+ <activation >
35
+ <activeByDefault >false</activeByDefault >
36
+ </activation >
37
+ <build >
38
+ <plugins >
39
+ <plugin >
40
+ <groupId >org.jetbrains.dokka</groupId >
41
+ <artifactId >dokka-maven-plugin</artifactId >
42
+ <executions >
43
+ <!-- attach javadoc with dokka -->
44
+ <execution >
45
+ <id >attach-javadocs</id >
46
+ <phase >package</phase >
47
+ <goals >
48
+ <goal >javadocJar</goal >
49
+ </goals >
50
+ </execution >
51
+ </executions >
52
+ </plugin >
53
+ </plugins >
54
+ </build >
55
+ </profile >
56
+ </profiles >
49
57
</project >
Original file line number Diff line number Diff line change 71
71
<testSourceDirectory >src/test/kotlin</testSourceDirectory >
72
72
73
73
<plugins >
74
- <!-- publish sources -->
75
- <plugin >
76
- <artifactId >maven-source-plugin</artifactId >
77
- <configuration >
78
- </configuration >
79
- <executions >
80
- <execution >
81
- <phase >package</phase >
82
- <id >attach-sources</id >
83
- <goals >
84
- <goal >jar-no-fork</goal >
85
- </goals >
86
- </execution >
87
- </executions >
88
- </plugin >
89
74
<!-- compile kotlin -->
90
75
<plugin >
91
76
<groupId >org.jetbrains.kotlin</groupId >
138
123
</pluginManagement >
139
124
</build >
140
125
126
+ <profiles >
127
+ <profile >
128
+ <id >release</id >
129
+ <activation >
130
+ <activeByDefault >false</activeByDefault >
131
+ </activation >
132
+ <build >
133
+ <plugins >
134
+ <!-- publish sources -->
135
+ <plugin >
136
+ <artifactId >maven-source-plugin</artifactId >
137
+ <configuration >
138
+ </configuration >
139
+ <executions >
140
+ <execution >
141
+ <phase >package</phase >
142
+ <id >attach-sources</id >
143
+ <goals >
144
+ <goal >jar-no-fork</goal >
145
+ </goals >
146
+ </execution >
147
+ </executions >
148
+ </plugin >
149
+ </plugins >
150
+ </build >
151
+ </profile >
152
+ </profiles >
153
+
141
154
<pluginRepositories >
142
155
<pluginRepository >
143
156
<id >bintray-kotlin-dokka</id >
You can’t perform that action at this time.
0 commit comments