Skip to content

Commit 0e88cd0

Browse files
committed
v0.1.0
1 parent 3fbf3c0 commit 0e88cd0

File tree

2 files changed

+81
-2
lines changed

2 files changed

+81
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,14 @@ Next, create a `pom.xml` file with the plugin:
100100

101101
There is only one goal, `sbt`, and two configuration parameters available. `jvmParams` is an array of parameters for the JVM running SBT, and `sbtParams` are the parameters passed to SBT itself.
102102

103-
You can bind the `sbt` goal to any phases you like, although only one is recommended for performance. Here we bind to `package`.
103+
You can bind the `sbt` goal to any phases you like, although only one is recommended for performance. Here we bind to Maven's `package` phase.
104104

105105
Finally, notice that we skip execution of the built-in Maven compile and install plugins, since we're doing everything here with SBT.
106106

107107
## Version Table
108108

109+
If there's a newer version of SBT available, please file a gihub issue and I'll cut a new release.
110+
109111
| Sbt-Delegate-Maven-Plugin version | SBT version |
110112
| --- | --- |
111113
| 0.1.0 | 1.5.3 |

pom.xml

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,41 @@
66

77
<groupId>com.augustnagro</groupId>
88
<artifactId>sbt-delegate-maven-plugin</artifactId>
9-
<version>0.1.0-SNAPSHOT</version>
9+
<version>0.1.0</version>
1010
<packaging>maven-plugin</packaging>
1111

12+
<name>SBT-Delegate-Maven-Plugin</name>
13+
<description>A Maven plugin that caches runs SBT</description>
14+
<url>https://github.com/AugustNagro/sbt-delegate-maven-plugin</url>
15+
1216
<properties>
1317
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1418
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1519
</properties>
1620

21+
<licenses>
22+
<license>
23+
<name>Apache License, Version 2.0</name>
24+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
25+
<distribution>repo</distribution>
26+
</license>
27+
</licenses>
28+
29+
<scm>
30+
<url>https://github.com/AugustNagro/sbt-delegate-maven-plugin</url>
31+
</scm>
32+
33+
<distributionManagement>
34+
<snapshotRepository>
35+
<id>ossrh</id>
36+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
37+
</snapshotRepository>
38+
<repository>
39+
<id>ossrh</id>
40+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
41+
</repository>
42+
</distributionManagement>
43+
1744
<dependencies>
1845
<dependency>
1946
<groupId>org.apache.maven</groupId>
@@ -42,8 +69,58 @@
4269
<target>1.8</target>
4370
</configuration>
4471
</plugin>
72+
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-deploy-plugin</artifactId>
76+
<version>2.8.2</version>
77+
</plugin>
78+
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-source-plugin</artifactId>
82+
<version>3.2.0</version>
83+
<executions>
84+
<execution>
85+
<id>attach-sources</id>
86+
<goals>
87+
<goal>jar-no-fork</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-javadoc-plugin</artifactId>
96+
<version>3.3.0</version>
97+
<executions>
98+
<execution>
99+
<id>attach-javadocs</id>
100+
<goals>
101+
<goal>jar</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-gpg-plugin</artifactId>
110+
<version>3.0.1</version>
111+
<executions>
112+
<execution>
113+
<id>sign-artifacts</id>
114+
<phase>verify</phase>
115+
<goals>
116+
<goal>sign</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
45121
</plugins>
46122
</build>
47123

48124

125+
49126
</project>

0 commit comments

Comments
 (0)