|
| 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>javadesigner</artifactId> |
| 8 | + <version>3.9.00</version> |
| 9 | + <name>JavaDesigner</name> |
| 10 | + |
| 11 | + <!-- repositories --> |
| 12 | + <repositories> |
| 13 | + <repository> |
| 14 | + <id>modelio</id> |
| 15 | + <url>https://repository.modelio.org</url> |
| 16 | + </repository> |
| 17 | + </repositories> |
| 18 | + |
| 19 | + <pluginRepositories> |
| 20 | + <pluginRepository> |
| 21 | + <id>modelio</id> |
| 22 | + <url>https://repository.modelio.org</url> |
| 23 | + </pluginRepository> |
| 24 | + </pluginRepositories> |
| 25 | + |
| 26 | + <!-- properties --> |
| 27 | + <properties> |
| 28 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 29 | + </properties> |
| 30 | + |
| 31 | + <dependencies> |
| 32 | + <!-- api modelio --> |
| 33 | + <dependency> |
| 34 | + <groupId>org.modelio</groupId> |
| 35 | + <artifactId>MDAKit</artifactId> |
| 36 | + <version>[4.0.0,4.0.1)</version> |
| 37 | + <type>pom</type> |
| 38 | + <scope>provided</scope> |
| 39 | + </dependency> |
| 40 | + |
| 41 | + <dependency> |
| 42 | + <groupId>org.modelio</groupId> |
| 43 | + <artifactId>org.modelio.documentation.javadesigner</artifactId> |
| 44 | + <version>${project.version}</version> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <dependency> |
| 48 | + <groupId>com.modelio.module</groupId> |
| 49 | + <artifactId>xmlreverse</artifactId> |
| 50 | + <version>3.4.03</version> |
| 51 | + <type>jar</type> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <dependency> |
| 55 | + <groupId>org.javatuples</groupId> |
| 56 | + <artifactId>javatuples</artifactId> |
| 57 | + <version>1.2</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <dependency> |
| 61 | + <groupId>org.modelio.module.javadesigner</groupId> |
| 62 | + <artifactId>antlr-runtime</artifactId> |
| 63 | + <version>3.4.1</version> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.modelio</groupId> |
| 68 | + <artifactId>org.modelio.modelermodule</artifactId> |
| 69 | + <version>9.1.00</version> |
| 70 | + <type>jar</type> |
| 71 | + <scope>provided</scope> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <dependency> |
| 75 | + <groupId>org.modelio</groupId> |
| 76 | + <artifactId>org.modelio.core.session</artifactId> |
| 77 | + <version>[4.0.0,4.0.1)</version> |
| 78 | + <type>jar</type> |
| 79 | + <scope>provided</scope> |
| 80 | + </dependency> |
| 81 | + |
| 82 | + </dependencies> |
| 83 | + |
| 84 | + <!-- // Build // --> |
| 85 | + <build> |
| 86 | + <plugins> |
| 87 | + <!-- Use JVM 1.8 --> |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-compiler-plugin</artifactId> |
| 91 | + <version>2.3.2</version> |
| 92 | + <configuration> |
| 93 | + <source>1.8</source> |
| 94 | + <target>1.8</target> |
| 95 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 96 | + </configuration> |
| 97 | + </plugin> |
| 98 | + |
| 99 | + <plugin> |
| 100 | + <groupId>org.modelio</groupId> |
| 101 | + <artifactId>modelio-maven-plugin</artifactId> |
| 102 | + <version>4.0.0.00</version> |
| 103 | + <executions> |
| 104 | + <execution> |
| 105 | + <id>ModuleValidation</id> |
| 106 | + <phase>validate</phase> |
| 107 | + <goals> |
| 108 | + <goal>module-validation</goal> |
| 109 | + </goals> |
| 110 | + </execution> |
| 111 | + <execution> |
| 112 | + <id>ResourceManagement</id> |
| 113 | + <phase>generate-resources</phase> |
| 114 | + <goals> |
| 115 | + <goal>module-configuration</goal> |
| 116 | + </goals> |
| 117 | + </execution> |
| 118 | + </executions> |
| 119 | + <configuration> |
| 120 | + <moduleFile>${project.basedir}/src/main/conf/module.xml</moduleFile> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + |
| 124 | + <!-- Copy maven dependencies --> |
| 125 | + <plugin> |
| 126 | + <groupId>org.apache.maven.plugins</groupId> |
| 127 | + <artifactId>maven-dependency-plugin</artifactId> |
| 128 | + <version>2.4</version> |
| 129 | + <configuration> |
| 130 | + <outputDirectory>${project.basedir}/target/lib</outputDirectory> |
| 131 | + <overWriteReleases>false</overWriteReleases> |
| 132 | + <overWriteSnapshots>false</overWriteSnapshots> |
| 133 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 134 | + <excludeScope>provided</excludeScope> |
| 135 | + </configuration> |
| 136 | + <executions> |
| 137 | + <execution> |
| 138 | + <id>copy-dependencies</id> |
| 139 | + <phase>package</phase> |
| 140 | + <goals> |
| 141 | + <goal>copy-dependencies</goal> |
| 142 | + </goals> |
| 143 | + </execution> |
| 144 | + </executions> |
| 145 | + </plugin> |
| 146 | + |
| 147 | + <!-- Build zip --> |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-assembly-plugin</artifactId> |
| 151 | + <version>2.3</version> |
| 152 | + <configuration> |
| 153 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 154 | + <descriptors> |
| 155 | + <descriptor>assembly.xml</descriptor> |
| 156 | + </descriptors> |
| 157 | + <finalName>${project.name}_${project.version}</finalName> |
| 158 | + <attach>false</attach> |
| 159 | + <appendAssemblyId>false</appendAssemblyId> |
| 160 | + </configuration> |
| 161 | + <executions> |
| 162 | + <execution> |
| 163 | + <id>make-assembly</id> |
| 164 | + <phase>package</phase> |
| 165 | + <goals> |
| 166 | + <goal>single</goal> |
| 167 | + </goals> |
| 168 | + </execution> |
| 169 | + </executions> |
| 170 | + </plugin> |
| 171 | + |
| 172 | + <!-- Rename zip into jmdac --> |
| 173 | + <plugin> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-antrun-plugin</artifactId> |
| 176 | + <version>1.7</version> |
| 177 | + <executions> |
| 178 | + <execution> |
| 179 | + <id>rename</id> |
| 180 | + <phase>package</phase> |
| 181 | + <configuration> |
| 182 | + <target> |
| 183 | + <move file="${project.basedir}/target/${project.name}_${project.version}.zip" tofile="${project.basedir}/target/${project.name}_${project.version}.jmdac" /> |
| 184 | + |
| 185 | + </target> |
| 186 | + </configuration> |
| 187 | + <goals> |
| 188 | + <goal>run</goal> |
| 189 | + </goals> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + </plugin> |
| 193 | + </plugins> |
| 194 | + |
| 195 | + <pluginManagement> |
| 196 | + <plugins> |
| 197 | + <!-- ignore plugin goal -> tells m2e to silently ignore the plugin execution. --> |
| 198 | + <plugin> |
| 199 | + <groupId>org.eclipse.m2e</groupId> |
| 200 | + <artifactId>lifecycle-mapping</artifactId> |
| 201 | + <version>1.0.0</version> |
| 202 | + <configuration> |
| 203 | + <lifecycleMappingMetadata> |
| 204 | + <pluginExecutions> |
| 205 | + <pluginExecution> |
| 206 | + <pluginExecutionFilter> |
| 207 | + <groupId>org.apache.maven.plugins</groupId> |
| 208 | + <artifactId>maven-dependency-plugin</artifactId> |
| 209 | + <versionRange>[1.0.0,)</versionRange> |
| 210 | + <goals> |
| 211 | + <goal>copy-dependencies</goal> |
| 212 | + </goals> |
| 213 | + </pluginExecutionFilter> |
| 214 | + <action> |
| 215 | + <ignore /> |
| 216 | + </action> |
| 217 | + </pluginExecution> |
| 218 | + <pluginExecution> |
| 219 | + <pluginExecutionFilter> |
| 220 | + <groupId>org.modelio</groupId> |
| 221 | + <artifactId> |
| 222 | + modelio-maven-plugin |
| 223 | + </artifactId> |
| 224 | + <versionRange> |
| 225 | + [4.0.0.00,) |
| 226 | + </versionRange> |
| 227 | + <goals> |
| 228 | + <goal> |
| 229 | + module-validation |
| 230 | + </goal> |
| 231 | + <goal> |
| 232 | + module-configuration |
| 233 | + </goal> |
| 234 | + </goals> |
| 235 | + </pluginExecutionFilter> |
| 236 | + <action> |
| 237 | + <ignore></ignore> |
| 238 | + </action> |
| 239 | + </pluginExecution> |
| 240 | + </pluginExecutions> |
| 241 | + </lifecycleMappingMetadata> |
| 242 | + </configuration> |
| 243 | + </plugin> |
| 244 | + </plugins> |
| 245 | + </pluginManagement> |
| 246 | + </build> |
| 247 | + <description>The Java Designer module provides a complete range of features dedicated to Java development, including Java code and Javadoc generation from UML2 models. It also provides an automatic model completion feature, incorporating automatic accessor production and synchronization, and a reverse service used to reverse-engineer existing Java application.</description> |
| 248 | +</project> |
| 249 | + |
0 commit comments