Skip to content

Commit 1df7250

Browse files
committed
NoSuchMethodError building m2e-extras
After updating m2e-extras build to use tycho 0.11.1, the build started to fail with NoSuchMethodError in m2e-core code. Apparently m2e-sore is not compatible with Eclipse 3.5 any more. Updated m2e-extras to build against 3.6. Also cleaned up target platform configuration Signed-off-by: Igor Fedorenko <[email protected]>
1 parent 3c15b3d commit 1df7250

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

pom.xml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
<m2eclipse-core.version>1.0.0/N/LATEST</m2eclipse-core.version>
2828

29-
<target.platform>m2e-e35</target.platform>
30-
<target.platform.version>1.0.0-SNAPSHOT</target.platform.version>
31-
3229
<site-compressed>http://repository.sonatype.org/service/local/repositories/forge-sites/content-compressed/</site-compressed>
3330
</properties>
3431

@@ -67,13 +64,13 @@
6764
<repository>
6865
<id>helios</id>
6966
<layout>p2</layout>
70-
<url>http://download.eclipse.org/releases/helios</url>
67+
<url>http://download.eclipse.org/releases/indigo</url>
7168
</repository>
7269

7370
<repository>
7471
<id>m2e</id>
7572
<layout>p2</layout>
76-
<url>http://repository.sonatype.org/content/sites/forge-sites/m2e/${m2eclipse-core.version}</url>
73+
<url>http://download.eclipse.org/technology/m2e/releases/1.0</url>
7774
</repository>
7875
</repositories>
7976

@@ -92,14 +89,6 @@
9289
<version>${tycho-version}</version>
9390
<configuration>
9491
<resolver>p2</resolver>
95-
<target>
96-
<artifact>
97-
<groupId>org.eclipse.m2e</groupId>
98-
<artifactId>target-platform</artifactId>
99-
<version>${target.platform.version}</version>
100-
<classifier>${target.platform}</classifier>
101-
</artifact>
102-
</target>
10392
<ignoreTychoRepositories>true</ignoreTychoRepositories>
10493
</configuration>
10594
</plugin>
@@ -155,9 +144,28 @@
155144
</property>
156145
</activation>
157146
<properties>
158-
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -Dosgi.ws=cocoa -XstartOnFirstThread</tycho.test.jvmArgs>
159-
<osgi.ws>cocoa</osgi.ws>
147+
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -XstartOnFirstThread</tycho.test.jvmArgs>
160148
</properties>
149+
<build>
150+
<pluginManagement>
151+
<plugins>
152+
<plugin>
153+
<groupId>org.sonatype.tycho</groupId>
154+
<artifactId>maven-osgi-test-plugin</artifactId>
155+
<version>${tycho-version}</version>
156+
<configuration>
157+
<dependencies>
158+
<dependency>
159+
<artifactId>org.eclipse.jdt.launching.macosx</artifactId>
160+
<version>3.2.100</version>
161+
<type>eclipse-plugin</type>
162+
</dependency>
163+
</dependencies>
164+
</configuration>
165+
</plugin>
166+
</plugins>
167+
</pluginManagement>
168+
</build>
161169
</profile>
162170
<profile>
163171
<id>sign</id>

0 commit comments

Comments
 (0)