|
18 | 18 | <maven.compiler.target>${java.version}</maven.compiler.target>
|
19 | 19 |
|
20 | 20 | <maven.version>3.3.9</maven.version>
|
21 |
| - <maven.annotations.version>3.5</maven.annotations.version> |
| 21 | + <maven.annotations.version>3.3</maven.annotations.version> |
22 | 22 | <maven.plugin.plugin.version>3.3</maven.plugin.plugin.version>
|
23 | 23 | <!-- actually a dependency here. -->
|
24 | 24 | <dependency.maven.bundle.plugin.version>4.2.1</dependency.maven.bundle.plugin.version>
|
|
84 | 84 | <artifactId>biz.aQute.bndlib</artifactId>
|
85 | 85 | <version>5.2.0</version>
|
86 | 86 | </dependency>
|
| 87 | + |
| 88 | + <!-- 3.0 used by tycho. Force the target maven version here. --> |
| 89 | + <dependency> |
| 90 | + <groupId>org.apache.maven</groupId> |
| 91 | + <artifactId>maven-compat</artifactId> |
| 92 | + <version>${maven.version}</version> |
| 93 | + </dependency> |
| 94 | + <!-- 3.0 used by tycho. Force the target maven version here. --> |
| 95 | + <dependency> |
| 96 | + <groupId>org.apache.maven</groupId> |
| 97 | + <artifactId>maven-core</artifactId> |
| 98 | + <version>${maven.version}</version> |
| 99 | + <scope>provided</scope> |
| 100 | + </dependency> |
| 101 | + <!-- 3.0 used by tycho. Force the target maven version here. --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.apache.maven</groupId> |
| 104 | + <artifactId>maven-settings</artifactId> |
| 105 | + <version>${maven.version}</version> |
| 106 | + <scope>provided</scope> |
| 107 | + </dependency> |
| 108 | + <!-- 3.0 used by org.twdata.maven:mojo-executor. --> |
| 109 | + <dependency> |
| 110 | + <groupId>org.apache.maven</groupId> |
| 111 | + <artifactId>maven-model</artifactId> |
| 112 | + <version>${maven.version}</version> |
| 113 | + </dependency> |
| 114 | + <!-- 3.0 used by tycho --> |
| 115 | + <dependency> |
| 116 | + <groupId>org.apache.maven</groupId> |
| 117 | + <artifactId>maven-plugin-api</artifactId> |
| 118 | + <version>${maven.version}</version> |
| 119 | + </dependency> |
| 120 | + <!-- 3.0 used by maven-plugin-annotations --> |
| 121 | + <dependency> |
| 122 | + <groupId>org.apache.maven</groupId> |
| 123 | + <artifactId>maven-artifact</artifactId> |
| 124 | + <version>${maven.version}</version> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <!-- 1.5.5 used by tycho, others use 1.6 --> |
| 128 | + <dependency> |
| 129 | + <groupId>org.codehaus.plexus</groupId> |
| 130 | + <artifactId>plexus-component-annotations</artifactId> |
| 131 | + <version>1.6</version> |
| 132 | + <scope>provided</scope> |
| 133 | + </dependency> |
87 | 134 | </dependencies>
|
88 | 135 | </dependencyManagement>
|
89 | 136 |
|
|
92 | 139 | <groupId>org.apache.maven</groupId>
|
93 | 140 | <artifactId>maven-core</artifactId>
|
94 | 141 | <version>${maven.version}</version>
|
95 |
| - <scope>provided</scope> |
96 |
| - <exclusions> |
97 |
| - <exclusion> |
98 |
| - <groupId>junit</groupId> |
99 |
| - <artifactId>junit</artifactId> |
100 |
| - </exclusion> |
101 |
| - </exclusions> |
102 |
| - </dependency> |
103 |
| - <dependency> |
104 |
| - <groupId>org.apache.maven</groupId> |
105 |
| - <artifactId>maven-model</artifactId> |
106 |
| - <version>${maven.version}</version> |
107 |
| - <scope>provided</scope> |
108 | 142 | </dependency>
|
109 | 143 | <dependency>
|
110 | 144 | <groupId>org.apache.maven</groupId>
|
111 | 145 | <artifactId>maven-plugin-api</artifactId>
|
112 |
| - <version>${maven.version}</version> |
113 |
| - <scope>provided</scope> |
114 | 146 | </dependency>
|
| 147 | + |
115 | 148 | <!-- dependencies to annotations -->
|
116 | 149 | <dependency>
|
117 | 150 | <groupId>org.apache.maven.plugin-tools</groupId>
|
|
121 | 154 | <!-- annotations are needed only to build the plugin -->
|
122 | 155 | </dependency>
|
123 | 156 |
|
| 157 | + <dependency> |
| 158 | + <groupId>org.codehaus.plexus</groupId> |
| 159 | + <artifactId>plexus-component-annotations</artifactId> |
| 160 | + </dependency> |
124 | 161 |
|
125 | 162 | <!-- org.sonatype.aether artifacts ARE provided by Maven 3.0.x -->
|
126 | 163 | <dependency>
|
|
148 | 185 | <version>${eclipse.aether.version}</version>
|
149 | 186 | </dependency>
|
150 | 187 |
|
151 |
| - <dependency> |
152 |
| - <groupId>org.apache.maven</groupId> |
153 |
| - <artifactId>maven-compat</artifactId> |
154 |
| - <version>${maven.version}</version> |
155 |
| - <scope>provided</scope> |
156 |
| - </dependency> |
157 | 188 | <dependency>
|
158 | 189 | <groupId>commons-io</groupId>
|
159 | 190 | <artifactId>commons-io</artifactId>
|
160 |
| - <version>2.5</version> |
161 |
| - </dependency> |
162 |
| - <dependency> |
163 |
| - <groupId>commons-collections</groupId> |
164 |
| - <artifactId>commons-collections</artifactId> |
165 |
| - <version>3.2.2</version> |
166 |
| - </dependency> |
167 |
| - <dependency> |
168 |
| - <groupId>commons-lang</groupId> |
169 |
| - <artifactId>commons-lang</artifactId> |
170 | 191 | <version>2.6</version>
|
171 | 192 | </dependency>
|
172 | 193 | <dependency>
|
|
178 | 199 | <groupId>biz.aQute.bnd</groupId>
|
179 | 200 | <artifactId>biz.aQute.bndlib</artifactId>
|
180 | 201 | </dependency>
|
181 |
| - <dependency> |
182 |
| - <groupId>org.apache.commons</groupId> |
183 |
| - <artifactId>commons-exec</artifactId> |
184 |
| - <version>1.3</version> |
185 |
| - </dependency> |
186 | 202 | <dependency>
|
187 | 203 | <groupId>org.twdata.maven</groupId>
|
188 | 204 | <artifactId>mojo-executor</artifactId>
|
|
199 | 215 | </exclusion>
|
200 | 216 | </exclusions>
|
201 | 217 | </dependency>
|
| 218 | + |
202 | 219 | <dependency>
|
203 |
| - <groupId>org.eclipse.tycho.extras</groupId> |
204 |
| - <artifactId>tycho-p2-extras-plugin</artifactId> |
| 220 | + <groupId>org.eclipse.tycho</groupId> |
| 221 | + <artifactId>tycho-core</artifactId> |
205 | 222 | <version>${tycho.version}</version>
|
206 | 223 | </dependency>
|
207 | 224 | <dependency>
|
208 |
| - <groupId>org.eclipse.tycho</groupId> |
209 |
| - <artifactId>tycho-packaging-plugin</artifactId> |
210 |
| - <version>${tycho.version}</version> |
211 |
| - <type>maven-plugin</type> |
| 225 | + <groupId>org.eclipse.tycho</groupId> |
| 226 | + <artifactId>sisu-equinox-launching</artifactId> |
| 227 | + <version>${tycho.version}</version> |
212 | 228 | </dependency>
|
| 229 | + |
213 | 230 | <dependency>
|
214 | 231 | <groupId>junit</groupId>
|
215 | 232 | <artifactId>junit</artifactId>
|
|
227 | 244 | <artifactId>groovy</artifactId>
|
228 | 245 | <version>${groovy.version}</version>
|
229 | 246 | </dependency>
|
230 |
| - <dependency> |
231 |
| - <groupId>com.cenqua.clover</groupId> |
232 |
| - <artifactId>clover</artifactId> |
233 |
| - <version>${clover.version}</version> |
234 |
| - </dependency> |
235 | 247 | </dependencies>
|
236 | 248 |
|
237 | 249 | <build>
|
|
683 | 695 | </plugins>
|
684 | 696 | </build>
|
685 | 697 | </profile>
|
| 698 | + <profile> |
| 699 | + <id>convergence</id> |
| 700 | + <build> |
| 701 | + <plugins> |
| 702 | + <plugin> |
| 703 | + <groupId>org.apache.maven.plugins</groupId> |
| 704 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 705 | + <version>3.0.0-M3</version> |
| 706 | + <executions> |
| 707 | + <execution> |
| 708 | + <id>enforce</id> |
| 709 | + <configuration> |
| 710 | + <rules> |
| 711 | + <dependencyConvergence/> |
| 712 | + </rules> |
| 713 | + </configuration> |
| 714 | + <goals> |
| 715 | + <goal>enforce</goal> |
| 716 | + </goals> |
| 717 | + </execution> |
| 718 | + </executions> |
| 719 | + </plugin> |
| 720 | + </plugins> |
| 721 | + </build> |
| 722 | + </profile> |
686 | 723 | </profiles>
|
687 | 724 |
|
688 | 725 | <distributionManagement>
|
|
0 commit comments