|
27 | 27 | <packaging>jar</packaging> |
28 | 28 |
|
29 | 29 | <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> |
36 | 31 | <wrangler.version>4.0.0</wrangler.version> |
37 | 32 | <commons.codec.version>1.10</commons.codec.version> |
38 | 33 | <junit.version>4.12</junit.version> |
|
58 | 53 | <url>https://issues.cask.co/browse/CDAP</url> |
59 | 54 | </issueManagement> |
60 | 55 |
|
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 | | - |
80 | 56 | <dependencies> |
81 | 57 | <!-- Core Dependencies --> |
82 | 58 |
|
|
124 | 100 | </dependencies> |
125 | 101 |
|
126 | 102 | <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 | | - |
163 | 103 | <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> |
164 | 113 | <plugin> |
165 | 114 | <groupId>org.apache.maven.plugins</groupId> |
166 | 115 | <artifactId>maven-surefire-plugin</artifactId> |
|
169 | 118 | <plugin> |
170 | 119 | <groupId>org.apache.felix</groupId> |
171 | 120 | <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> |
176 | 139 | </plugin> |
177 | 140 | <plugin> |
178 | 141 | <groupId>io.cdap</groupId> |
|
195 | 158 | </plugin> |
196 | 159 | </plugins> |
197 | 160 | </build> |
198 | | - |
199 | 161 | </project> |
0 commit comments