-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpom.xml
More file actions
122 lines (118 loc) · 4.13 KB
/
pom.xml
File metadata and controls
122 lines (118 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.omg.sysml</groupId>
<artifactId>org.omg.sysml.parent</artifactId>
<version>${revision}</version>
</parent>
<groupId>org.omg.sysml</groupId>
<artifactId>org.omg.sysml.interactive</artifactId>
<packaging>eclipse-plugin</packaging>
<properties>
<dir.lib>${project.build.directory}/lib</dir.lib>
<dir.libs>${project.build.directory}/libs</dir.libs>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${dir.lib}</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${dir.libs}</outputDirectory>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>package-jar</id>
<phase>package</phase>
<configuration>
<target>
<ant antfile="${project.basedir}/sysmli.xml">
<property name="dir.jarfile" value="${project.basedir}/target"/>
<property name="jar.filename" value="${project.artifactId}-${project.version}-all.jar"/>
<property name="main.class" value="org.omg.sysml.interactive.SysMLInteractive" />
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/${project.artifactId}-${project.version}-all.jar</file>
<type>jar</type>
<classifier>all</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
<executions>
<!-- Disable the sysand-index execution inherited from pluginManagement,
since it needs to be executed only once. -->
<execution>
<id>sysand-index</id>
<phase>none</phase>
</execution>
<execution>
<phase>package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.omg.sysml.interactive.SysMLInteractiveLibraryIndexGenerator</mainClass>
<arguments>
<argument>${project.basedir}/../sysml.library</argument>
</arguments>
<classpathScope>compile</classpathScope>
</configuration>
</plugin>
</plugins>
</build>
</project>