Loading .gitignore 0 → 100644 +8 −0 Original line number Diff line number Diff line .* !.gitignore !.gitlab-ci.yml !.dockerignore !.env target dist pom.xml.* .gitlab-ci.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line include: - project: 'redmic-project/gitlab-ci-templates' ref: master file: '/maven-building-library.yml' stages: - build maven-build: artifacts: paths: [] pom.xml 0 → 100644 +118 −0 Original line number Diff line number Diff line <?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> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>es.redmic</groupId> <artifactId>server-parent</artifactId> <version>0.0.1</version> <name>REDMIC project</name> <description>Parent pom of REDMIC server</description> <packaging>pom</packaging> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <java.version>1.8</java.version> <tomcat.version>8.5.28</tomcat.version> <licenseName>apache_v2</licenseName> <organizationName>REDMIC Project / Server</organizationName> <inceptionYear>2019</inceptionYear> <!-- Plugins --> <license.maven.plugin.version>1.19</license.maven.plugin.version> <jacoco.version>0.8.1</jacoco.version> </properties> <dependencies> <!-- Logs --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> </dependency> </dependencies> <repositories> <repository> <id>central</id> <name>libs-release</name> <url>https://artifactory.redmic.net/artifactory/libs-release</url> </repository> <repository> <id>snapshots</id> <name>libs-snapshot</name> <url>https://artifactory.redmic.net/artifactory/libs-snapshot</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${license.maven.plugin.version}</version> <configuration> <verbose>false</verbose> <licenseName>${licenseName}</licenseName> <organizationName>${organizationName}</organizationName> <inceptionYear>${inceptionYear}</inceptionYear> <roots> <root>src/main/java</root> <root>src/test/java</root> </roots> </configuration> <executions> <execution> <id>first</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <configuration> <haltOnFailure>false</haltOnFailure> </configuration> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> Loading
.gitignore 0 → 100644 +8 −0 Original line number Diff line number Diff line .* !.gitignore !.gitlab-ci.yml !.dockerignore !.env target dist pom.xml.*
.gitlab-ci.yml 0 → 100644 +11 −0 Original line number Diff line number Diff line include: - project: 'redmic-project/gitlab-ci-templates' ref: master file: '/maven-building-library.yml' stages: - build maven-build: artifacts: paths: []
pom.xml 0 → 100644 +118 −0 Original line number Diff line number Diff line <?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> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>es.redmic</groupId> <artifactId>server-parent</artifactId> <version>0.0.1</version> <name>REDMIC project</name> <description>Parent pom of REDMIC server</description> <packaging>pom</packaging> <licenses> <license> <name>Apache License 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <java.version>1.8</java.version> <tomcat.version>8.5.28</tomcat.version> <licenseName>apache_v2</licenseName> <organizationName>REDMIC Project / Server</organizationName> <inceptionYear>2019</inceptionYear> <!-- Plugins --> <license.maven.plugin.version>1.19</license.maven.plugin.version> <jacoco.version>0.8.1</jacoco.version> </properties> <dependencies> <!-- Logs --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> </dependency> </dependencies> <repositories> <repository> <id>central</id> <name>libs-release</name> <url>https://artifactory.redmic.net/artifactory/libs-release</url> </repository> <repository> <id>snapshots</id> <name>libs-snapshot</name> <url>https://artifactory.redmic.net/artifactory/libs-snapshot</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${license.maven.plugin.version}</version> <configuration> <verbose>false</verbose> <licenseName>${licenseName}</licenseName> <organizationName>${organizationName}</organizationName> <inceptionYear>${inceptionYear}</inceptionYear> <roots> <root>src/main/java</root> <root>src/test/java</root> </roots> </configuration> <executions> <execution> <id>first</id> <goals> <goal>update-file-header</goal> </goals> <phase>process-sources</phase> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <configuration> <haltOnFailure>false</haltOnFailure> </configuration> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>