Commit fb4a12ef35c9f71368505fc6efd7f2208c2c561f
1 parent
f1d4e972
Exists in
master
and in
1 other branch
Remove config.properties
Arquivo deixou de ser necessário, o número da versão agora é carregado diretamente do pom.xml.
Showing
3 changed files
with
7 additions
and
9 deletions
Show diff stats
pom.xml
@@ -14,6 +14,12 @@ | @@ -14,6 +14,12 @@ | ||
14 | </properties> | 14 | </properties> |
15 | 15 | ||
16 | <build> | 16 | <build> |
17 | + <resources> | ||
18 | + <resource> | ||
19 | + <directory>src/main/resources</directory> | ||
20 | + <filtering>true</filtering> | ||
21 | + </resource> | ||
22 | + </resources> | ||
17 | <plugins> | 23 | <plugins> |
18 | <plugin> | 24 | <plugin> |
19 | <groupId>org.apache.maven.plugins</groupId> | 25 | <groupId>org.apache.maven.plugins</groupId> |
@@ -84,12 +90,6 @@ | @@ -84,12 +90,6 @@ | ||
84 | </executions> | 90 | </executions> |
85 | </plugin> | 91 | </plugin> |
86 | </plugins> | 92 | </plugins> |
87 | - <resources> | ||
88 | - <resource> | ||
89 | - <directory>src/main/resources</directory> | ||
90 | - <filtering>true</filtering> | ||
91 | - </resource> | ||
92 | - </resources> | ||
93 | </build> | 93 | </build> |
94 | 94 | ||
95 | <dependencies> | 95 | <dependencies> |
src/main/java/br/gov/ans/integracao/sei/rest/InfoResource.java
@@ -18,7 +18,6 @@ import javax.ws.rs.core.MediaType; | @@ -18,7 +18,6 @@ import javax.ws.rs.core.MediaType; | ||
18 | import org.jboss.logging.Logger; | 18 | import org.jboss.logging.Logger; |
19 | 19 | ||
20 | import br.gov.ans.exceptions.BusinessException; | 20 | import br.gov.ans.exceptions.BusinessException; |
21 | -import br.gov.ans.factories.qualifiers.PropertiesInfo; | ||
22 | import br.gov.ans.integracao.sei.client.SeiPortTypeProxy; | 21 | import br.gov.ans.integracao.sei.client.SeiPortTypeProxy; |
23 | import br.gov.ans.integracao.sei.dao.LogIntegracaoSistemicaDAO; | 22 | import br.gov.ans.integracao.sei.dao.LogIntegracaoSistemicaDAO; |
24 | import br.gov.ans.integracao.sei.modelo.Operacao; | 23 | import br.gov.ans.integracao.sei.modelo.Operacao; |
@@ -73,7 +72,7 @@ public class InfoResource { | @@ -73,7 +72,7 @@ public class InfoResource { | ||
73 | @Path("/versao") | 72 | @Path("/versao") |
74 | @Produces(MediaType.TEXT_PLAIN) | 73 | @Produces(MediaType.TEXT_PLAIN) |
75 | public String getNumeroVersao(){ | 74 | public String getNumeroVersao(){ |
76 | - return messages.getMessage("versao.servico"); | 75 | + return messages.getMessage("sei.broker.versao"); |
77 | } | 76 | } |
78 | 77 | ||
79 | /** | 78 | /** |
src/main/resources/config.properties