Skip to content

Commit 5bf21ff

Browse files
committed
Add parent project and maven support. Sync version numbers
1 parent c425f25 commit 5bf21ff

File tree

16 files changed

+455
-13
lines changed

16 files changed

+455
-13
lines changed

plugins/eu.coresense.CognitiveModule.edit/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: eu.coresense.CognitiveModule.edit;singleton:=true
55
Automatic-Module-Name: eu.coresense.CognitiveModule.edit
6-
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Version: 0.1.0
77
Bundle-ClassPath: .
88
Bundle-Activator: eu.coresense.CognitiveModule.provider.CognitiveModuleEditPlugin$Implementation
99
Bundle-Vendor: Fraunhofer IPA
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>eu.coresense.CognitiveModule</groupId>
6+
<artifactId>eu.coresense.CognitiveModule.parent</artifactId>
7+
<version>0.1.0</version>
8+
<relativePath>../eu.coresense.CognitiveModule.parent/pom.xml</relativePath>
9+
</parent>
10+
<artifactId>eu.coresense.CognitiveModule.edit</artifactId>
11+
<packaging>eclipse-plugin</packaging>
12+
</project>

plugins/eu.coresense.CognitiveModule.editor/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: eu.coresense.CognitiveModule.editor;singleton:=true
55
Automatic-Module-Name: eu.coresense.CognitiveModule.editor
6-
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Version: 0.1.0
77
Bundle-ClassPath: .
88
Bundle-Activator: eu.coresense.CognitiveModule.presentation.CognitiveModuleEditorPlugin$Implementation
99
Bundle-Vendor: Fraunhofer IPA
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>eu.coresense.CognitiveModule</groupId>
6+
<artifactId>eu.coresense.CognitiveModule.parent</artifactId>
7+
<version>0.1.0</version>
8+
<relativePath>../eu.coresense.CognitiveModule.parent/pom.xml</relativePath>
9+
</parent>
10+
<artifactId>eu.coresense.CognitiveModule.editor</artifactId>
11+
<packaging>eclipse-plugin</packaging>
12+
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>eu.coresense.CognitiveModule.parent</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>eu.coresense.CognitiveModule</groupId>
6+
<version>0.1.0</version>
7+
<artifactId>eu.coresense.CognitiveModule.parent</artifactId>
8+
<packaging>pom</packaging>
9+
10+
<properties>
11+
<xtextVersion>2.30.0</xtextVersion>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<maven.compiler.source>11</maven.compiler.source>
14+
<maven.compiler.target>11</maven.compiler.target>
15+
<!-- Tycho settings -->
16+
<tycho-version>3.0.5</tycho-version>
17+
<tycho.disableP2Mirrors>true</tycho.disableP2Mirrors>
18+
<mwe2Version>2.14.0</mwe2Version>
19+
</properties>
20+
<modules>
21+
<module>../eu.coresense.CognitiveModule</module>
22+
<module>../eu.coresense.CognitiveModule.edit</module>
23+
<module>../eu.coresense.CognitiveModule.editor</module>
24+
<module>../eu.coresense.CognitiveModule.xtext</module>
25+
<module>../eu.coresense.CognitiveModule.xtext.ide</module>
26+
<module>../eu.coresense.CognitiveModule.xtext.ui</module>
27+
</modules>
28+
29+
30+
<repositories>
31+
<repository>
32+
<id>eclipse</id>
33+
<layout>p2</layout>
34+
<url>https://download.eclipse.org/releases/2022-12/</url>
35+
</repository>
36+
<repository>
37+
<id>Xtext Update Site</id>
38+
<layout>p2</layout>
39+
<url>https://download.eclipse.org/modeling/tmf/xtext/updates/releases/${xtextVersion}/</url>
40+
</repository>
41+
<repository>
42+
<id>codehaus-snapshots</id>
43+
<name>disable dead 'Codehaus Snapshots' repository, see
44+
https://bugs.eclipse.org/bugs/show_bug.cgi?id=481478
45+
</name>
46+
<url>http://nexus.codehaus.org/snapshots/</url>
47+
<releases>
48+
<enabled>false</enabled>
49+
</releases>
50+
<snapshots>
51+
<enabled>false</enabled>
52+
</snapshots>
53+
</repository>
54+
</repositories>
55+
<pluginRepositories>
56+
<pluginRepository>
57+
<id>codehaus-snapshots</id>
58+
<name>disable dead 'Codehaus Snapshots' repository, see
59+
https://bugs.eclipse.org/bugs/show_bug.cgi?id=481478
60+
</name>
61+
<url>http://nexus.codehaus.org/snapshots/</url>
62+
<releases>
63+
<enabled>false</enabled>
64+
</releases>
65+
<snapshots>
66+
<enabled>false</enabled>
67+
</snapshots>
68+
</pluginRepository>
69+
</pluginRepositories>
70+
71+
<build>
72+
<pluginManagement>
73+
<plugins>
74+
<!-- xtend-maven-plugin is in pluginManagement instead of in plugins
75+
so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way
76+
we can list it after. -->
77+
<plugin>
78+
<groupId>org.eclipse.xtend</groupId>
79+
<artifactId>xtend-maven-plugin</artifactId>
80+
<version>${xtextVersion}</version>
81+
<executions>
82+
<execution>
83+
<goals>
84+
<goal>compile</goal>
85+
<goal>xtend-install-debug-info</goal>
86+
<goal>testCompile</goal>
87+
<goal>xtend-test-install-debug-info</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
<configuration>
92+
<outputDirectory>xtend-gen</outputDirectory>
93+
</configuration>
94+
</plugin>
95+
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-clean-plugin</artifactId>
99+
<version>2.5</version>
100+
<executions>
101+
<execution>
102+
<id>xtend-gen-clean</id>
103+
<goals>
104+
<goal>clean</goal>
105+
</goals>
106+
<configuration>
107+
<filesets>
108+
<fileset>
109+
<directory>${basedir}/xtend-gen</directory>
110+
<includes>
111+
<include>**/*</include>
112+
</includes>
113+
</fileset>
114+
</filesets>
115+
</configuration>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
</plugins>
120+
</pluginManagement>
121+
122+
<plugins>
123+
<plugin>
124+
<groupId>org.eclipse.tycho</groupId>
125+
<artifactId>tycho-maven-plugin</artifactId>
126+
<version>${tycho-version}</version>
127+
<extensions>true</extensions>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.eclipse.tycho</groupId>
131+
<artifactId>target-platform-configuration</artifactId>
132+
<version>${tycho-version}</version>
133+
<configuration>
134+
<environments>
135+
<environment>
136+
<os>macosx</os>
137+
<ws>cocoa</ws>
138+
<arch>x86_64</arch>
139+
</environment>
140+
<environment>
141+
<os>win32</os>
142+
<ws>win32</ws>
143+
<arch>x86_64</arch>
144+
</environment>
145+
<environment>
146+
<os>linux</os>
147+
<ws>gtk</ws>
148+
<arch>x86_64</arch>
149+
</environment>
150+
</environments>
151+
</configuration>
152+
</plugin>
153+
<plugin>
154+
<groupId>org.eclipse.tycho</groupId>
155+
<artifactId>tycho-surefire-plugin</artifactId>
156+
<version>${tycho-version}</version>
157+
<configuration>
158+
<failIfNoTests>false</failIfNoTests>
159+
<useUIHarness>false</useUIHarness>
160+
</configuration>
161+
</plugin>
162+
<plugin>
163+
<!-- Can be removed after first generator execution https://bugs.eclipse.org/bugs/show_bug.cgi?id=480097 -->
164+
<groupId>org.eclipse.tycho</groupId>
165+
<artifactId>tycho-compiler-plugin</artifactId>
166+
<version>${tycho-version}</version>
167+
<configuration>
168+
<compilerArgument>-err:-forbidden</compilerArgument>
169+
<useProjectSettings>false</useProjectSettings>
170+
</configuration>
171+
</plugin>
172+
</plugins>
173+
</build>
174+
</project>

plugins/eu.coresense.CognitiveModule.xtext.ide/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Automatic-Module-Name: eu.coresense.CognitiveModule.xtext.ide
33
Bundle-ManifestVersion: 2
44
Bundle-Name: eu.coresense.CognitiveModule.xtext.ide
55
Bundle-Vendor: Fraunhofer IPA
6-
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Version: 0.1.0
77
Bundle-SymbolicName: eu.coresense.CognitiveModule.xtext.ide; singleton:=true
88
Bundle-ActivationPolicy: lazy
99
Require-Bundle: eu.coresense.CognitiveModule.xtext,
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>eu.coresense.CognitiveModule</groupId>
7+
<artifactId>eu.coresense.CognitiveModule.parent</artifactId>
8+
<version>0.1.0</version>
9+
<relativePath>../eu.coresense.CognitiveModule.parent/pom.xml</relativePath>
10+
</parent>
11+
<artifactId>eu.coresense.CognitiveModule.xtext.ide</artifactId>
12+
<packaging>eclipse-plugin</packaging>
13+
14+
<build>
15+
<plugins>
16+
<plugin>
17+
<groupId>org.eclipse.xtend</groupId>
18+
<artifactId>xtend-maven-plugin</artifactId>
19+
</plugin>
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-clean-plugin</artifactId>
23+
<executions>
24+
<execution>
25+
<id>xtend-gen-clean</id>
26+
<phase>clean</phase>
27+
</execution>
28+
</executions>
29+
</plugin>
30+
</plugins>
31+
</build>
32+
33+
</project>

plugins/eu.coresense.CognitiveModule.xtext.ui/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Automatic-Module-Name: eu.coresense.CognitiveModule.xtext.ui
33
Bundle-ManifestVersion: 2
44
Bundle-Name: eu.coresense.CognitiveModule.xtext.ui
55
Bundle-Vendor: Fraunhofer IPA
6-
Bundle-Version: 1.0.0.qualifier
6+
Bundle-Version: 0.1.0
77
Bundle-SymbolicName: eu.coresense.CognitiveModule.xtext.ui; singleton:=true
88
Bundle-ActivationPolicy: lazy
99
Require-Bundle: eu.coresense.CognitiveModule.xtext,

0 commit comments

Comments
 (0)