Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d94ce19
Showing
3 changed files
with
344 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
target/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
<?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-plugin-parent</artifactId> | ||
<version>0.9-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>gephi-plugins-parent</name> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<gephi.version>0.9-SNAPSHOT</gephi.version> | ||
<netbeans.version>RELEASE81</netbeans.version> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>oss-sonatype</id> | ||
<name>oss-sonatype</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
<repository> | ||
<id>netbeans</id> | ||
<name>NetBeans</name> | ||
<url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>project-api</artifactId> | ||
<version>${gephi.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-dialogs</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-filesystems</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-util</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-util-ui</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-util-lookup</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-windows</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-modules</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-sendopts</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-api-progress</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-api-progress-nb</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-nodes</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-awt</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-settings</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-options-api</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-swing-outline</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-explorer</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-api-annotations-common</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-swing-tabcontrol</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-openide-io</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.modules</groupId> | ||
<artifactId>org-netbeans-core-output2</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-nbjunit</artifactId> | ||
<version>${netbeans.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<version>3.14</version> | ||
<configuration> | ||
<cluster>plugins</cluster> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> <!-- required since nbm-plugin 3.0--> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.5</version> | ||
<configuration> | ||
<useDefaultManifestFile>true</useDefaultManifestFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
<?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-plugins</artifactId> | ||
<version>0.9-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>gephi-plugins</name> | ||
|
||
<!-- List of modules --> | ||
<modules> | ||
<!-- Add here the paths of all modules (e.g. <module>modules/MyModule</module> --> | ||
</modules> | ||
|
||
<!-- Properties --> | ||
<properties> | ||
<!-- Version of Gephi building plugins against. Plugins with anterior versions will be ignored --> | ||
<gephi.version>0.9-SNAPSHOT</gephi.version> | ||
<clusters.path>${project.build.directory}/plugins_clusters</clusters.path> | ||
</properties> | ||
|
||
<!-- Repositories --> | ||
<repositories> | ||
<repository> | ||
<id>oss-sonatype</id> | ||
<name>oss-sonatype</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<!-- Dependencies --> | ||
<dependencies> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>gephi</artifactId> | ||
<version>${gephi.version}</version> | ||
<classifier>linux</classifier> | ||
<type>tar.gz</type> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<!-- Plugins installed with versions --> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>2.10</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<version>3.14</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.gephi</groupId> | ||
<artifactId>gephi-maven-plugin</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<configuration> | ||
<gephiDirectory>${project.build.directory}/gephi-${gephi.version}</gephiDirectory> | ||
<clusters> | ||
<cluster>${clusters.path}/plugins</cluster> | ||
</clusters> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
|
||
<!-- Plugins --> | ||
<plugins> | ||
<!-- Configure gephi-maven-plugin --> | ||
<plugin> | ||
<groupId>org.gephi</groupId> | ||
<artifactId>gephi-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>validate-plugin</id> | ||
<goals> | ||
<goal>validate</goal> | ||
</goals> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- Unpack the localization dependency --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>unpack</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>unpack-dependencies</goal> | ||
</goals> | ||
<configuration> | ||
<includeGroupIds>${project.groupId}</includeGroupIds> | ||
<includeArtifactIds>gephi</includeArtifactIds> | ||
<outputDirectory> | ||
${project.build.directory} | ||
</outputDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- NBM Plugin --> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<configuration> | ||
<nbmBuildDir>${clusters.path}</nbmBuildDir> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>cluster</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<!-- Custom profile only used to build and package all modules at once --> | ||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<!-- Build metadata --> | ||
<plugin> | ||
<groupId>org.gephi</groupId> | ||
<artifactId>gephi-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>create-autoupdate</id> | ||
<goals> | ||
<goal>create-autoupdate</goal> | ||
</goals> | ||
<phase>package</phase> | ||
</execution> | ||
<execution> | ||
<id>build-metadata</id> | ||
<goals> | ||
<goal>build-metadata</goal> | ||
</goals> | ||
<phase>package</phase> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/site/plugins/</outputDirectory> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> | ||
|