Skip to content
Permalink
Browse files
Migrated from personal repository
  • Loading branch information
Tomasz Prabucki committed Apr 28, 2021
1 parent 70fe329 commit 4729a6b5958a34a3d159dbfbd0d985994fb91289
Show file tree
Hide file tree
Showing 195 changed files with 14,778 additions and 0 deletions.
352 pom.xml
@@ -0,0 +1,352 @@
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.prabuckt.application</groupId>
<artifactId>vegancakes</artifactId>
<version>8.0</version>
<name>Vegan Cakes store</name>
<packaging>war</packaging>

<properties>
<version.javaee>8.0</version.javaee>
<version.jboss-javaee>1.0.4.Final</version.jboss-javaee>
<version.log4j>2.8.2</version.log4j>
<!-- Test -->
<version.junit>4.12</version.junit>
<version.arquillian>1.1.15.2</version.arquillian>
<version.arquillian.wildfly>4.0.0.Alpha1</version.arquillian.wildfly>
<version.shrinkwrap>1.2.6</version.shrinkwrap>
<version.arquillian.rest>1.0.0.Alpha4</version.arquillian.rest>
<version.resteasy>3.1.4.Final</version.resteasy>
<version.derby>10.10.1.1</version.derby>
<version.equalsverifier>1.7.8</version.equalsverifier>
<!-- App servers -->
<version.wildfly>11.0.0.Final</version.wildfly>
<!-- UI (WebJar, Bootstrap, JQuery...) -->
<version.bootstrap>3.4.1</version.bootstrap>
<version.jquery>3.6.0</version.jquery>
<version.primefaces>10.0.0</version.primefaces>
<version.primefaces-themes>1.0.10</version.primefaces-themes>
<version.fontawesome>4.7.0</version.fontawesome>
<!-- Other -->
<version.swagger>1.5.17</version.swagger>
<!--Maven Plugins & co-->
<version.maven.war.plugin>3.3.1</version.maven.war.plugin>
<version.maven.compiler.plugin>3.1</version.maven.compiler.plugin>
<version.maven.dependency.plugin>2.10</version.maven.dependency.plugin>
<version.maven.surefire.plugin>2.19.1</version.maven.surefire.plugin>
<version.maven.failsafe.plugin>2.19.1</version.maven.failsafe.plugin>
<version.swagger.plugin>3.1.6</version.swagger.plugin>
<!-- Project -->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.arquillian</groupId>
<artifactId>arquillian-universe</artifactId>
<version>${version.arquillian}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${version.log4j}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>${version.bootstrap}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>${version.jquery}</version>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>${version.primefaces}</version>
</dependency>
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>all-themes</artifactId>
<version>${version.primefaces-themes}</version>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>fontawesome</artifactId>
<version>${version.fontawesome}</version>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-8.0</artifactId>
<version>${version.jboss-javaee}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>${version.resteasy}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
<version>${version.equalsverifier}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${version.swagger}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
</dependency>
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>all-themes</artifactId>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>fontawesome</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-8.0</artifactId>
<type>pom</type>
<scope>provided</scope>
</dependency>
<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
<artifactId>equalsverifier</artifactId>
</dependency>
<dependency>
<groupId>org.arquillian.universe</groupId>
<artifactId>arquillian-junit</artifactId>
<scope>test</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-api</artifactId>
<version>${version.shrinkwrap}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-rest-client-api</artifactId>
<version>${version.arquillian.rest}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-rest-client-impl-3x</artifactId>
<version>${version.arquillian.rest}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson-provider</artifactId>
<version>${version.resteasy}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<finalName>applicationVegancakes</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${version.maven.war.plugin}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>${version.swagger.plugin}</version>
<configuration>
<apiSources>
<apiSource>
<springmvc>false</springmvc>
<locations>org.prabuckt.application.vegancakes.rest</locations>
<schemes>http,https</schemes>
<host>localhost:8080</host>
<basePath>/applicationVegancakes/rest</basePath>
<outputFormats>json</outputFormats>
<info>
<title>Vegancakes APIs</title>
<version>1.0.0</version>
<description>VeganCakes APIs exposed</description>
<contact>
<email>prabuckt@uni.coventry.ac.uk</email>
<name>Tomasz Prabucki</name>
<url>https://tprabucki.netlify.com/</url>
</contact>
</info>
<swaggerDirectory>${basedir}/src/main/webapp</swaggerDirectory>
<attachSwaggerArtifact>true</attachSwaggerArtifact>
</apiSource>
</apiSources>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-hibernate-validations</artifactId>
<version>${version.swagger}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>arquillian-wildfly-remote</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven.surefire.plugin}</version>
<configuration>
<systemPropertyVariables>
<arquillian.launch>arquillian-wildfly-remote</arquillian.launch>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-remote</artifactId>
<version>${version.arquillian.wildfly}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

<profile>
<id>arquillian-wildfly-managed</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${version.maven.dependency.plugin}</version>
<executions>
<execution>
<id>unpack</id>
<phase>process-test-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>${version.wildfly}</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven.surefire.plugin}</version>
<configuration>
<skipTests>false</skipTests>
<systemPropertyVariables>
<arquillian.launch>arquillian-wildfly-managed</arquillian.launch>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${version.arquillian.wildfly}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>


<repositories>
<repository>
<id>central</id>
<name>Maven Central</name>
<layout>default</layout>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>jboss</id>
<name>Jboss</name>
<layout>default</layout>
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
</repository>
<repository>
<id>primefaces</id>
<url>https://repository.primefaces.org/</url>
</repository>
</repositories>

</project>
@@ -0,0 +1,6 @@
version: '2'
services:
sponsor-postgresql:
image: postgres:9.6.5
ports:
- 5432:5432

0 comments on commit 4729a6b

Please sign in to comment.