|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - |
| 4 | + |
5 | 5 | <parent> |
6 | | - <groupId>de.cau.cs.kieler.spviz</groupId> |
7 | | - <artifactId>parent</artifactId> |
8 | | - <version>0.1.0-SNAPSHOT</version> |
9 | | - <relativePath>../spviz.build/pom.xml</relativePath> <!-- Only works like this if the parent will be generated at this relative path |
10 | | - (so, if the generator is next to the other generated bundles). Adapt this path for other use cases. --> |
| 6 | + <groupId>de.cau.cs.kieler.spviz</groupId> |
| 7 | + <artifactId>parent</artifactId> |
| 8 | + <version>0.1.0-SNAPSHOT</version> |
| 9 | + <relativePath>../spviz.build/pom.xml</relativePath> <!-- Only works like |
| 10 | + this if the parent will be generated at this relative path |
| 11 | + (so, if the generator is next to the other generated bundles). Adapt this path |
| 12 | + for other use cases. --> |
11 | 13 | </parent> |
12 | | - |
| 14 | + |
13 | 15 | <modelVersion>4.0.0</modelVersion> |
14 | 16 | <groupId>de.cau.cs.kieler.spviz.osgi.generate</groupId> |
15 | 17 | <artifactId>de.cau.cs.kieler.spviz.osgi.generate</artifactId> |
16 | 18 | <version>0.0.1-SNAPSHOT</version> |
| 19 | + <packaging>maven-plugin</packaging> |
17 | 20 |
|
18 | 21 | <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>org.apache.maven</groupId> |
| 24 | + <artifactId>maven-plugin-api</artifactId> |
| 25 | + <version>3.9.6</version> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.apache.maven.plugin-tools</groupId> |
| 29 | + <artifactId>maven-plugin-annotations</artifactId> |
| 30 | + <version>3.9.0</version> |
| 31 | + </dependency> |
19 | 32 | <dependency> |
20 | 33 | <groupId>org.eclipse.emf</groupId> |
21 | 34 | <artifactId>org.eclipse.emf.ecore.xmi</artifactId> |
|
31 | 44 | <artifactId>picocli</artifactId> |
32 | 45 | <version>4.6.3</version> |
33 | 46 | </dependency> |
34 | | - <!-- https://mvnrepository.com/artifact/commons-io/commons-io --> |
| 47 | + <!-- https://mvnrepository.com/artifact/commons-io/commons-io --> |
35 | 48 | <dependency> |
36 | | - <groupId>commons-io</groupId> |
37 | | - <artifactId>commons-io</artifactId> |
38 | | - <version>2.11.0</version> |
| 49 | + <groupId>commons-io</groupId> |
| 50 | + <artifactId>commons-io</artifactId> |
| 51 | + <version>2.11.0</version> |
39 | 52 | </dependency> |
40 | 53 | </dependencies> |
41 | 54 |
|
|
50 | 63 | </resource> |
51 | 64 | </resources> |
52 | 65 | <plugins> |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-plugin-plugin</artifactId> |
| 69 | + <version>3.6.4</version> |
| 70 | + <configuration> |
| 71 | + <goalPrefix>generate-spviz-osgi</goalPrefix> |
| 72 | + </configuration> |
| 73 | + </plugin> |
53 | 74 | <plugin> |
54 | 75 | <artifactId>maven-compiler-plugin</artifactId> |
55 | 76 | <version>3.10.0</version> |
|
66 | 87 | <execution> |
67 | 88 | <phase>package</phase> |
68 | 89 | <goals> |
69 | | - <goal>shade</goal> |
| 90 | + <goal>shade</goal> |
70 | 91 | </goals> |
71 | 92 | <configuration> |
72 | 93 | <transformers> |
73 | | - <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
74 | | - <mainClass>de.cau.cs.kieler.spviz.osgi.generate.ConfigAndExecuteCli</mainClass> |
| 94 | + <transformer |
| 95 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 96 | + <mainClass> |
| 97 | + de.cau.cs.kieler.spviz.osgi.generate.ConfigAndExecuteCli</mainClass> |
75 | 98 | </transformer> |
76 | 99 | </transformers> |
77 | 100 | <filters> |
78 | 101 | <filter> |
79 | | - <artifact>*:*</artifact> |
80 | | - <excludes> |
81 | | - <exclude>META-INF/*.SF</exclude> |
82 | | - <exclude>META-INF/*.DSA</exclude> |
83 | | - <exclude>META-INF/*.RSA</exclude> |
84 | | - <exclude>META-INF/MANIFEST.MF</exclude> |
85 | | - <exclude>schema/*.exsd</exclude> |
86 | | - <exclude>about.*</exclude> |
87 | | - <exclude>modeling32.png</exclude> |
88 | | - <exclude>plugin.*</exclude> |
89 | | - </excludes> |
| 102 | + <artifact>*:*</artifact> |
| 103 | + <excludes> |
| 104 | + <exclude>META-INF/*.SF</exclude> |
| 105 | + <exclude>META-INF/*.DSA</exclude> |
| 106 | + <exclude>META-INF/*.RSA</exclude> |
| 107 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 108 | + <exclude>schema/*.exsd</exclude> |
| 109 | + <exclude>about.*</exclude> |
| 110 | + <exclude>modeling32.png</exclude> |
| 111 | + <exclude>plugin.*</exclude> |
| 112 | + </excludes> |
90 | 113 | </filter> |
91 | 114 | </filters> |
92 | 115 | <createDependencyReducedPom>false</createDependencyReducedPom> |
|
0 commit comments