-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration test for tycho-apitools-plugin:verify mojo
Co-authored-by: Christoph Läubrich <laeubi@laeubi-soft.de>
- Loading branch information
1 parent
29fde8b
commit 672552e
Showing
25 changed files
with
613 additions
and
8 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 @@ | ||
-Dtycho-version=4.0.0-SNAPSHOT |
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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<site> | ||
<bundle id="api-bundle-1"/> | ||
<bundle id="api-bundle-2"/> | ||
</site> |
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"?> | ||
<project> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.eclipse.tycho.tycho-its</groupId> | ||
<artifactId>apitools-parent</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>api-repo</artifactId> | ||
<packaging>eclipse-repository</packaging> | ||
</project> |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
2 changes: 1 addition & 1 deletion
2
tycho-its/projects/api-tools/bundle/.project → ...o-its/projects/api-tools/bundle1/.project
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
2 changes: 1 addition & 1 deletion
2
...cts/api-tools/bundle/META-INF/MANIFEST.MF → ...ts/api-tools/bundle1/META-INF/MANIFEST.MF
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
File renamed without changes.
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
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
tycho-its/projects/api-tools/bundle1/src/bundle/ClassA.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,16 @@ | ||
package bundle; | ||
|
||
import java.util.Collection; | ||
import java.util.List; | ||
|
||
public class ClassA { | ||
|
||
public String getGreetings() { // originally getString() | ||
return "Hello World"; | ||
} | ||
|
||
public Collection<String> getCollection() { // originally returned List | ||
return List.of(); | ||
} | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
tycho-its/projects/api-tools/bundle1/src/bundle/InterfaceB.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,5 @@ | ||
package bundle; | ||
|
||
public interface InterfaceB { // originally named 'InterfaceA' | ||
|
||
} |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="src" path="src/"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>api-bundle-2</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.ManifestBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.SchemaBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> | ||
</natures> | ||
</projectDescription> |
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,8 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Name: Plugin with API | ||
Bundle-SymbolicName: api-bundle-2 | ||
Bundle-Version: 0.0.1.qualifier | ||
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))" | ||
Export-Package: bundle | ||
Automatic-Module-Name: bundle |
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,4 @@ | ||
source.. = src/ | ||
output.. = bin/ | ||
bin.includes = .,\ | ||
META-INF/ |
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"?> | ||
<project> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.eclipse.tycho.tycho-its</groupId> | ||
<artifactId>apitools-parent</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>api-bundle-2</artifactId> | ||
<packaging>eclipse-plugin</packaging> | ||
</project> |
7 changes: 7 additions & 0 deletions
7
tycho-its/projects/api-tools/bundle2/src/bundle/ApiInterface2.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,7 @@ | ||
package bundle; | ||
|
||
public interface ApiInterface2 { | ||
|
||
void sayHello(); | ||
|
||
} |
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
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,44 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<?artifactRepository version='1.1.0'?> | ||
<repository name='api-repo' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1'> | ||
<properties size='3'> | ||
<property name='publishPackFilesAsSiblings' value='true'/> | ||
<property name='p2.compressed' value='true'/> | ||
<property name='p2.timestamp' value='1664006024508'/> | ||
</properties> | ||
<mappings size='5'> | ||
<rule filter='(& (classifier=osgi.bundle) (format=packed))' output='${repoUrl}/plugins/${id}_${version}.jar.pack.gz'/> | ||
<rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/> | ||
<rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/> | ||
<rule filter='(& (classifier=org.eclipse.update.feature) (format=packed))' output='${repoUrl}/features/${id}_${version}.jar.pack.gz'/> | ||
<rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/> | ||
</mappings> | ||
<artifacts size='2'> | ||
<artifact classifier='osgi.bundle' id='api-bundle-1' version='0.0.1.202209240753'> | ||
<properties size='9'> | ||
<property name='artifact.size' value='2685'/> | ||
<property name='download.size' value='2685'/> | ||
<property name='maven-groupId' value='org.eclipse.tycho.tycho-its'/> | ||
<property name='maven-artifactId' value='api-bundle-1'/> | ||
<property name='maven-version' value='0.0.1-SNAPSHOT'/> | ||
<property name='maven-type' value='eclipse-plugin'/> | ||
<property name='download.md5' value='2afbcdbbd860f8484c545df630b085e2'/> | ||
<property name='download.checksum.md5' value='2afbcdbbd860f8484c545df630b085e2'/> | ||
<property name='download.checksum.sha-256' value='d84c769d0c4fd25e38d6e3aa1b4e5c1df303f538cc42dd955be9cd715c377cbf'/> | ||
</properties> | ||
</artifact> | ||
<artifact classifier='osgi.bundle' id='api-bundle-2' version='0.0.1.202209240753'> | ||
<properties size='9'> | ||
<property name='artifact.size' value='2050'/> | ||
<property name='download.size' value='2050'/> | ||
<property name='maven-groupId' value='org.eclipse.tycho.tycho-its'/> | ||
<property name='maven-artifactId' value='api-bundle-2'/> | ||
<property name='maven-version' value='0.0.1-SNAPSHOT'/> | ||
<property name='maven-type' value='eclipse-plugin'/> | ||
<property name='download.md5' value='8e3644cf78638da63cd35a6db5e93407'/> | ||
<property name='download.checksum.md5' value='8e3644cf78638da63cd35a6db5e93407'/> | ||
<property name='download.checksum.sha-256' value='780ebdadec5d49c4ba4805fa4166b58b9e823924f066970cb57709a94ad31baf'/> | ||
</properties> | ||
</artifact> | ||
</artifacts> | ||
</repository> |
Oops, something went wrong.