|
11 | 11 | <packaging>jar</packaging>
|
12 | 12 | <groupId>org.webjars</groupId>
|
13 | 13 | <artifactId>openlayers</artifactId>
|
14 |
| - <version>5.3.4-SNAPSHOT</version> |
| 14 | + <version>8.2.0-SNAPSHOT</version> |
15 | 15 | <name>OpenLayers</name>
|
16 | 16 | <description>WebJar for OpenLayers</description>
|
17 | 17 | <url>http://webjars.org</url>
|
|
42 | 42 | <properties>
|
43 | 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
44 | 44 | <project.build.outputTimestamp>10</project.build.outputTimestamp>
|
45 |
| - <upstream.url>https://github.com/openlayers/ol3/releases/download/v${version.unsnapshot}</upstream.url> |
| 45 | + <upstream.url>https://github.com/openlayers/openlayers/releases/download/v${version.unsnapshot}</upstream.url> |
46 | 46 | <destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${project.version}</destDir>
|
47 | 47 | <requirejs>
|
48 | 48 | {
|
|
81 | 81 | </goals>
|
82 | 82 | <configuration>
|
83 | 83 | <url>${upstream.url}</url>
|
84 |
| - <fromFile>v${version.unsnapshot}.zip</fromFile> |
| 84 | + <fromFile>v${version.unsnapshot}-package.zip</fromFile> |
85 | 85 | <toFile>${project.build.directory}/${project.artifactId}.zip</toFile>
|
86 | 86 | </configuration>
|
87 | 87 | </execution>
|
|
98 | 98 | <configuration>
|
99 | 99 | <target>
|
100 | 100 | <echo message="unzip archive" />
|
101 |
| - <unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}" /> |
102 |
| - <echo message="moving resources" /> |
103 |
| - <move todir="${destDir}"> |
104 |
| - <fileset dir="${project.build.directory}/v${version.unsnapshot}/build" /> |
105 |
| - <fileset dir="${project.build.directory}/v${version.unsnapshot}/css" /> |
106 |
| - </move> |
| 101 | + <unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${destDir}" /> |
107 | 102 | </target>
|
108 | 103 | </configuration>
|
109 | 104 | </execution>
|
|
113 | 108 | <plugin>
|
114 | 109 | <groupId>org.apache.maven.plugins</groupId>
|
115 | 110 | <artifactId>maven-release-plugin</artifactId>
|
116 |
| - <version>3.0.0-M6</version> |
| 111 | + <version>3.0.1</version> |
117 | 112 | </plugin>
|
118 | 113 | <plugin>
|
119 | 114 | <groupId>org.apache.maven.plugins</groupId>
|
120 | 115 | <artifactId>maven-jar-plugin</artifactId>
|
121 |
| - <version>3.2.2</version> |
| 116 | + <version>3.3.0</version> |
122 | 117 | </plugin>
|
123 | 118 |
|
124 | 119 | <plugin>
|
125 | 120 | <groupId>org.sonatype.plugins</groupId>
|
126 | 121 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
127 |
| - <version>1.6.5</version> |
| 122 | + <version>1.6.13</version> |
128 | 123 | <extensions>true</extensions>
|
129 | 124 | <configuration>
|
130 | 125 | <serverId>sonatype-nexus-staging</serverId>
|
|
0 commit comments