pom.xml 29.4 KB
Newer Older
M
Mathieu Bastian 已提交
1 2 3 4 5 6
<?xml version="1.0" encoding="UTF-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">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.gephi</groupId>
    <artifactId>gephi-parent</artifactId>
M
Mathieu Bastian 已提交
7
    <version>0.8.2-SNAPSHOT</version>
M
Mathieu Bastian 已提交
8 9
    <packaging>pom</packaging>

10
    <name>gephi</name>
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
    <!-- Project Metadata -->
    <url>https://github.com/gephi/gephi-maven</url>
    <description>Gephi - The Open Graph Viz Platform</description>
    <organization>
        <url>http://gephi.org</url>
    </organization>
    <inceptionYear>2007</inceptionYear>
    
    <!-- Licenses -->
    <licenses>
        <license>
            <name>CDDL 1.0</name>
            <url>http://www.opensource.org/licenses/CDDL-1.0</url>
            <comments>CDDL License 1.0</comments>
        </license>
        <license>
            <name>GPL v3</name>
            <url>http://www.opensource.org/licenses/GPL-3.0</url>
            <comments>GPL v3 License</comments>
        </license>
    </licenses>
    
    <!-- Mailing lists -->
    <mailingLists>
        <mailingList>
            <name>gephi-dev</name>
            <post>gephi-dev@lists.gephi.org</post>
            <archive>http://gephi.org/pipermail/gephi-dev/</archive>
        </mailingList>
    </mailingLists>
    
    <!-- Properties -->
44 45 46
    <properties>        
        <bundle.namespace>${project.groupId}.${project.artifactId}</bundle.namespace>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47 48 49
        <gephi.maven.requiredVersion>3.0.3</gephi.maven.requiredVersion>
        <netbeans.run.params.ide/>
        <netbeans.run.params>${netbeans.run.params.ide}</netbeans.run.params>
50
        
51
        <!-- Netbeans Platfrom version -->
52
        <netbeans.version>RELEASE72</netbeans.version>
53 54
        
        <!-- Localization ZIP version -->
55
        <gephi.platform.localization.version>7.2</gephi.platform.localization.version>
56 57
        
        <!-- Modules specification version, overrides project version -->
58
        <gephi.modules.specification.version>0.8.1.6</gephi.modules.specification.version>
59

60
        <!-- Java compilation settings -->
61 62 63 64 65 66 67 68 69
        <gephi.javac.source>1.6</gephi.javac.source>
        <gephi.javac.target>1.6</gephi.javac.target>
        <gephi.javac.xlint>-Xlint:all</gephi.javac.xlint>
        <gephi.javac.debug>true</gephi.javac.debug>
        <gephi.javac.optimize>true</gephi.javac.optimize>
        <gephi.javac.showDeprecation>true</gephi.javac.showDeprecation>
        <gephi.javac.showWarnings>true</gephi.javac.showWarnings>
        <gephi.javac.fork>true</gephi.javac.fork>
        
70
        <!-- Testing settings -->
71 72 73 74 75
        <gephi.junit.version>4.7</gephi.junit.version>
        <gephi.test.maxMemory>768M</gephi.test.maxMemory>
        <gephi.test.reportsDirectory>${project.build.directory}/surefire-reports/plain</gephi.test.reportsDirectory>
        <gephi.test.failureIgnore>${testFailureIgnore}</gephi.test.failureIgnore>
        
76 77 78
        <!-- NBM Plugin settings -->
        <brandingToken>gephi</brandingToken>
        <all.clusters>${project.build.directory}/${brandingToken}</all.clusters>
79
        <gephi.netbeans.useOSGiDependencies>false</gephi.netbeans.useOSGiDependencies>
M
Mathieu Bastian 已提交
80
        <gephi.app.title>Gephi 0.8.1 beta</gephi.app.title>
81
        
82
        <!-- Update centers URLs -->
M
Mathieu Bastian 已提交
83 84
        <gephi.update.center.official.url>http://gephi.org/updates/official/${project.version}/catalog.xml</gephi.update.center.official.url>
        <gephi.update.center.thirdparty.url>http://gephi.org/updates/thirdparty/$(project.version}/catalog.xml</gephi.update.center.thirdparty.url>
85 86
        <gephi.update.center.testing.url>http://nexus.gephi.org/nexus/content/repositories/snapshots/external/updates.xml</gephi.update.center.testing.url>
        
87
        <!-- Mac OS X bundle settings -->
M
Mathieu Bastian 已提交
88 89
        <gephi.appbundle.name>Gephi</gephi.appbundle.name>
        <gephi.appbundle.signature>????</gephi.appbundle.signature>
90 91
        <gephi.jarbundler.version>2.2.0</gephi.jarbundler.version>
        
92
        <!-- Repository URLs -->
93 94 95 96
        <gephi.release.repository.id>gephi-nexus</gephi.release.repository.id>
        <gephi.snapshot.repository.id>gephi-nexus</gephi.snapshot.repository.id>
        <gephi.release.repository.url>http://nexus.gephi.org/nexus/content/repositories/releases</gephi.release.repository.url>
        <gephi.snapshot.repository.url>http://nexus.gephi.org/nexus/content/repositories/snapshots</gephi.snapshot.repository.url>
97 98
        
        <!-- Location of the NBM autoupdate folder -->
99 100
        <gephi.updates.site>${project.build.directory}/netbeans_site</gephi.updates.site>
        
101
        <!-- SCM -->
102 103
        <gephi.scm>git</gephi.scm>
        
104 105
        <!-- Installers settings -->
        <gephi.menu.app.name>Gephi ${project.version}</gephi.menu.app.name>
M
Mathieu Bastian 已提交
106
        <gephi.innosetup.path>C:/Program Files (x86)/Inno Setup 5</gephi.innosetup.path>
107
        
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
        <!--==== Plugin Versions ==================================================================================-->

        <gephi.maven-antrun-plugin.version>1.6</gephi.maven-antrun-plugin.version>

        <gephi.maven-assembly-plugin.version>2.2.1</gephi.maven-assembly-plugin.version>

        <gephi.maven-bundle-plugin.version>2.0.1</gephi.maven-bundle-plugin.version>

        <gephi.maven-checkstyle-plugin.version>2.6</gephi.maven-checkstyle-plugin.version>

        <gephi.maven-clean-plugin.version>2.4.1</gephi.maven-clean-plugin.version>

        <gephi.maven-compiler-plugin.version>2.3.2</gephi.maven-compiler-plugin.version>

        <gephi.maven-dependency-plugin.version>2.4</gephi.maven-dependency-plugin.version>

124
        <gephi.maven-deploy-plugin.version>2.7</gephi.maven-deploy-plugin.version>
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161

        <gephi.maven-doap-plugin.version>1.1</gephi.maven-doap-plugin.version>

        <gephi.maven-enforcer-plugin.version>1.0.1</gephi.maven-enforcer-plugin.version>

        <gephi.maven-gpg-plugin.version>1.3</gephi.maven-gpg-plugin.version>

        <gephi.maven-graph-plugin.version>1.15</gephi.maven-graph-plugin.version>

        <gephi.maven-install-plugin.version>2.3.1</gephi.maven-install-plugin.version>

        <gephi.maven-jar-plugin.version>2.3.2</gephi.maven-jar-plugin.version>

        <gephi.maven-jarsigner-plugin.version>1.2</gephi.maven-jarsigner-plugin.version>

        <gephi.maven-javadoc-plugin.version>2.8</gephi.maven-javadoc-plugin.version> 

        <gephi.maven-jetty-plugin.version>6.1.24</gephi.maven-jetty-plugin.version> <!-- FIXME: 7.0.0.pre5 breaks current projects -->

        <gephi.maven-license-plugin.version>1.9.0</gephi.maven-license-plugin.version>

        <gephi.maven-pmd-plugin.version>2.5</gephi.maven-pmd-plugin.version>

        <gephi.maven-release-plugin.version>2.2.1</gephi.maven-release-plugin.version>

        <gephi.maven-replacer-plugin.version>1.3.9</gephi.maven-replacer-plugin.version>

        <gephi.maven-resources-plugin.version>2.5</gephi.maven-resources-plugin.version>

        <gephi.maven-site-plugin.version>2.2</gephi.maven-site-plugin.version> <!-- 3.0-beta-3 miserably fails with -->

        <gephi.maven-source-plugin.version>2.1.2</gephi.maven-source-plugin.version>

        <gephi.maven-surefire-plugin.version>2.10</gephi.maven-surefire-plugin.version>

        <gephi.build-helper-maven-plugin.version>1.7</gephi.build-helper-maven-plugin.version>

M
Mathieu Bastian 已提交
162 163 164
        <gephi.nbm-maven-plugin.version>3.7</gephi.nbm-maven-plugin.version>
        
        <gephi.maven-reactor-plugin.version>1.0</gephi.maven-reactor-plugin.version>
165 166
        
        <gephi.wagon-maven-plugin.version>1.0-beta-3</gephi.wagon-maven-plugin.version>           
167 168 169

    </properties>
    
170
    <!-- Maven required version -->
171 172 173 174
    <prerequisites>
        <maven>${gephi.maven.requiredVersion}</maven>
    </prerequisites>
 
175
    <!-- Repositories -->
M
Mathieu Bastian 已提交
176 177 178 179 180 181 182 183 184
    <repositories>
        <repository>
            <id>netbeans</id>
            <name>NetBeans</name>
            <url>http://bits.netbeans.org/maven2/</url>
        </repository>
        <repository>
            <id>gephi</id>
            <name>Gephi 3rd Party</name>
185
            <url>http://nexus.gephi.org/nexus/content/repositories/thirdparty/</url>
M
Mathieu Bastian 已提交
186
        </repository>
187 188 189 190 191 192
        <repository>
            <url>http://download.java.net/maven/2/</url>
            <id>beans-binding</id>
            <layout>default</layout>
            <name>Repository for library Library[beans-binding]</name>
        </repository>
M
Mathieu Bastian 已提交
193 194
    </repositories>

195
    <!-- Locations of the artifacts published -->
M
Mathieu Bastian 已提交
196 197 198
    <distributionManagement>
        <!-- Publish versioned releases here -->
        <repository>
199
            <id>${gephi.release.repository.id}</id>
M
Mathieu Bastian 已提交
200
            <name>Gephi Release Repository</name>
201
            <url>${gephi.release.repository.url}</url>
M
Mathieu Bastian 已提交
202 203 204 205
        </repository>
 
        <!-- Publish snapshots here -->
        <snapshotRepository>
M
Mathieu Bastian 已提交
206
            <id>${gephi.snapshot.repository.id}</id>
M
Mathieu Bastian 已提交
207
            <name>Gephi Snapshot Repository</name>
208
            <url>${gephi.snapshot.repository.url}</url>
M
Mathieu Bastian 已提交
209 210 211
        </snapshotRepository>
    </distributionManagement>

M
Mathieu Bastian 已提交
212
    <build>
213
        
214
        <!-- Plugins installed with versions -->
M
Mathieu Bastian 已提交
215 216 217 218 219
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>nbm-maven-plugin</artifactId>
220
                    <version>${gephi.nbm-maven-plugin.version}</version>
M
Mathieu Bastian 已提交
221 222 223 224
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
225
                    <version>${gephi.maven-compiler-plugin.version}</version>
M
Mathieu Bastian 已提交
226 227 228 229
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
                    <version>${gephi.maven-jar-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>${gephi.maven-antrun-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>${gephi.maven-deploy-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>${gephi.maven-release-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>${gephi.maven-gpg-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>${gephi.build-helper-maven-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${gephi.maven-surefire-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jarsigner-plugin</artifactId>
                    <version>${gephi.maven-jarsigner-plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>${gephi.maven-source-plugin.version}</version>
M
Mathieu Bastian 已提交
271
                </plugin>
272 273 274 275 276
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId> 
                    <version>${gephi.maven-resources-plugin.version}</version> 
                </plugin>
277 278 279 280 281
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>${gephi.maven-dependency-plugin.version}</version>
                </plugin>
M
Mathieu Bastian 已提交
282 283 284 285 286
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>${gephi.maven-install-plugin.version}</version>
                </plugin>
287 288 289 290 291
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>wagon-maven-plugin</artifactId>
                    <version>${gephi.wagon-maven-plugin.version}</version>
                </plugin>
292 293 294 295 296
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${gephi.maven-javadoc-plugin.version}</version>
                </plugin>
M
Mathieu Bastian 已提交
297 298 299 300 301
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-reactor-plugin</artifactId>
                    <version>${gephi.maven-reactor-plugin.version}</version>
                </plugin>
M
Mathieu Bastian 已提交
302 303
            </plugins>
        </pluginManagement>
304
        
305
        <!-- Plugins configuration ===============================================================-->
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325
        
        <plugins>

            <!-- Compiler -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <debug>${gephi.javac.debug}</debug>
                    <optimize>${gephi.javac.optimize}</optimize>
                    <source>${gephi.javac.source}</source>
                    <target>${gephi.javac.target}</target>
                    <showDeprecation>${gephi.javac.showDeprecation}</showDeprecation>
                    <showWarnings>${gephi.javac.showWarnings}</showWarnings>
                    <fork>${gephi.javac.fork}</fork>
                    <compilerArgument>
                        ${gephi.javac.xlint}
                    </compilerArgument>
                </configuration>
            </plugin>
 
326
            <!-- JAR Packaging -->
327 328 329 330 331 332 333 334 335 336 337
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <useDefaultManifestFile>true</useDefaultManifestFile> <!-- required since nbm-plugin 3.0-->
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
338
                            <!--<goal>test-jar</goal>-->
339 340 341 342 343
                        </goals>
                    </execution>
                </executions>
            </plugin>
            
344
            <!-- Skip unit tests in non-deployment or release mode -->
345 346 347 348 349 350 351 352
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
            
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
            <!-- Copy and apply filtering on manifest.mf file -->
            <plugin> 
                <artifactId>maven-resources-plugin</artifactId> 
                <executions> 
                    <execution> 
                        <id>generate-modules-xml</id> 
                        <phase>generate-resources</phase> 
                        <goals> 
                            <goal>copy-resources</goal> 
                        </goals> 
                        <configuration> 
                            <outputDirectory>${basedir}/target/</outputDirectory> 
                            <resources> 
                                <resource> 
                                    <directory>src/main/nbm</directory> 
                                    <includes> 
                                        <include>manifest.mf</include>
                                    </includes> 
                                    <filtering>true</filtering> 
                                </resource> 
                            </resources> 
                        </configuration> 
                    </execution> 
                </executions> 
            </plugin>
            
379
            <!-- NBM options -->
380 381 382 383 384 385
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <descriptor>src/main/nbm/module.xml</descriptor>
386
                    <sourceManifestFile>${project.build.directory}/manifest.mf</sourceManifestFile>
387 388 389
                    <brandingToken>${brandingToken}</brandingToken>
                    <cluster>${brandingToken}</cluster>
                    <useOSGiDependencies>${gephi.netbeans.useOSGiDependencies}</useOSGiDependencies>
390
                    
391
                    <!-- Keystore location. Run Maven with '-Dkeystorepassword=' to specify the passphrase -->
M
Mathieu Bastian 已提交
392
                    <keystore>src/keystore/keystore.ks</keystore>
M
Mathieu Bastian 已提交
393 394 395
                    <keystorealias>gephi</keystorealias>
                    <keystorepassword>${keystore.password}</keystorepassword>
                    
396
                    <!-- Installer settings -->
397
                    <templateFile>src/main/app-resources/template.xml</templateFile>
398 399 400
                    <userSettings>
                        <nbi.icon.file>${basedir}/src/main/app-resources/gephi48.png</nbi.icon.file>
                    </userSettings>
401 402 403
                    <installDirName>${brandingToken}</installDirName>
                    <installerOsSolaris>false</installerOsSolaris>
                    <installerOsMacosx>false</installerOsMacosx>
404 405
                </configuration>
            </plugin>
406 407 408 409 410 411 412 413 414 415 416 417 418 419 420
        </plugins>
    </build>
    
    <!-- Profiles -->
    <profiles>
        
        <!-- Profile for nighly builds and releases -->
        <profile>
            <id>deployment</id>
            <build>
                <plugins>
                    <!-- Javadoc settings -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
421
                        <configuration>
422 423 424 425
                            <show>private</show>
                            <nohelp>true</nohelp>
                            <detectLinks>true</detectLinks>
                            <detectOfflineLinks>true</detectOfflineLinks>      
426
                        </configuration>
427 428 429 430 431 432 433 434 435 436 437 438 439
                        <executions>
                            <execution> 
                                <id>attach-javadocs</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>jar</goal>
                                </goals> 
                            </execution>
                            <execution>
                                <id>aggregate-javadoc</id>
                                <goals>
                                    <goal>aggregate</goal>
                                </goals>
M
Mathieu Bastian 已提交
440
                                <phase>install</phase>
441 442 443 444 445 446 447 448 449
                                <configuration>
                                    <show>public</show>
                                    <stylesheetfile>src/main/javadoc/stylesheet.css</stylesheetfile>
                                    <doctitle>Gephi ${project.version} API Index</doctitle>
                                    <subpackages>org.gephi.clustering.api:org.gephi.clustering.spi:org.gephi.data.attributes.api:org.gephi.data.attributes.spi:org.gephi.data.attributes.type:org.gephi.data.properties:org.gephi.datalab.api:org.gephi.datalab.spi:org.gephi.datalab.spi.columns:org.gephi.datalab.spi.columns.merge:org.gephi.datalab.spi.edges:org.gephi.datalab.spi.general:org.gephi.datalab.spi.nodes:org.gephi.datalab.spi.rows.merge:org.gephi.datalab.spi.values:org.gephi.dynamic.api:org.gephi.filters.api:org.gephi.filters.spi:org.gephi.graph.api:org.gephi.graph.spi:org.gephi.io.exporter.api:org.gephi.io.exporter.spi:org.gephi.io.generator.api:org.gephi.io.generator.spi:org.gephi.io.importer.api:org.gephi.io.importer.spi:org.gephi.io.processor.spi:org.gephi.layout.api:org.gephi.layout.spi:org.gephi.partition.api:org.gephi.partition.spi:org.gephi.perspective.api:org.gephi.perspective.spi:org.gephi.preview.api:org.gephi.preview.spi:org.gephi.preview.types:org.gephi.project.api:org.gephi.project.spi:org.gephi.ranking.api:org.gephi.ranking.spi:org.gephi.statistics.api:org.gephi.statistics.spi:org.gephi.timeline.api:org.gephi.tools.api:org.gephi.tools.spi:org.gephi.utils.longtask.api:org.gephi.utils.longtask.spi:org.gephi.utils.progress</subpackages>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
450
            
451 452 453 454 455 456 457 458 459 460 461 462 463
                    <!-- Sources plugin -->
                    <plugin>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals> 
                            </execution>
                        </executions>
                    </plugin>
M
Mathieu Bastian 已提交
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
                    
                    <!-- Assembler to produce final sources and javadoc artifacts -->
                    <plugin>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>assembly-javadoc-sources</id>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                                <phase>install</phase>
                            </execution>
                        </executions>
                        <configuration>
                            <tarLongFileMode>gnu</tarLongFileMode>
                            <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
                            <finalName>${project.name}-${project.version}</finalName>
                            <descriptors>
                                <descriptor>src/assemble/javadoc.xml</descriptor>
                                <descriptor>src/assemble/sources.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </plugin>
M
Mathieu Bastian 已提交
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507
                    
                    <!-- Upload the javadoc automatically -->
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>wagon-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>upload-jar-to-folder</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>upload</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <fromDir>${project.build.directory}/site/apidocs</fromDir>
                            <url>${gephi.snapshot.repository.url}</url>
                            <toDir>external/apidocs</toDir>
                            <serverId>${gephi.snapshot.repository.id}</serverId>
                        </configuration>
                    </plugin>
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
                </plugins>
            </build>
        </profile>
        
        <!-- Profile activated for windows/macos release only. Should be called alone so it only creates the windows installer/compressed dmg -->
        <profile>
            <id>release-extra</id>
            <build>
                <plugins>
                    <!-- Skip the standard deploy phase -->
                    <plugin>
                        <artifactId>maven-deploy-plugin</artifactId>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>
                    
                    <!-- Skip the standard install phase -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-install-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>default-install</id>
                                <phase>none</phase>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
M
Mathieu Bastian 已提交
540
                
541
    <!-- List of modules -->
M
Mathieu Bastian 已提交
542
    <modules>
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631
        <module>modules/branding</module>
        <module>modules/application</module>
        <module>modules/LongTaskAPI</module>
        <module>modules/AlgorithmsPlugin</module>
        <module>modules/AttributeColumnPropertyEditor</module>
        <module>modules/AttributesAPI</module>
        <module>modules/AttributesImpl</module>
        <module>modules/ClusteringAPI</module>
        <module>modules/ClusteringPlugin</module>
        <module>modules/CollectionUtils</module>
        <module>modules/DataLaboratoryAPI</module>
        <module>modules/DataLaboratoryPlugin</module>
        <module>modules/DBDrivers</module>
        <module>modules/DesktopBranding</module>
        <module>modules/DesktopClustering</module>
        <module>modules/DesktopContext</module>
        <module>modules/DesktopDataLaboratory</module>
        <module>modules/DesktopExport</module>
        <module>modules/DesktopFilters</module>
        <module>modules/DesktopGenerate</module>
        <module>modules/DesktopHierarchy</module>
        <module>modules/DesktopImport</module>
        <module>modules/DesktopLayout</module>
        <module>modules/DesktopPartition</module>
        <module>modules/DesktopPerspective</module>
        <module>modules/DesktopPreview</module>
        <module>modules/DesktopProgress</module>
        <module>modules/DesktopProject</module>
        <module>modules/DesktopRanking</module>
        <module>modules/DesktopRecentFiles</module>
        <module>modules/DesktopSpigot</module>
        <module>modules/DesktopStatistics</module>
        <module>modules/DesktopTimeline</module>
        <module>modules/DesktopTools</module>
        <module>modules/DHNSGraph</module>
        <module>modules/DirectoryChooser</module>
        <module>modules/DynamicAPI</module>
        <module>modules/DynamicImpl</module>
        <module>modules/ExportAPI</module>
        <module>modules/ExportPlugin</module>
        <module>modules/ExportPluginUI</module>
        <module>modules/FiltersAPI</module>
        <module>modules/FiltersImpl</module>
        <module>modules/FiltersPlugin</module>
        <module>modules/FiltersPluginUI</module>
        <module>modules/GeneratorAPI</module>
        <module>modules/GeneratorPlugin</module>
        <module>modules/GeneratorPluginUI</module>
        <module>modules/GraphAPI</module>
        <module>modules/ImportAPI</module>
        <module>modules/ImportPlugin</module>
        <module>modules/ImportPluginUI</module>
        <module>modules/LayoutAPI</module>
        <module>modules/LayoutPlugin</module>
        <module>modules/MostRecentFilesAPI</module>
        <module>modules/PartitionAPI</module>
        <module>modules/PartitionPlugin</module>
        <module>modules/PartitionPluginUI</module>
        <module>modules/PerspectiveAPI</module>
        <module>modules/PreviewAPI</module>
        <module>modules/PreviewExport</module>
        <module>modules/PreviewExportUI</module>
        <module>modules/PreviewPlugin</module>
        <module>modules/ProcessorPlugin</module>
        <module>modules/ProcessorPluginUI</module>
        <module>modules/ProjectAPI</module>
        <module>modules/ProjectUI</module>
        <module>modules/RankingAPI</module>
        <module>modules/RankingPlugin</module>
        <module>modules/RankingPluginUI</module>
        <module>modules/SettingsUpgrader</module>
        <module>modules/SpigotPlugin</module>
        <module>modules/SpigotPluginUI</module>
        <module>modules/SplineEditor</module>
        <module>modules/StatisticsAPI</module>
        <module>modules/StatisticsPlugin</module>
        <module>modules/StatisticsPluginUI</module>
        <module>modules/TimelineAPI</module>
        <module>modules/ToolsAPI</module>
        <module>modules/ToolsPlugin</module>
        <module>modules/UIComponents</module>
        <module>modules/UIUtils</module>
        <module>modules/Utils</module>
        <module>modules/ValidationAPI</module>
        <module>modules/VisualizationAPI</module>
        <module>modules/VisualizationImpl</module>
        <module>modules/WelcomeScreen</module>
        <module>modules/WorkspaceUI</module>
        <module>modules/Gleem</module>
M
Mathieu Bastian 已提交
632 633
    </modules>
</project>