Skip to content

Commit

Permalink
bump to 1.7.0 - fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Aug 10, 2017
1 parent d5f2c88 commit 33c035c
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<packaging>jar</packaging>
<groupId>org.webjars</groupId>
<artifactId>chosen</artifactId>
<version>1.6.2-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<name>Chosen</name>
<description>WebJar for Chosen</description>
<url>http://webjars.org</url>
Expand Down Expand Up @@ -41,9 +41,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<upstreamVersion>1.6.1</upstreamVersion>
<sourceUrl>https://github.com/harvesthq/chosen/releases/download/v${upstreamVersion}</sourceUrl>
<destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${upstreamVersion}</destDir>
<sourceUrl>https://github.com/harvesthq/chosen/releases/download/v${version.unsnapshot}</sourceUrl>
<destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${project.version}</destDir>

<requirejs>
{
Expand All @@ -55,6 +54,20 @@

<build>
<plugins>
<plugin>
<groupId>com.jamesward</groupId>
<artifactId>unsnapshot-maven-plugin</artifactId>
<version>0.2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>unsnapshot</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
Expand All @@ -65,7 +78,7 @@
<goals><goal>download-single</goal></goals>
<configuration>
<url>${sourceUrl}</url>
<fromFile>chosen_v${upstreamVersion}.zip</fromFile>
<fromFile>chosen_v${version.unsnapshot}.zip</fromFile>
<toFile>${project.build.directory}/${project.artifactId}.zip</toFile>
</configuration>
</execution>
Expand Down

0 comments on commit 33c035c

Please sign in to comment.