Skip to content

Commit 022e858

Browse files
committed
add Olap Check model in emf and runtime
Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
1 parent db56e9d commit 022e858

27 files changed

+4563
-0
lines changed

check/model/emf/pom.xml

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/*********************************************************************
4+
* Copyright (c) 2024 Contributors to the Eclipse Foundation.
5+
*
6+
* This program and the accompanying materials are made
7+
* available under the terms of the Eclipse Public License 2.0
8+
* which is available at https://www.eclipse.org/legal/epl-2.0/
9+
*
10+
* SPDX-License-Identifier: EPL-2.0
11+
**********************************************************************/
12+
-->
13+
<project xmlns="http://maven.apache.org/POM/4.0.0"
14+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
<parent>
18+
<groupId>org.eclipse.daanse</groupId>
19+
<artifactId>org.eclipse.daanse.olap.check.model</artifactId>
20+
<version>${revision}</version>
21+
</parent>
22+
<artifactId>org.eclipse.daanse.olap.check.model.emf</artifactId>
23+
<name>Eclipse Daanse OLAP Check Model EMF</name>
24+
<description>EMF Ecore model for declarative OLAP check definitions and results. Provides model-driven check definitions that can be persisted as XMI or JSON and executed by the check runtime.</description>
25+
26+
<properties>
27+
<bnd.version>7.1.0</bnd.version>
28+
<gecko.emf.version>6.2.0</gecko.emf.version>
29+
<emf.common.version>2.30.0</emf.common.version>
30+
<emf.ecore.version>2.36.0</emf.ecore.version>
31+
<emf.ecore.xmi.version>2.37.0</emf.ecore.xmi.version>
32+
</properties>
33+
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.geckoprojects.emf.utils</groupId>
37+
<artifactId>org.gecko.emf.json</artifactId>
38+
<version>1.5.1</version>
39+
<scope>compile</scope>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.geckoprojects.emf</groupId>
43+
<artifactId>org.gecko.emf.osgi.api</artifactId>
44+
<version>${gecko.emf.version}</version>
45+
<scope>compile</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>org.geckoprojects.emf</groupId>
49+
<artifactId>org.gecko.emf.osgi.component</artifactId>
50+
<version>${gecko.emf.version}</version>
51+
<scope>compile</scope>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.eclipse.emf</groupId>
55+
<artifactId>org.eclipse.emf.common</artifactId>
56+
<version>${emf.common.version}</version>
57+
<scope>compile</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.eclipse.emf</groupId>
61+
<artifactId>org.eclipse.emf.ecore</artifactId>
62+
<version>${emf.ecore.version}</version>
63+
<scope>compile</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.eclipse.emf</groupId>
67+
<artifactId>org.eclipse.emf.ecore.xmi</artifactId>
68+
<version>${emf.ecore.xmi.version}</version>
69+
<scope>compile</scope>
70+
</dependency>
71+
</dependencies>
72+
73+
<build>
74+
<plugins>
75+
<plugin>
76+
<groupId>biz.aQute.bnd</groupId>
77+
<artifactId>bnd-generate-maven-plugin</artifactId>
78+
<version>${bnd.version}</version>
79+
<configuration>
80+
<externalPlugins>
81+
<dependency>
82+
<groupId>org.geckoprojects.emf</groupId>
83+
<artifactId>org.gecko.emf.osgi.codegen</artifactId>
84+
<version>${gecko.emf.version}</version>
85+
</dependency>
86+
</externalPlugins>
87+
<steps>
88+
<step>
89+
<trigger>
90+
src/main/resources/model/org.eclipse.daanse.olap.check.genmodel</trigger>
91+
<generateCommand>geckoEMF</generateCommand>
92+
<output>target/generated-sources/emf</output>
93+
<clear>false</clear>
94+
<properties>
95+
<genmodel>
96+
src/main/resources/model/org.eclipse.daanse.olap.check.genmodel</genmodel>
97+
</properties>
98+
</step>
99+
</steps>
100+
</configuration>
101+
<executions>
102+
<execution>
103+
<phase>generate-sources</phase>
104+
<goals>
105+
<goal>generate</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.codehaus.mojo</groupId>
112+
<artifactId>build-helper-maven-plugin</artifactId>
113+
<version>3.6.0</version>
114+
<executions>
115+
<execution>
116+
<phase>generate-sources</phase>
117+
<goals>
118+
<goal>add-source</goal>
119+
</goals>
120+
<configuration>
121+
<sources>
122+
<source>target/generated-sources/emf</source>
123+
</sources>
124+
</configuration>
125+
</execution>
126+
</executions>
127+
</plugin>
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-javadoc-plugin</artifactId>
131+
<configuration>
132+
<skip>true</skip>
133+
</configuration>
134+
</plugin>
135+
</plugins>
136+
</build>
137+
</project>

0 commit comments

Comments
 (0)