Skip to content

Commit 5b94c77

Browse files
committed
Fix release build
1 parent 6c9ab7a commit 5b94c77

3 files changed

Lines changed: 27 additions & 5 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
.project
33
.settings
44
.DS_Store
5-
dependency-reduced-pom.xml
65
target/
76
*.iml
87
*.ipr
98
*.swp
109
bin/
1110
/*/src/main/java/META-INF
1211
docs/reference/src/main/docbook/en-US/version_info.xml
13-
.idea
12+
.idea

‎nlp/pom.xml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
<plugin>
4646
<groupId>org.apache.maven.plugins</groupId>
4747
<artifactId>maven-shade-plugin</artifactId>
48-
<version>2.1</version>
4948
<executions>
5049
<execution>
5150
<phase>package</phase>

‎pom.xml‎

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
<connection>scm:git:git://github.com/ocpsoft/prettytime.git</connection>
4747
<developerConnection>scm:git:git@github.com:ocpsoft/prettytime.git</developerConnection>
4848
<url>http://github.com/ocpsoft/prettytime</url>
49-
<tag>HEAD</tag>
50-
</scm>
49+
<tag>HEAD</tag>
50+
</scm>
5151

5252
<issueManagement>
5353
<system>GitHub</system>
@@ -100,4 +100,28 @@
100100
</dependency>
101101
</dependencies>
102102
</dependencyManagement>
103+
104+
<build>
105+
<plugins>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-shade-plugin</artifactId>
109+
<version>2.4.2</version>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-release-plugin</artifactId>
114+
<version>2.5.3</version>
115+
<configuration>
116+
<localCheckout>true</localCheckout>
117+
<autoVersionSubmodules>true</autoVersionSubmodules>
118+
<tagNameFormat>@{project.version}</tagNameFormat>
119+
<pushChanges>false</pushChanges>
120+
<checkModificationExcludes>
121+
<checkModificationExclude>dependency-reduced-pom.xml</checkModificationExclude>
122+
</checkModificationExcludes>
123+
</configuration>
124+
</plugin>
125+
</plugins>
126+
</build>
103127
</project>

0 commit comments

Comments
 (0)