Changed project structure, created docker-compose.yml for run all applications in one command.
This commit is contained in:
		
							
								
								
									
										140
									
								
								backend/xslt-rest/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										140
									
								
								backend/xslt-rest/pom.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,140 @@
 | 
			
		||||
<?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.r11.tools</groupId>
 | 
			
		||||
  <artifactId>xslt-rest</artifactId>
 | 
			
		||||
  <version>1.0-SNAPSHOT</version>
 | 
			
		||||
 | 
			
		||||
  <properties>
 | 
			
		||||
    <maven.compiler.source>11</maven.compiler.source>
 | 
			
		||||
    <maven.compiler.target>11</maven.compiler.target>
 | 
			
		||||
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
    <jackson.version>2.14.1</jackson.version>
 | 
			
		||||
    <slf4j.version>2.0.6</slf4j.version>
 | 
			
		||||
  </properties>
 | 
			
		||||
 | 
			
		||||
  <build>
 | 
			
		||||
    <plugins>
 | 
			
		||||
      <!--            <plugin>-->
 | 
			
		||||
      <!--                <artifactId>maven-jar-plugin</artifactId>-->
 | 
			
		||||
      <!--                <version>3.1.0</version>-->
 | 
			
		||||
      <!--                <configuration>-->
 | 
			
		||||
      <!--                    <archive>-->
 | 
			
		||||
      <!--                        <manifest>-->
 | 
			
		||||
      <!--                            <addClasspath>true</addClasspath>-->
 | 
			
		||||
      <!--                            <classpathPrefix>lib/</classpathPrefix>-->
 | 
			
		||||
      <!--                            <mainClass>com.r11.tools.xslt.Main</mainClass>-->
 | 
			
		||||
      <!--                        </manifest>-->
 | 
			
		||||
      <!--                    </archive>-->
 | 
			
		||||
      <!--                </configuration>-->
 | 
			
		||||
      <!--            </plugin>-->
 | 
			
		||||
 | 
			
		||||
      <plugin>
 | 
			
		||||
        <artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
        <version>3.8.1</version>
 | 
			
		||||
        <configuration>
 | 
			
		||||
          <source>1.8</source>
 | 
			
		||||
          <target>1.8</target>
 | 
			
		||||
        </configuration>
 | 
			
		||||
      </plugin>
 | 
			
		||||
 | 
			
		||||
      <plugin>
 | 
			
		||||
        <artifactId>maven-assembly-plugin</artifactId>
 | 
			
		||||
        <version>3.3.0</version>
 | 
			
		||||
 | 
			
		||||
        <configuration>
 | 
			
		||||
          <archive>
 | 
			
		||||
            <manifest>
 | 
			
		||||
              <addClasspath>true</addClasspath>
 | 
			
		||||
              <classpathPrefix>lib/</classpathPrefix>
 | 
			
		||||
              <mainClass>com.r11.tools.xslt.Main</mainClass>
 | 
			
		||||
            </manifest>
 | 
			
		||||
          </archive>
 | 
			
		||||
          <descriptorRefs>
 | 
			
		||||
            <descriptorRef>jar-with-dependencies</descriptorRef>
 | 
			
		||||
          </descriptorRefs>
 | 
			
		||||
        </configuration>
 | 
			
		||||
 | 
			
		||||
        <executions>
 | 
			
		||||
          <execution>
 | 
			
		||||
            <id>make-assembly</id>
 | 
			
		||||
            <phase>package</phase>
 | 
			
		||||
            <goals>
 | 
			
		||||
              <goal>single</goal>
 | 
			
		||||
            </goals>
 | 
			
		||||
          </execution>
 | 
			
		||||
        </executions>
 | 
			
		||||
 | 
			
		||||
      </plugin>
 | 
			
		||||
    </plugins>
 | 
			
		||||
  </build>
 | 
			
		||||
 | 
			
		||||
  <dependencies>
 | 
			
		||||
    <!--   Spark    -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.sparkjava</groupId>
 | 
			
		||||
      <artifactId>spark-core</artifactId>
 | 
			
		||||
      <version>2.9.3</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!--    JSON    -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.fasterxml.jackson.core</groupId>
 | 
			
		||||
      <artifactId>jackson-core</artifactId>
 | 
			
		||||
      <version>${jackson.version}</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>com.fasterxml.jackson.core</groupId>
 | 
			
		||||
      <artifactId>jackson-databind</artifactId>
 | 
			
		||||
      <version>${jackson.version}</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!--    XSLT    -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>net.sf.saxon</groupId>
 | 
			
		||||
      <artifactId>Saxon-HE</artifactId>
 | 
			
		||||
      <version>11.4</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>xalan</groupId>
 | 
			
		||||
      <artifactId>xalan</artifactId>
 | 
			
		||||
      <version>2.7.2</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <!-- Logging -->
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.slf4j</groupId>
 | 
			
		||||
      <artifactId>slf4j-simple</artifactId>
 | 
			
		||||
      <version>${slf4j.version}</version>
 | 
			
		||||
      <scope>test</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.slf4j</groupId>
 | 
			
		||||
      <artifactId>jcl-over-slf4j</artifactId>
 | 
			
		||||
      <version>${slf4j.version}</version>
 | 
			
		||||
      <scope>runtime</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.slf4j</groupId>
 | 
			
		||||
      <artifactId>slf4j-api</artifactId>
 | 
			
		||||
      <version>${slf4j.version}</version>
 | 
			
		||||
      <scope>runtime</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.slf4j</groupId>
 | 
			
		||||
      <artifactId>slf4j-log4j12</artifactId>
 | 
			
		||||
      <version>${slf4j.version}</version>
 | 
			
		||||
      <scope>runtime</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.logging.log4j</groupId>
 | 
			
		||||
      <artifactId>log4j-core</artifactId>
 | 
			
		||||
      <version>2.19.0</version>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
  </dependencies>
 | 
			
		||||
</project>
 | 
			
		||||
		Reference in New Issue
	
	Block a user