| <!--Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| license agreements. See the NOTICE file distributed with this work for additional |
| information regarding copyright ownership. The ASF licenses this file to |
| you under the Apache License, Version 2.0 (theĆ "License"); you may not use |
| this file except in compliance with the License. You may obtain a copy of |
| the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| by applicable law or agreed to in writing, software distributed under the |
| License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| OF ANY ~ KIND, either express or implied. See the License for the specific |
| language governing permissions and limitations under the License. --> |
| <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.airavata </groupId> |
| <artifactId>xbaya</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>xbaya</name> |
| <url>http://maven.apache.org</url> |
| <properties> |
| <!-- Airavata version--> |
| <airavata.version>0.16-SNAPSHOT</airavata.version> |
| |
| |
| <!-- Optional parameters to the application, will be embedded in the launcher and can be overriden on the command line --> |
| <app.parameters></app.parameters> |
| |
| |
| <!-- The Application version used by javapackager --> |
| <app.version>1.0</app.version> |
| |
| |
| <!-- The app and launcher will be assembled in this folder --> |
| <app.dir>${project.build.directory}/app</app.dir> |
| |
| <!-- Native installers will be built in this folder --> |
| <app.installerdir>${project.build.directory}/installer</app.installerdir> |
| |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <profiles> |
| <profile> |
| <id>default</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>update-deployment</id> |
| <build> |
| <plugins> |
| <!-- Compile project jar to appdir --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <outputDirectory>${app.dir}</outputDirectory> |
| </configuration> |
| </plugin> |
| <!-- Copy dependencies to appdir --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.10</version> |
| <configuration> |
| <excludeScope>provided</excludeScope> |
| <outputDirectory>${app.dir}</outputDirectory> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.4.0</version> |
| <!-- Generate app.xml manifest --> |
| <executions> |
| <execution> |
| <id>create-manifest</id> |
| <phase>package</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| <configuration> |
| <mainClass>fxlauncher.CreateManifest</mainClass> |
| <arguments> |
| <argument>${app.url}</argument> |
| <argument>${app.mainClass}</argument> |
| <argument>${app.dir}</argument> |
| <argument>${app.parameters}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <!-- Embed app.xml inside fxlauncher.xml so we don't need to reference app.xml to start the app --> |
| <execution> |
| <id>embed-manifest-in-launcher</id> |
| <phase>package</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>jar</executable> |
| <workingDirectory>${app.dir}</workingDirectory> |
| <arguments> |
| <argument>uf</argument> |
| <argument>fxlauncher.jar</argument> |
| <argument>app.xml</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <!-- Create native installer. Feel free to add more arguments as needed. |
| https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javapackager.html |
| --> |
| <execution> |
| <id>installer</id> |
| <phase>install</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>${env.JAVA_HOME}/bin/javapackager</executable> |
| <arguments> |
| <argument>-deploy</argument> |
| <argument>-native</argument> |
| <argument>-outdir</argument> |
| <argument>${app.installerdir}</argument> |
| <argument>-outfile</argument> |
| <argument>${app.filename}</argument> |
| <argument>-srcdir</argument> |
| <argument>${app.dir}</argument> |
| <argument>-srcfiles</argument> |
| <argument>fxlauncher.jar</argument> |
| <argument>-appclass</argument> |
| <argument>fxlauncher.Launcher</argument> |
| <argument>-name</argument> |
| <argument>${project.name}</argument> |
| <argument>-title</argument> |
| <argument>${project.name}</argument> |
| <argument>-vendor</argument> |
| <argument>${app.vendor}</argument> |
| <argument>-BappVersion=${app.version}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <!-- Copy application artifacts to remote site using scp (optional) --> |
| <execution> |
| <id>deploy-app</id> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>scp</executable> |
| <arguments> |
| <argument>-r</argument> |
| <argument>${app.dir}/.</argument> |
| <argument>${app.deploy.target}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| |
| <dependencies> |
| <!--FX Launcher--> |
| <dependency> |
| <groupId>no.tornado</groupId> |
| <artifactId>fxlauncher</artifactId> |
| <version>1.0.8</version> |
| </dependency> |
| |
| <!-- Airavata Dependencies--> |
| <dependency> |
| <groupId>org.apache.airavata</groupId> |
| <artifactId>airavata-data-models</artifactId> |
| <version>${airavata.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.airavata</groupId> |
| <artifactId>airavata-model-utils</artifactId> |
| <version>${airavata.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.airavata</groupId> |
| <artifactId>airavata-api-stubs</artifactId> |
| <version>${airavata.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.airavata</groupId> |
| <artifactId>airavata-client-configuration</artifactId> |
| <version>${airavata.version}</version> |
| </dependency> |
| |
| <!-- UI Dialogs--> |
| <dependency> |
| <groupId>org.controlsfx</groupId> |
| <artifactId>controlsfx</artifactId> |
| <version>8.40.10</version> |
| </dependency> |
| |
| <!--OAuth Dependencies--> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>1.8.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oltu.oauth2</groupId> |
| <artifactId>org.apache.oltu.oauth2.client</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| |
| |
| <!-- Apache Commons --> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| |
| <!-- JSch Dependency--> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.53</version> |
| </dependency> |
| |
| |
| <!-- Google Guava --> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>18.0</version> |
| </dependency> |
| |
| <!--Jogl dependencies for legacy GAMESS editor--> |
| <dependency> |
| <groupId>org.jogamp.gluegen</groupId> |
| <artifactId>gluegen-rt-main</artifactId> |
| <version>2.0-rc11</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jogamp.jogl</groupId> |
| <artifactId>jogl-all-main</artifactId> |
| <version>2.0-rc11</version> |
| </dependency> |
| |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.16</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <repositories> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Snapshot Repository</name> |
| <url>http://repository.apache.org/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| </project> |