Skip to content

Commit 20e4974

Browse files
Adicionado projeto ao docker. - Adicionado ambiente para o solr. - Alterado goal de execução do plugin de build do spring-boot para repackage
1 parent 3b14c84 commit 20e4974

File tree

171 files changed

+24045
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+24045
-15
lines changed

testeSantanderWay/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM openjdk:8-jdk-alpine
2+
LABEL maintainer="[email protected]"
3+
VOLUME /tmp
4+
COPY target/app-1.0.0.jar /app.jar
5+
COPY target/classes/solr-cores /solr-cores
6+
RUN apk --update add zip
7+
RUN apk --update add bash
8+
RUN wget https://archive.apache.org/dist/lucene/solr/8.1.1/solr-8.1.1.zip
9+
RUN unzip solr-8.1.1.zip
10+
RUN cp -R ./solr-cores/* solr-8.1.1/server/solr/
11+
RUN bash /solr-8.1.1/bin/solr start -p 8983 -force
12+
EXPOSE 8080 8983
13+
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

testeSantanderWay/pom.xml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</parent>
1212

1313
<groupId>br.com.testesantanderway</groupId>
14-
<artifactId>testeSantanderWay</artifactId>
15-
<version>0.0.1-SNAPSHOT</version>
16-
<packaging>war</packaging>
14+
<artifactId>app</artifactId>
15+
<version>1.0.0</version>
16+
<packaging>jar</packaging>
1717
<name>testeSantanderWay</name>
1818
<description>Demo project for Spring Boot</description>
1919

@@ -134,23 +134,18 @@
134134

135135
</dependencies>
136136

137-
<dependencyManagement>
138-
<dependencies>
139-
<dependency>
140-
<groupId>org.springframework.cloud</groupId>
141-
<artifactId>spring-cloud-dependencies</artifactId>
142-
<version>${spring-cloud.version}</version>
143-
<type>pom</type>
144-
<scope>import</scope>
145-
</dependency>
146-
</dependencies>
147-
</dependencyManagement>
148-
149137
<build>
150138
<plugins>
151139
<plugin>
152140
<groupId>org.springframework.boot</groupId>
153141
<artifactId>spring-boot-maven-plugin</artifactId>
142+
<executions>
143+
<execution>
144+
<goals>
145+
<goal>repackage</goal>
146+
</goals>
147+
</execution>
148+
</executions>
154149
</plugin>
155150
<plugin>
156151
<groupId>org.apache.maven.plugins</groupId>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Set of Catalan contractions for ElisionFilter
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
d
4+
l
5+
m
6+
n
7+
s
8+
t
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Set of French contractions for ElisionFilter
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
l
4+
m
5+
t
6+
qu
7+
n
8+
s
9+
j
10+
d
11+
c
12+
jusqu
13+
quoiqu
14+
lorsqu
15+
puisqu
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set of Irish contractions for ElisionFilter
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
d
4+
m
5+
b
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Set of Italian contractions for ElisionFilter
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
c
4+
l
5+
all
6+
dall
7+
dell
8+
nell
9+
sull
10+
coll
11+
pell
12+
gl
13+
agl
14+
dagl
15+
degl
16+
negl
17+
sugl
18+
un
19+
m
20+
t
21+
s
22+
v
23+
d
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set of Irish hyphenations for StopFilter
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
h
4+
n
5+
t
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Set of overrides for the dutch stemmer
2+
# TODO: load this as a resource from the analyzer and sync it in build.xml
3+
fiets fiets
4+
bromfiets bromfiets
5+
ei eier
6+
kind kinder

0 commit comments

Comments
 (0)