Commit fb4a12ef35c9f71368505fc6efd7f2208c2c561f

Authored by andre.guimaraes
1 parent f1d4e972

Remove config.properties

Arquivo deixou de ser necessário, o número da versão agora é carregado
diretamente do pom.xml.
pom.xml
... ... @@ -14,6 +14,12 @@
14 14 </properties>
15 15  
16 16 <build>
  17 + <resources>
  18 + <resource>
  19 + <directory>src/main/resources</directory>
  20 + <filtering>true</filtering>
  21 + </resource>
  22 + </resources>
17 23 <plugins>
18 24 <plugin>
19 25 <groupId>org.apache.maven.plugins</groupId>
... ... @@ -84,12 +90,6 @@
84 90 </executions>
85 91 </plugin>
86 92 </plugins>
87   - <resources>
88   - <resource>
89   - <directory>src/main/resources</directory>
90   - <filtering>true</filtering>
91   - </resource>
92   - </resources>
93 93 </build>
94 94  
95 95 <dependencies>
... ...
src/main/java/br/gov/ans/integracao/sei/rest/InfoResource.java
... ... @@ -18,7 +18,6 @@ import javax.ws.rs.core.MediaType;
18 18 import org.jboss.logging.Logger;
19 19  
20 20 import br.gov.ans.exceptions.BusinessException;
21   -import br.gov.ans.factories.qualifiers.PropertiesInfo;
22 21 import br.gov.ans.integracao.sei.client.SeiPortTypeProxy;
23 22 import br.gov.ans.integracao.sei.dao.LogIntegracaoSistemicaDAO;
24 23 import br.gov.ans.integracao.sei.modelo.Operacao;
... ... @@ -73,7 +72,7 @@ public class InfoResource {
73 72 @Path("/versao")
74 73 @Produces(MediaType.TEXT_PLAIN)
75 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
... ... @@ -1 +0,0 @@
1   -versao.sistema = V_2.5
2 0 \ No newline at end of file