Skip to content

Commit 852fde3

Browse files
committed
14: Deploy lib to maven repository
Task-Url: http://github.com/JavaMoney/javamoney-lib/issues/issue/14
1 parent 03978e9 commit 852fde3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

calc/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,25 @@
1111
<artifactId>javamoney-calc</artifactId>
1212
<name>Money and Currency - JavaMoney Calculations</name>
1313
<packaging>bundle</packaging>
14+
<!-- Try to find workaround for problem attaching sources to bundle, as of now manually switching to "jar" works -->
1415
<build>
1516
<plugins>
1617
<plugin>
1718
<groupId>org.apache.felix</groupId>
1819
<artifactId>maven-bundle-plugin</artifactId>
1920
</plugin>
21+
<plugin>
22+
<groupId>org.apache.maven.plugins</groupId>
23+
<artifactId>maven-source-plugin</artifactId>
24+
<executions>
25+
<execution>
26+
<id>attach-sources</id>
27+
<goals>
28+
<goal>jar</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
2033
</plugins>
2134
</build>
2235
</project>

0 commit comments

Comments
 (0)