|
15 | 15 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
16 | 16 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
17 | 17 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
18 |
| - <modelVersion>4.0.0</modelVersion> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
19 | 19 |
|
20 |
| - <parent> |
21 |
| - <groupId>io.openmanufacturing</groupId> |
22 |
| - <artifactId>sds-sdk-parent</artifactId> |
23 |
| - <version>DEV-SNAPSHOT</version> |
24 |
| - <relativePath>../../pom.xml</relativePath> |
25 |
| - </parent> |
| 20 | + <parent> |
| 21 | + <groupId>io.openmanufacturing</groupId> |
| 22 | + <artifactId>sds-sdk-parent</artifactId> |
| 23 | + <version>DEV-SNAPSHOT</version> |
| 24 | + <relativePath>../../pom.xml</relativePath> |
| 25 | + </parent> |
26 | 26 |
|
27 |
| - <artifactId>sds-aspect-meta-model-resolver</artifactId> |
28 |
| - <name>SDS Aspect Meta Model Resolver</name> |
29 |
| - <packaging>jar</packaging> |
| 27 | + <artifactId>sds-aspect-meta-model-resolver</artifactId> |
| 28 | + <name>SDS Aspect Meta Model Resolver</name> |
| 29 | + <packaging>jar</packaging> |
30 | 30 |
|
31 |
| - <dependencies> |
32 |
| - <dependency> |
33 |
| - <groupId>io.openmanufacturing</groupId> |
34 |
| - <artifactId>sds-aspect-meta-model</artifactId> |
35 |
| - </dependency> |
36 |
| - <dependency> |
37 |
| - <groupId>io.openmanufacturing</groupId> |
38 |
| - <artifactId>sds-aspect-meta-model-interface</artifactId> |
39 |
| - </dependency> |
40 |
| - <dependency> |
41 |
| - <groupId>io.openmanufacturing</groupId> |
42 |
| - <artifactId>sds-aspect-meta-model-types</artifactId> |
43 |
| - </dependency> |
44 |
| - <dependency> |
45 |
| - <groupId>io.openmanufacturing</groupId> |
46 |
| - <artifactId>sds-aspect-model-urn</artifactId> |
47 |
| - </dependency> |
48 |
| - <dependency> |
49 |
| - <groupId>org.apache.jena</groupId> |
50 |
| - <artifactId>jena-core</artifactId> |
51 |
| - </dependency> |
52 |
| - <dependency> |
53 |
| - <groupId>org.apache.jena</groupId> |
54 |
| - <artifactId>jena-arq</artifactId> |
55 |
| - </dependency> |
56 |
| - <dependency> |
57 |
| - <groupId>io.vavr</groupId> |
58 |
| - <artifactId>vavr</artifactId> |
59 |
| - </dependency> |
60 |
| - <dependency> |
61 |
| - <groupId>jakarta.xml.bind</groupId> |
62 |
| - <artifactId>jakarta.xml.bind-api</artifactId> |
63 |
| - </dependency> |
| 31 | + <dependencies> |
| 32 | + <dependency> |
| 33 | + <groupId>io.openmanufacturing</groupId> |
| 34 | + <artifactId>sds-aspect-meta-model</artifactId> |
| 35 | + </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>io.openmanufacturing</groupId> |
| 38 | + <artifactId>sds-aspect-meta-model-interface</artifactId> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>io.openmanufacturing</groupId> |
| 42 | + <artifactId>sds-aspect-meta-model-types</artifactId> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>io.openmanufacturing</groupId> |
| 46 | + <artifactId>sds-aspect-model-urn</artifactId> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.jena</groupId> |
| 50 | + <artifactId>jena-core</artifactId> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.apache.jena</groupId> |
| 54 | + <artifactId>jena-arq</artifactId> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>io.vavr</groupId> |
| 58 | + <artifactId>vavr</artifactId> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>jakarta.xml.bind</groupId> |
| 62 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 63 | + </dependency> |
64 | 64 |
|
65 |
| - <!-- Test dependencies --> |
66 |
| - <dependency> |
67 |
| - <groupId>io.openmanufacturing</groupId> |
68 |
| - <artifactId>sds-test-aspect-models</artifactId> |
69 |
| - <scope>test</scope> |
70 |
| - </dependency> |
71 |
| - <dependency> |
72 |
| - <groupId>org.junit.jupiter</groupId> |
73 |
| - <artifactId>junit-jupiter</artifactId> |
74 |
| - <scope>test</scope> |
75 |
| - </dependency> |
76 |
| - <dependency> |
77 |
| - <groupId>org.assertj</groupId> |
78 |
| - <artifactId>assertj-core</artifactId> |
79 |
| - <scope>test</scope> |
80 |
| - </dependency> |
81 |
| - <dependency> |
82 |
| - <groupId>org.assertj</groupId> |
83 |
| - <artifactId>assertj-vavr</artifactId> |
84 |
| - <scope>test</scope> |
85 |
| - </dependency> |
86 |
| - <dependency> |
87 |
| - <groupId>org.projectlombok</groupId> |
88 |
| - <artifactId>lombok</artifactId> |
89 |
| - <scope>test</scope> |
90 |
| - </dependency> |
91 |
| - </dependencies> |
| 65 | + <!-- Test dependencies --> |
| 66 | + <dependency> |
| 67 | + <groupId>io.openmanufacturing</groupId> |
| 68 | + <artifactId>sds-test-aspect-models</artifactId> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.junit.jupiter</groupId> |
| 73 | + <artifactId>junit-jupiter</artifactId> |
| 74 | + <scope>test</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.assertj</groupId> |
| 78 | + <artifactId>assertj-core</artifactId> |
| 79 | + <scope>test</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>org.assertj</groupId> |
| 83 | + <artifactId>assertj-vavr</artifactId> |
| 84 | + <scope>test</scope> |
| 85 | + </dependency> |
| 86 | + <dependency> |
| 87 | + <groupId>org.projectlombok</groupId> |
| 88 | + <artifactId>lombok</artifactId> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + </dependencies> |
92 | 92 |
|
93 |
| - <build> |
94 |
| - <plugins> |
95 |
| - <plugin> |
96 |
| - <groupId>org.apache.maven.plugins</groupId> |
97 |
| - <artifactId>maven-compiler-plugin</artifactId> |
98 |
| - <version>${maven-compiler-plugin-version}</version> |
99 |
| - <configuration> |
100 |
| - <annotationProcessorPaths> |
101 |
| - <path> |
102 |
| - <groupId>org.projectlombok</groupId> |
103 |
| - <artifactId>lombok</artifactId> |
104 |
| - <version>${lombok-version}</version> |
105 |
| - </path> |
106 |
| - </annotationProcessorPaths> |
107 |
| - </configuration> |
108 |
| - </plugin> |
| 93 | + <build> |
| 94 | + <plugins> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-compiler-plugin</artifactId> |
| 98 | + <version>${maven-compiler-plugin-version}</version> |
| 99 | + <configuration> |
| 100 | + <annotationProcessorPaths> |
| 101 | + <path> |
| 102 | + <groupId>org.projectlombok</groupId> |
| 103 | + <artifactId>lombok</artifactId> |
| 104 | + <version>${lombok-version}</version> |
| 105 | + </path> |
| 106 | + </annotationProcessorPaths> |
| 107 | + </configuration> |
| 108 | + </plugin> |
109 | 109 |
|
110 |
| - <!-- Exclude updated meta model shape files from sds-aspect-meta-model dependency --> |
111 |
| - <plugin> |
112 |
| - <groupId>org.apache.maven.plugins</groupId> |
113 |
| - <artifactId>maven-dependency-plugin</artifactId> |
114 |
| - <version>${maven-dependency-plugin-version}</version> |
115 |
| - <executions> |
116 |
| - <execution> |
117 |
| - <id>unpack</id> |
118 |
| - <phase>generate-sources</phase> |
119 |
| - <goals> |
120 |
| - <goal>unpack</goal> |
121 |
| - </goals> |
122 |
| - <configuration> |
123 |
| - <artifactItems> |
124 |
| - <artifactItem> |
125 |
| - <groupId>io.openmanufacturing</groupId> |
126 |
| - <artifactId>sds-aspect-meta-model</artifactId> |
127 |
| - <version>${aspect-meta-model-version}</version> |
128 |
| - <type>jar</type> |
129 |
| - <overWrite>true</overWrite> |
130 |
| - <outputDirectory>${project.build.directory}/classes</outputDirectory> |
131 |
| - <excludes> |
132 |
| - bamm/meta-model/2.0.0/aspect-meta-model-shapes.ttl,bamm/characteristic/2.0.0/characteristic-shapes.ttl |
133 |
| - </excludes> |
134 |
| - </artifactItem> |
135 |
| - </artifactItems> |
136 |
| - </configuration> |
137 |
| - </execution> |
138 |
| - </executions> |
139 |
| - </plugin> |
| 110 | + <!-- Exclude updated meta model shape files from sds-aspect-meta-model dependency --> |
| 111 | + <plugin> |
| 112 | + <groupId>org.apache.maven.plugins</groupId> |
| 113 | + <artifactId>maven-dependency-plugin</artifactId> |
| 114 | + <version>${maven-dependency-plugin-version}</version> |
| 115 | + <executions> |
| 116 | + <execution> |
| 117 | + <id>unpack</id> |
| 118 | + <phase>generate-sources</phase> |
| 119 | + <goals> |
| 120 | + <goal>unpack</goal> |
| 121 | + </goals> |
| 122 | + <configuration> |
| 123 | + <artifactItems> |
| 124 | + <artifactItem> |
| 125 | + <groupId>io.openmanufacturing</groupId> |
| 126 | + <artifactId>sds-aspect-meta-model</artifactId> |
| 127 | + <version>${aspect-meta-model-version}</version> |
| 128 | + <type>jar</type> |
| 129 | + <overWrite>true</overWrite> |
| 130 | + <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| 131 | + <excludes> |
| 132 | + bamm/meta-model/2.0.0/aspect-meta-model-shapes.ttl,bamm/characteristic/2.0.0/characteristic-shapes.ttl |
| 133 | + </excludes> |
| 134 | + </artifactItem> |
| 135 | + </artifactItems> |
| 136 | + </configuration> |
| 137 | + </execution> |
| 138 | + </executions> |
| 139 | + </plugin> |
140 | 140 |
|
141 |
| - <!-- Download updated meta model shape files --> |
142 |
| - <!-- This refers to the state of the shape files after merging of https://github.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/pull/176 --> |
143 |
| - <plugin> |
144 |
| - <groupId>com.googlecode.maven-download-plugin</groupId> |
145 |
| - <artifactId>download-maven-plugin</artifactId> |
146 |
| - <version>${download-maven-plugin-version}</version> |
147 |
| - <executions> |
148 |
| - <execution> |
149 |
| - <id>download-meta-model-shapes</id> |
150 |
| - <phase>process-resources</phase> |
151 |
| - <goals> |
152 |
| - <goal>wget</goal> |
153 |
| - </goals> |
154 |
| - <configuration> |
155 |
| - <url> |
156 |
| - https://raw.githubusercontent.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/5c097dd7357b129ba1771985a9ab1d29fcc32bcd/src/main/resources/bamm/meta-model/2.0.0/aspect-meta-model-shapes.ttl |
157 |
| - </url> |
158 |
| - <outputFileName>aspect-meta-model-shapes.ttl</outputFileName> |
159 |
| - <outputDirectory>${project.build.directory}/classes/bamm/meta-model/2.0.0</outputDirectory> |
160 |
| - </configuration> |
161 |
| - </execution> |
162 |
| - <execution> |
163 |
| - <id>download-characteristics-shapes</id> |
164 |
| - <phase>process-resources</phase> |
165 |
| - <goals> |
166 |
| - <goal>wget</goal> |
167 |
| - </goals> |
168 |
| - <configuration> |
169 |
| - <url> |
170 |
| - https://raw.githubusercontent.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/5c097dd7357b129ba1771985a9ab1d29fcc32bcd/src/main/resources/bamm/characteristic/2.0.0/characteristic-shapes.ttl |
171 |
| - </url> |
172 |
| - <outputFileName>characteristic-shapes.ttl</outputFileName> |
173 |
| - <outputDirectory>${project.build.directory}/classes/bamm/characteristic/2.0.0</outputDirectory> |
174 |
| - </configuration> |
175 |
| - </execution> |
176 |
| - </executions> |
177 |
| - </plugin> |
| 141 | + <!-- Download updated meta model shape files --> |
| 142 | + <!-- This refers to the state of the shape files after merging of https://github.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/pull/176 --> |
| 143 | + <plugin> |
| 144 | + <groupId>com.googlecode.maven-download-plugin</groupId> |
| 145 | + <artifactId>download-maven-plugin</artifactId> |
| 146 | + <version>${download-maven-plugin-version}</version> |
| 147 | + <executions> |
| 148 | + <execution> |
| 149 | + <id>download-meta-model-shapes</id> |
| 150 | + <phase>process-resources</phase> |
| 151 | + <goals> |
| 152 | + <goal>wget</goal> |
| 153 | + </goals> |
| 154 | + <configuration> |
| 155 | + <url> |
| 156 | + https://raw.githubusercontent.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/159ced3e69e5d694e5158f2942cb3182941cf032/src/main/resources/bamm/meta-model/2.0.0/aspect-meta-model-shapes.ttl |
| 157 | + </url> |
| 158 | + <outputFileName>aspect-meta-model-shapes.ttl</outputFileName> |
| 159 | + <outputDirectory>${project.build.directory}/classes/bamm/meta-model/2.0.0</outputDirectory> |
| 160 | + </configuration> |
| 161 | + </execution> |
| 162 | + <execution> |
| 163 | + <id>download-characteristics-shapes</id> |
| 164 | + <phase>process-resources</phase> |
| 165 | + <goals> |
| 166 | + <goal>wget</goal> |
| 167 | + </goals> |
| 168 | + <configuration> |
| 169 | + <url> |
| 170 | + https://raw.githubusercontent.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/159ced3e69e5d694e5158f2942cb3182941cf032/src/main/resources/bamm/characteristic/2.0.0/characteristic-shapes.ttl |
| 171 | + </url> |
| 172 | + <outputFileName>characteristic-shapes.ttl</outputFileName> |
| 173 | + <outputDirectory>${project.build.directory}/classes/bamm/characteristic/2.0.0</outputDirectory> |
| 174 | + </configuration> |
| 175 | + </execution> |
| 176 | + </executions> |
| 177 | + </plugin> |
178 | 178 |
|
179 |
| - </plugins> |
180 |
| - </build> |
| 179 | + </plugins> |
| 180 | + </build> |
181 | 181 | </project>
|
0 commit comments