-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- The main pom used by all plugins, except the test plugins. See pom-test.xml --> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>tycho-its-project.maven.brokenp2data</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>tycho-its-project.maven.brokenp2data.feature/pom.xml</module> | ||
</modules> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-maven-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<extensions>true</extensions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<configuration> | ||
<deployableFeature>true</deployableFeature> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<repositories> | ||
<repository> | ||
<id>tmf</id> | ||
<url>https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.29.0</url> | ||
<layout>p2</layout> | ||
</repository> | ||
<repository> | ||
<id>mwe2</id> | ||
<url>https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.14.0</url> | ||
<layout>p2</layout> | ||
</repository> | ||
<repository> | ||
<id>2021-03</id> | ||
<url>https://download.eclipse.org/releases/2021-03/</url> | ||
<layout>p2</layout> | ||
</repository> | ||
</repositories> | ||
</project> |
11 changes: 11 additions & 0 deletions
11
tycho-its/projects/brokenp2data/tycho-its-project.maven.brokenp2data.feature/feature.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="feature" | ||
version="1.0.0.qualifier"> | ||
|
||
<includes id="org.eclipse.emf.mwe2.language.sdk" version="0.0.0" /> | ||
|
||
<includes id="org.eclipse.emf.mwe2.runtime.sdk" version="0.0.0" /> | ||
|
||
<includes id="org.eclipse.xtext.sdk" version="2.29.0.qualifier" /> | ||
</feature> |
17 changes: 17 additions & 0 deletions
17
tycho-its/projects/brokenp2data/tycho-its-project.maven.brokenp2data.feature/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>tycho-its-project.maven.brokenp2data</groupId> | ||
<artifactId>feature</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
|
||
<parent> | ||
<groupId>tycho-its-project.maven.brokenp2data</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<packaging>eclipse-feature</packaging> | ||
</project> |
19 changes: 19 additions & 0 deletions
19
tycho-its/src/test/java/org/eclipse/tycho/test/brokenp2data/BrokenP2DataTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.eclipse.tycho.test.brokenp2data; | ||
|
||
import java.util.List; | ||
|
||
import org.apache.maven.it.Verifier; | ||
import org.eclipse.tycho.test.AbstractTychoIntegrationTest; | ||
import org.junit.Test; | ||
|
||
// See #2625 | ||
public class BrokenP2DataTest extends AbstractTychoIntegrationTest { | ||
|
||
@Test | ||
public void test() throws Exception { | ||
Verifier verifier = getVerifier("brokenp2data"); | ||
|
||
verifier.executeGoals(List.of("clean", "verify", "-Dtycho-version=3.0.5")); | ||
verifier.verifyErrorFreeLog(); | ||
} | ||
} |