Skip to content
Snippets Groups Projects
Commit ecebd15a authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Initial mavenized project structure

parent 17f5495d
No related branches found
No related tags found
No related merge requests found
Showing
with 313 additions and 0 deletions
**/target
<?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>
<parent>
<groupId>cz.findetis</groupId>
<artifactId>FIDENTIS-Analyst-parent</artifactId>
<version>2.0</version>
</parent>
<artifactId>MeshModel</artifactId>
<packaging>nbm</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<useOSGiDependencies>true</useOSGiDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-api-annotations-common</artifactId>
<version>${netbeans.version}</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
\ No newline at end of file
Manifest-Version: 1.0
OpenIDE-Module-Localizing-Bundle: cz/findetis/analyst/Bundle.properties
#Localized module labels. Defaults taken from POM (<name>, <description>, <groupId>) if unset.
#OpenIDE-Module-Name=
#OpenIDE-Module-Short-Description=
#OpenIDE-Module-Long-Description=
#OpenIDE-Module-Display-Category=
#Mon May 20 20:10:00 CEST 2019
<?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>
<parent>
<groupId>cz.findetis</groupId>
<artifactId>FIDENTIS-Analyst-parent</artifactId>
<version>2.0</version>
</parent>
<artifactId>FIDENTIS-Analyst-app</artifactId>
<packaging>nbm-application</packaging>
<name>application</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<all.clusters>${project.build.directory}/${brandingToken}</all.clusters>
</properties>
<dependencies>
<dependency>
<groupId>org.netbeans.cluster</groupId>
<artifactId>platform</artifactId>
<version>${netbeans.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>FIDENTIS-Analyst-branding</artifactId>
<version>${project.version}</version>
</dependency>
<!-- NbModuleSuite functional in RELEASE70 or later: -->
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-nbjunit</artifactId>
<version>${netbeans.version}</version>
<scope>test</scope> <!-- beyond platform cluster, this often needs to be dropped down to compile/runtime, some other modules in IDE clusters depend on it -->
</dependency>
<!-- To use Jelly Tools in your functional tests, add or replace with:
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-jellytools-platform</artifactId>
<version>${netbeans.version}</version>
<scope>test</scope>
</dependency>
-->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>MeshModel</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
</plugin>
<!-- Permits NbModuleSuite to be run in integration-test phase: -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.2</version>
<configuration>
<systemPropertyVariables>
<all.clusters>${all.clusters}</all.clusters>
<branding.token>${brandingToken}</branding.token>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>deployment</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<executions>
<execution>
<id>extra</id>
<goals>
<goal>autoupdate</goal>
<goal>webstart-app</goal>
<goal>build-installers</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
package cz.findetis.analyst;
import java.util.logging.Level;
import junit.framework.Test;
import org.netbeans.junit.NbModuleSuite;
import org.netbeans.junit.NbTestCase;
public class ApplicationTest extends NbTestCase {
public static Test suite() {
return NbModuleSuite.createConfiguration(ApplicationTest.class).
gui(false).
failOnMessage(Level.WARNING). // works at least in RELEASE71
failOnException(Level.INFO).
enableClasspathModules(false).
clusters(".*").
suite(); // RELEASE71+, else use NbModuleSuite.create(NbModuleSuite.createConfiguration(...))
}
public ApplicationTest(String n) {
super(n);
}
public void testApplication() {
// pass if there are merely no warnings/exceptions
/* Example of using Jelly Tools (additional test dependencies required) with gui(true):
new ActionNoBlock("Help|About", null).performMenu();
new NbDialogOperator("About").closeByButton();
*/
}
}
<?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>
<parent>
<groupId>cz.findetis</groupId>
<artifactId>FIDENTIS-Analyst-parent</artifactId>
<version>2.0</version>
</parent>
<artifactId>FIDENTIS-Analyst-branding</artifactId>
<packaging>nbm</packaging>
<name>branding</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-api-annotations-common</artifactId>
<version>${netbeans.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<!-- to have the jar plugin pickup the nbm generated manifest -->
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</build>
</project>
currentVersion=FIDENTIS-Analyst {0}
LBL_splash_window_title=Starting FIDENTIS-Analyst
SPLASH_HEIGHT=350
SPLASH_WIDTH=500
SplashProgressBarBounds=0,335,500,15
SplashProgressBarColor=0x9F9F
SplashRunningTextBounds=7,320,491,13
SplashRunningTextFontSize=13
branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame.gif

295 B

branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame32.gif

686 B

branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/frame48.gif

1.03 KiB

branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/splash.gif

4.68 KiB

CTL_MainWindow_Title=FIDENTIS-Analyst {0}
CTL_MainWindow_Title_No_Project=FIDENTIS-Analyst {0}
LBL_ProductInformation=FIDENTIS-Analyst
Manifest-Version: 1.0
OpenIDE-Module-Localizing-Bundle: cz/findetis/analyst/branding/Bundle.properties
AutoUpdate-Essential-Module: true
# Localized module labels. Defaults taken from POM (<name>, <description>, <groupId>) if unset.
#OpenIDE-Module-Name=
#OpenIDE-Module-Short-Description=
#OpenIDE-Module-Long-Description=
#OpenIDE-Module-Display-Category=
pom.xml 0 → 100644
<?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>cz.findetis</groupId>
<artifactId>FIDENTIS-Analyst-parent</artifactId>
<version>2.0</version>
<packaging>pom</packaging>
<name>FIDENTIS-Analyst-2</name>
<repositories>
<!--
Repository hosting NetBeans modules, especially APIs.
Versions are based on IDE releases, e.g.: RELEASE691
To create your own repository, use: nbm:populate-repository
-->
<repository>
<id>netbeans</id>
<name>NetBeans</name>
<url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<version>4.1</version>
<extensions>true</extensions>
<configuration>
<brandingToken>${brandingToken}</brandingToken>
<cluster>${brandingToken}</cluster>
<useOSGiDependencies>true</useOSGiDependencies>
</configuration>
</plugin>
<plugin>
<!-- NetBeans 6.9+ requires JDK 6, starting NetBeans 7.4 source 1.7 is required -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>branding</module>
<module>application</module>
<module>MeshModel</module>
</modules>
<properties>
<netbeans.version>RELEASE82</netbeans.version>
<brandingToken>fidentisanalyst</brandingToken>
</properties>
</project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment