Loading .gitignore 0 → 100644 +4 −0 Original line number Diff line number Diff line .* !.gitignore !.gitlab-ci.yml target .gitlab-ci.yml 0 → 100644 +24 −0 Original line number Diff line number Diff line stages: - build maven-build: stage: build image: redmic/maven-gitlab variables: MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" only: - branches cache: paths: - .m2/repository/ script: - mvn deploy -B - "COVERAGE=$(xmllint --html --xpath '//table[@id=\"coveragetable\"]/tfoot//td[@class=\"ctr2\"][1]/text()' target/site/jacoco/index.html)" - 'echo "Coverage: $COVERAGE"' after_script: - rm -r .m2/repository/es artifacts: name: "$CI_PROJECT_NAME" expire_in: '6 months' paths: - target/*.jar README.md 0 → 100644 +2 −0 Original line number Diff line number Diff line [](https://git.redmic.net/redmic-server/elasticsearch/commits/dev) [](https://git.redmic.net/redmic-server/elasticsearch/commits/dev) No newline at end of file pom.xml 0 → 100644 +103 −0 Original line number Diff line number Diff line <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"> <parent> <groupId>es.redmic.lib</groupId> <artifactId>libs</artifactId> <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>elasticsearch</artifactId> <packaging>jar</packaging> <name>ElasticSearch</name> <dependencies> <!-- redmic --> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>models</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>exceptions</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>utils</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <!-- SpringBoot --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <!-- Otros --> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>transport</artifactId> <version>${elasticsearch.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/org.locationtech.spatial4j/spatial4j --> <dependency> <groupId>org.locationtech.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.6</version> </dependency> <!-- De momento usa versión vieja por problemas con mapper de geo --> <dependency> <groupId>ma.glasnost.orika</groupId> <artifactId>orika-core</artifactId> <version>1.4.6</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <!-- tests --> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>${jsonassert.version}</version><!--$NO-MVN-MAN-VER$ --> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-reflect</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-support</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> </dependencies> </project> resources/data/dataType/biological/citation/citationSource.json 0 → 100644 +0 −0 Empty file added. Loading
.gitignore 0 → 100644 +4 −0 Original line number Diff line number Diff line .* !.gitignore !.gitlab-ci.yml target
.gitlab-ci.yml 0 → 100644 +24 −0 Original line number Diff line number Diff line stages: - build maven-build: stage: build image: redmic/maven-gitlab variables: MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" only: - branches cache: paths: - .m2/repository/ script: - mvn deploy -B - "COVERAGE=$(xmllint --html --xpath '//table[@id=\"coveragetable\"]/tfoot//td[@class=\"ctr2\"][1]/text()' target/site/jacoco/index.html)" - 'echo "Coverage: $COVERAGE"' after_script: - rm -r .m2/repository/es artifacts: name: "$CI_PROJECT_NAME" expire_in: '6 months' paths: - target/*.jar
README.md 0 → 100644 +2 −0 Original line number Diff line number Diff line [](https://git.redmic.net/redmic-server/elasticsearch/commits/dev) [](https://git.redmic.net/redmic-server/elasticsearch/commits/dev) No newline at end of file
pom.xml 0 → 100644 +103 −0 Original line number Diff line number Diff line <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"> <parent> <groupId>es.redmic.lib</groupId> <artifactId>libs</artifactId> <version>0.6.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>elasticsearch</artifactId> <packaging>jar</packaging> <name>ElasticSearch</name> <dependencies> <!-- redmic --> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>models</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>exceptions</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>es.redmic.lib</groupId> <artifactId>utils</artifactId> <version>${redmic.version}</version> <scope>provided</scope> </dependency> <!-- SpringBoot --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <!-- Otros --> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>transport</artifactId> <version>${elasticsearch.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/org.locationtech.spatial4j/spatial4j --> <dependency> <groupId>org.locationtech.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.6</version> </dependency> <!-- De momento usa versión vieja por problemas con mapper de geo --> <dependency> <groupId>ma.glasnost.orika</groupId> <artifactId>orika-core</artifactId> <version>1.4.6</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <!-- tests --> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>${jsonassert.version}</version><!--$NO-MVN-MAN-VER$ --> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-reflect</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-support</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> </dependencies> </project>