Skip to content

Commit 3531840

Browse files
committed
Update it for Wrangler 4.0
1 parent 17be8a8 commit 3531840

File tree

2 files changed

+28
-299
lines changed

2 files changed

+28
-299
lines changed

pom.xml

Lines changed: 28 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@
2727
<packaging>jar</packaging>
2828

2929
<properties>
30-
<!-- properties for script build step that creates the config files for the artifacts -->
31-
<widgets.dir>widgets</widgets.dir>
32-
<docs.dir>docs</docs.dir>
33-
<!-- this is here because project.basedir evaluates to null in the script build step -->
34-
<main.basedir>${project.basedir}</main.basedir>
35-
<cdap.version>6.0.0-SNAPSHOT</cdap.version>
30+
<cdap.version>6.0.0</cdap.version>
3631
<wrangler.version>4.0.0</wrangler.version>
3732
<commons.codec.version>1.10</commons.codec.version>
3833
<junit.version>4.12</junit.version>
@@ -58,25 +53,6 @@
5853
<url>https://issues.cask.co/browse/CDAP</url>
5954
</issueManagement>
6055

61-
<distributionManagement>
62-
<repository>
63-
<id>sonatype.release</id>
64-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
65-
</repository>
66-
<snapshotRepository>
67-
<id>sonatype.snapshots</id>
68-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
69-
</snapshotRepository>
70-
</distributionManagement>
71-
72-
<!-- Include the Maven Plugin Repository -->
73-
<pluginRepositories>
74-
<pluginRepository>
75-
<id>sonatype</id>
76-
<url>https://oss.sonatype.org/content/groups/public/</url>
77-
</pluginRepository>
78-
</pluginRepositories>
79-
8056
<dependencies>
8157
<!-- Core Dependencies -->
8258

@@ -124,43 +100,16 @@
124100
</dependencies>
125101

126102
<build>
127-
<pluginManagement>
128-
<plugins>
129-
<plugin>
130-
<groupId>org.apache.maven.plugins</groupId>
131-
<artifactId>maven-compiler-plugin</artifactId>
132-
<version>3.1</version>
133-
<configuration>
134-
<source>1.7</source>
135-
<target>1.7</target>
136-
</configuration>
137-
</plugin>
138-
<plugin>
139-
<groupId>org.apache.felix</groupId>
140-
<artifactId>maven-bundle-plugin</artifactId>
141-
<version>2.3.7</version>
142-
<extensions>true</extensions>
143-
<configuration>
144-
<instructions>
145-
<Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
146-
<Embed-Transitive>true</Embed-Transitive>
147-
<!--Only @Plugin classes in the export packages will be included as plugin-->
148-
<_exportcontents>org.example.directives.*</_exportcontents>
149-
</instructions>
150-
</configuration>
151-
<executions>
152-
<execution>
153-
<phase>package</phase>
154-
<goals>
155-
<goal>bundle</goal>
156-
</goals>
157-
</execution>
158-
</executions>
159-
</plugin>
160-
</plugins>
161-
</pluginManagement>
162-
163103
<plugins>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-compiler-plugin</artifactId>
107+
<version>3.7.0</version>
108+
<configuration>
109+
<source>1.8</source>
110+
<target>1.8</target>
111+
</configuration>
112+
</plugin>
164113
<plugin>
165114
<groupId>org.apache.maven.plugins</groupId>
166115
<artifactId>maven-surefire-plugin</artifactId>
@@ -169,10 +118,24 @@
169118
<plugin>
170119
<groupId>org.apache.felix</groupId>
171120
<artifactId>maven-bundle-plugin</artifactId>
172-
</plugin>
173-
<plugin>
174-
<groupId>org.apache.maven.plugins</groupId>
175-
<artifactId>maven-antrun-plugin</artifactId>
121+
<version>3.3.0</version>
122+
<extensions>true</extensions>
123+
<configuration>
124+
<instructions>
125+
<Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency>
126+
<Embed-Transitive>true</Embed-Transitive>
127+
<!--Only @Plugin classes in the export packages will be included as plugin-->
128+
<_exportcontents>org.example.directives.*</_exportcontents>
129+
</instructions>
130+
</configuration>
131+
<executions>
132+
<execution>
133+
<phase>package</phase>
134+
<goals>
135+
<goal>bundle</goal>
136+
</goals>
137+
</execution>
138+
</executions>
176139
</plugin>
177140
<plugin>
178141
<groupId>io.cdap</groupId>
@@ -195,5 +158,4 @@
195158
</plugin>
196159
</plugins>
197160
</build>
198-
199161
</project>

pom.xml.javascript

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)