Skip to content
Snippets Groups Projects
Commit cbbc1a86 authored by jez04's avatar jez04
Browse files

feat: :tada: initial commit

parent fc343158
No related merge requests found
Pipeline #2241 failed with stages
in 0 seconds
Showing
with 486 additions and 0 deletions
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.jezek</groupId>
<artifactId>vis-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>vis-java</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
</properties>
<dependencies>
<!--
https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.5.2</version>
<scope>test</scope>
</dependency>
<!--
https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.5.2</version>
<scope>test</scope>
</dependency>
<!--
https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-params -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.5.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<plugins>
<!-- clean lifecycle, see
https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see
https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>14</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see
https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<!-- Ignore/Execute plugin execution in Eclipse (error of m2e
eclipse plugin) -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<!-- copy-dependency plugin -->
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>common</module>
<module>domainLayer</module>
<module>dataLayerInterfaces</module>
<module>dataLayerDB</module>
<module>dataLayerOther</module>
<module>viewLayerJavaFX</module>
<module>viewLayerSpring</module>
<module>run-javaFX-DB</module>
<module>run-javaFX-OtherStorage</module>
<module>run-spring-DB</module>
<module>run-spring-OtherStorage</module>
</modules>
</project>
cd ..
mvn clean install
java --module-path ./run-javaFX-DB/target/libs:./run-javaFX-DB/target/run-javaFX-DB-0.0.1-SNAPSHOT.jar -m runJavaFXDB/org.run.javaFX.DB.App
\ No newline at end of file
#!/bin/bash
cd ..
mvn clean install
java --module-path ./run-javaFX-DB/target/libs:./run-javaFX-DB/target/run-javaFX-DB-0.0.1-SNAPSHOT.jar -m runJavaFXDB/org.run.javaFX.DB.App
<?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>
<artifactId>vis-java</artifactId>
<groupId>cz.jezek</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>run-javaFX-DB</artifactId>
<name>run-javaFX-DB</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
</properties>
<dependencies>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>viewLayerJavaFX</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>dataLayerDB</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/libs
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>
org.run.javaFX.DB.App
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
package cz.run.javaFX.DB;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
cz.viewLayerJavaFX.App.main(args);
}
}
module runJavaFXDB {
exports cz.run.javaFX.DB;
requires cz.jezek.viewLayerJavaFX;
requires domainLayer;
}
\ No newline at end of file
package cz.run.javaFX.DB;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
/**
* Unit test for simple App.
*/
public class AppTest {
/**
* Rigorous Test :-)
*/
@Test
public void getAllPersonsTest() {
assertTrue(true);
}
}
cd ..
mvn clean install
java --module-path ./run-javaFX-DB/target/libs:./run-javaFX-DB/target/run-javaFX-DB-0.0.1-SNAPSHOT.jar -m runJavaFXDB/org.run.javaFX.DB.App
\ No newline at end of file
#!/bin/bash
cd ..
mvn clean install
java --module-path ./run-javaFX-OtherStorage/target/libs:./run-javaFX-OtherStorage/target/run-javaFX-OtherStorage-0.0.1-SNAPSHOT.jar -m runJavaFXOtherStorage/org.run.javaFX.OtherStorage.App
<?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>
<artifactId>vis-java</artifactId>
<groupId>cz.jezek</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>run-javaFX-OtherStorage</artifactId>
<name>run-javaFX-OtherStorage</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
</properties>
<dependencies>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>viewLayerJavaFX</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>dataLayerOther</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/libs
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>
org.run.javaFX.OtherStorage.App
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
package cz.run.javaFX.OtherStorage;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
cz.viewLayerJavaFX.App.main(args);
}
}
module runJavaFXOtherStorage {
exports cz.run.javaFX.OtherStorage;
requires cz.jezek.viewLayerJavaFX;
requires domainLayer;
}
\ No newline at end of file
package cz.run.javaFX.DB;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
/**
* Unit test for simple App.
*/
public class AppTest {
/**
* Rigorous Test :-)
*/
@Test
public void getAllPersonsTest() {
assertTrue(true);
}
}
cd ..
mvn clean install
java -jar run-spring-DB/target/run-spring-DB-0.0.1-SNAPSHOT.jar
#!/bin/bash
cd ..
mvn clean install
java -jar run-spring-DB/target/run-spring-DB-0.0.1-SNAPSHOT.jar
<?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>
<artifactId>vis-java</artifactId>
<groupId>cz.jezek</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>run-spring-DB</artifactId>
<name>run-spring-DB</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
</properties>
<dependencies>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>dataLayerDB</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cz.jezek</groupId>
<artifactId>viewLayerSpring</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/libs
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>
cz.run.spring.DB.App
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
package cz.run.spring.DB;
import cz.jezek.demospring.DemoSpringApplication;
/**
* Hello world!
*
*/
public class App {
public static void main(String[] args) {
DemoSpringApplication.main(args);
}
}
package cz.run.javaFX.DB;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
/**
* Unit test for simple App.
*/
public class AppTest {
/**
* Rigorous Test :-)
*/
@Test
public void getAllPersonsTest() {
assertTrue(true);
}
}
cd ..
mvn clean install
java -jar run-spring-OtherStorage/target/run-spring-OtherStorage-0.0.1-SNAPSHOT.jar
#!/bin/bash
cd ..
mvn clean install
java -jar run-spring-OtherStorage/target/run-spring-OtherStorage-0.0.1-SNAPSHOT.jar
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment