Skip to content

Commit 6619764

Browse files
author
Frédéric Ferran
committed
- Add SysML Architect open-source for Modelio 4.1.
- Add its documentation in the src/main/doc directory - Add an aggregator pom file in src/main/aggregator directory. Use this pom in order to build the SysML Architect module with its documentation.
1 parent a39c849 commit 6619764

File tree

512 files changed

+21553
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

512 files changed

+21553
-0
lines changed

SysMLArchitect/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target

SysMLArchitect/assembly.xml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<assembly
2+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1-SNAPSHOT"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.0.0.1-SNAPSHOT http://maven.apache.org/xsd/assembly-1.0.0.1-SNAPSHOT.xsd">
5+
<id>bin</id>
6+
<formats>
7+
<format>zip</format>
8+
</formats>
9+
<includeBaseDirectory>false</includeBaseDirectory>
10+
<fileSets>
11+
<!-- Copy DataSheet HTML files -->
12+
<fileSet>
13+
<directory>${project.basedir}</directory>
14+
<outputDirectory>/${project.name}</outputDirectory>
15+
<includes>
16+
<include>DataSheet*.html</include>
17+
</includes>
18+
<filtered>true</filtered>
19+
</fileSet>
20+
<!-- Copy XML resources -->
21+
<fileSet>
22+
<directory>${project.basedir}/src/main/conf</directory>
23+
<outputDirectory>/${project.name}</outputDirectory>
24+
<includes>
25+
<include>**/*.xml</include>
26+
</includes>
27+
<filtered>true</filtered>
28+
</fileSet>
29+
<!-- Copy other ressources -->
30+
<fileSet>
31+
<directory>${project.basedir}/src/main/conf</directory>
32+
<outputDirectory>/${project.name}</outputDirectory>
33+
<excludes>
34+
<exclude>**/*.xml</exclude>
35+
</excludes>
36+
<filtered>false</filtered>
37+
</fileSet>
38+
<!-- Copy module's jar file -->
39+
<fileSet>
40+
<directory>${project.build.directory}</directory>
41+
<outputDirectory>${project.name}/lib</outputDirectory>
42+
<includes>
43+
<include>${project.artifactId}-${project.version}.jar</include>
44+
</includes>
45+
</fileSet>
46+
<!-- Copy java dependencies needed by the module -->
47+
<fileSet>
48+
<directory>${project.build.directory}/lib</directory>
49+
<outputDirectory>${project.name}/lib</outputDirectory>
50+
<includes>
51+
<include>*.jar</include>
52+
</includes>
53+
</fileSet>
54+
</fileSets>
55+
</assembly>

SysMLArchitect/pom.xml

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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+
5+
<!-- definition -->
6+
<groupId>org.modelio.module</groupId>
7+
<artifactId>sysmlarchitect</artifactId>
8+
<version>3.10.00</version>
9+
<name>SysMLArchitect</name>
10+
<description>SysML Architect is a Modelio extension, used to model SysML architectures.</description>
11+
12+
<repositories>
13+
<repository>
14+
<id>modelio</id>
15+
<url>http://repository.modelio.org</url>
16+
</repository>
17+
</repositories>
18+
<pluginRepositories>
19+
<pluginRepository>
20+
<id>modelio-plugins</id>
21+
<url>http://repository.modelio.org</url>
22+
</pluginRepository>
23+
</pluginRepositories>
24+
25+
<properties>
26+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27+
</properties>
28+
29+
<dependencies>
30+
<!-- api modelio -->
31+
<dependency>
32+
<groupId>org.modelio</groupId>
33+
<artifactId>MDAKit</artifactId>
34+
<version>[4.1.0,4.2.0)</version>
35+
<type>pom</type>
36+
<scope>provided</scope>
37+
</dependency>
38+
39+
<dependency>
40+
<groupId>org.modelio</groupId>
41+
<artifactId>org.modelio.documentation.sysml</artifactId>
42+
<version>${project.version}</version>
43+
</dependency>
44+
45+
</dependencies>
46+
47+
<!-- // Build // -->
48+
<build>
49+
<plugins>
50+
<!-- Use JVM 1.8 -->
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-compiler-plugin</artifactId>
54+
<version>2.3.2</version>
55+
<configuration>
56+
<source>1.8</source>
57+
<target>1.8</target>
58+
<encoding>${project.build.sourceEncoding}</encoding>
59+
</configuration>
60+
</plugin>
61+
62+
<plugin>
63+
<groupId>org.modelio</groupId>
64+
<artifactId>modelio-maven-plugin</artifactId>
65+
<version>4.1.0.00</version>
66+
<executions>
67+
<execution>
68+
<id>ModuleValidation</id>
69+
<phase>validate</phase>
70+
<goals>
71+
<goal>module-validation</goal>
72+
</goals>
73+
</execution>
74+
<execution>
75+
<id>ResourceManagement</id>
76+
<phase>generate-resources</phase>
77+
<goals>
78+
<goal>module-configuration</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
<configuration>
83+
<moduleFile>${project.basedir}/src/main/conf/module.xml</moduleFile>
84+
</configuration>
85+
</plugin>
86+
87+
<!-- Copy maven dependencies -->
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-dependency-plugin</artifactId>
91+
<version>2.4</version>
92+
<configuration>
93+
<outputDirectory>${project.basedir}/target/lib</outputDirectory>
94+
<overWriteReleases>false</overWriteReleases>
95+
<overWriteSnapshots>false</overWriteSnapshots>
96+
<overWriteIfNewer>true</overWriteIfNewer>
97+
<excludeScope>provided</excludeScope>
98+
</configuration>
99+
<executions>
100+
<execution>
101+
<id>copy-dependencies</id>
102+
<phase>package</phase>
103+
<goals>
104+
<goal>copy-dependencies</goal>
105+
</goals>
106+
</execution>
107+
</executions>
108+
</plugin>
109+
110+
<!-- Build zip -->
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-assembly-plugin</artifactId>
114+
<version>2.3</version>
115+
<configuration>
116+
<encoding>${project.build.sourceEncoding}</encoding>
117+
<descriptors>
118+
<descriptor>assembly.xml</descriptor>
119+
</descriptors>
120+
<finalName>${project.name}_${project.version}</finalName>
121+
<attach>false</attach>
122+
<appendAssemblyId>false</appendAssemblyId>
123+
</configuration>
124+
<executions>
125+
<execution>
126+
<id>make-assembly</id>
127+
<phase>package</phase>
128+
<goals>
129+
<goal>single</goal>
130+
</goals>
131+
</execution>
132+
</executions>
133+
</plugin>
134+
135+
<!-- Rename zip into jmdac -->
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-antrun-plugin</artifactId>
139+
<version>1.7</version>
140+
<executions>
141+
<execution>
142+
<id>rename</id>
143+
<phase>package</phase>
144+
<configuration>
145+
<target>
146+
<move file="${project.basedir}/target/${project.name}_${project.version}.zip" tofile="${project.basedir}/target/${project.name}_${project.version}.jmdac" />
147+
</target>
148+
</configuration>
149+
<goals>
150+
<goal>run</goal>
151+
</goals>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
</plugins>
156+
157+
<pluginManagement>
158+
<plugins>
159+
<!-- ignore plugin goal -> tells m2e to silently ignore the plugin execution. -->
160+
<plugin>
161+
<groupId>org.eclipse.m2e</groupId>
162+
<artifactId>lifecycle-mapping</artifactId>
163+
<version>1.0.0</version>
164+
<configuration>
165+
<lifecycleMappingMetadata>
166+
<pluginExecutions>
167+
<pluginExecution>
168+
<pluginExecutionFilter>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-dependency-plugin</artifactId>
171+
<versionRange>[1.0.0,)</versionRange>
172+
<goals>
173+
<goal>copy-dependencies</goal>
174+
</goals>
175+
</pluginExecutionFilter>
176+
<action>
177+
<ignore />
178+
</action>
179+
</pluginExecution>
180+
<pluginExecution>
181+
<pluginExecutionFilter>
182+
<groupId>org.modelio</groupId>
183+
<artifactId>
184+
modelio-maven-plugin
185+
</artifactId>
186+
<versionRange>
187+
[4.0.0.00,)
188+
</versionRange>
189+
<goals>
190+
<goal>
191+
module-validation
192+
</goal>
193+
<goal>
194+
module-configuration
195+
</goal>
196+
</goals>
197+
</pluginExecutionFilter>
198+
<action>
199+
<ignore></ignore>
200+
</action>
201+
</pluginExecution>
202+
</pluginExecutions>
203+
</lifecycleMappingMetadata>
204+
</configuration>
205+
</plugin>
206+
</plugins>
207+
</pluginManagement>
208+
</build>
209+
210+
</project>
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!--
2+
3+
SysML Architect Maven aggregator
4+
5+
Use this aggregator pom file in order to build the SysML Architect module with its documentation.
6+
7+
-->
8+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9+
<modelVersion>4.0.0</modelVersion>
10+
11+
<groupId>org.modelio</groupId>
12+
<artifactId>aggregator-sysmlarchitect</artifactId>
13+
<version>0.0.00</version>
14+
<packaging>pom</packaging>
15+
16+
<modules>
17+
<module>../../..</module>
18+
<module>../doc</module>
19+
</modules>
20+
21+
</project>
22+

0 commit comments

Comments
 (0)