Skip to content

Commit

Permalink
Merge pull request #58 from goxr3plus/Maven-Implementation
Browse files Browse the repository at this point in the history
Maven implementation
  • Loading branch information
badarshahzad authored Nov 9, 2017
2 parents 297e754 + 74aa29e commit beee226
Show file tree
Hide file tree
Showing 56 changed files with 342 additions and 184 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ nb-configuration.xml
release.properties
pom.xml.releaseBackup
pom.xml.tag
SEGP/History.db
44 changes: 22 additions & 22 deletions SEGP/.classpath
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="css"/>
<classpathentry kind="src" path="img"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="lib"/>
<classpathentry kind="lib" path="lib/jfoenix.jar"/>
<classpathentry kind="lib" path="lib/sqlite-jdbc-3.16.1.jar"/>
<classpathentry kind="lib" path="lib/UndecoratorBis.jar"/>
<classpathentry kind="lib" path="lib/controlsfx-8.40.11.jar"/>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/testFx-3.1.2.jar"/>
<classpathentry kind="lib" path="lib/itextpdf-5.5.1-javadoc.jar"/>
<classpathentry kind="lib" path="lib/itextpdf-5.5.1.jar"/>
<classpathentry kind="lib" path="lib/pdfcrowd.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/controlsfx-8.40.11.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/itextpdf-5.5.1.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/itextpdf-5.5.1-javadoc.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/jfoenix.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/pdfcrowd.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/sqlite-jdbc-3.16.1.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/testFx-3.1.2.jar"/>
<classpathentry kind="lib" path="/home/naeem/workspace/Jfx-Browser/SEGP/lib/UndecoratorBis.jar"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
14 changes: 13 additions & 1 deletion SEGP/.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Jfx Browser</name>
<name>Jfx-Browser</name>
<comment></comment>
<projects>
</projects>
Expand All @@ -15,9 +15,21 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>spartan.tipper</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>il.org.spartan.nature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions SEGP/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
Expand All @@ -8,4 +9,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
Binary file removed SEGP/Browser.png
Binary file not shown.
Binary file removed SEGP/img/bookMarks.png
Binary file not shown.
Binary file removed SEGP/img/screenshots/home.png
Binary file not shown.
Binary file removed SEGP/lib/UndecoratorBis.jar
Binary file not shown.
Binary file removed SEGP/lib/controlsfx-8.40.11.jar
Binary file not shown.
Binary file removed SEGP/lib/itextpdf-5.5.1-javadoc.jar
Binary file not shown.
Binary file removed SEGP/lib/itextpdf-5.5.1.jar
Binary file not shown.
Binary file removed SEGP/lib/jfoenix.jar
Binary file not shown.
Binary file removed SEGP/lib/pdfcrowd.jar
Binary file not shown.
Binary file removed SEGP/lib/sqlite-jdbc-3.16.1.jar
Binary file not shown.
Binary file removed SEGP/lib/testFx-3.1.2.jar
Binary file not shown.
150 changes: 150 additions & 0 deletions SEGP/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<?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>com.github.JFXBrowser</groupId>
<artifactId>Jfx-Browser</artifactId>
<version>1.0.0</version>
<name>Jfx-Browser</name>
<description>Advanced JavaFX Web Browser</description>

<!-- Output to jar format -->
<packaging>jar</packaging>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<finalName>JFX-Browser-${project.version}</finalName>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>resources</directory>
</resource>
</resources>
<!-- <testSourceDirectory>testing</testSourceDirectory> -->
<plugins>
<!--<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version> <executions> <execution> <id>attach-sources</id>
<goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> -->
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0-M1</version> <executions> <execution> <id>attach-javadocs</id>
<goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>

<!-- Make this jar executable -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>application.Main</mainClass>
<classpathPrefix>JFX-Browser_lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>

<!-- Copy project dependency -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!-- exclude junit, we need runtime dependency only -->
<excludeArtifactIds> junit </excludeArtifactIds>
<outputDirectory>${project.build.directory}/JFX-Browser_lib/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>jcenter</id>
<url>http://jcenter.bintray.com/</url>
</repository>
<repository>
<id>in-sidefx</id>
<url>https://dl.bintray.com/in-sidefx/maven/</url>
</repository>
</repositories>

<!-- Dependencies -->

<dependencies>
<!-- JAVAFX GRAPHICS LIBRARIES -->
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>8.40.14</version>
</dependency>
<dependency>
<groupId>com.jfoenix</groupId>
<artifactId>jfoenix</artifactId>
<version>1.9.1</version>
</dependency>

<!-- DATABASE DRIVERS -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.20.1</version>
</dependency>

<!-- ETC LIBRARIES -->
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.12</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.pdfcrowd/pdfcrowd -->
<dependency>
<groupId>com.pdfcrowd</groupId>
<artifactId>pdfcrowd</artifactId>
<version>4.0.1</version>
</dependency>


<!-- https://mvnrepository.com/artifact/org.loadui/testFx -->
<dependency>
<groupId>org.loadui</groupId>
<artifactId>testFx</artifactId>
<version>3.1.2</version>
<scope>test</scope>
</dependency>



</dependencies>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit beee226

Please sign in to comment.