Quando subo o projeto para o git, ele inicia um job para enviar para o sonar
Mas da este erro
[ERROR] Failed to execute goal on project pregao_presencial: Could not resolve dependencies for project br.com.ghnetsoft.pregao_presencial:pregao_presencial:jar:0.0.2-SNAPSHOT: The following artifacts could not be resolved: br.com.ghnetsoft.principal:rest:jar:0.0.2-SNAPSHOT, br.com.ghnetsoft.principal:utilitario:jar:0.0.2-SNAPSHOT, br.com.ghnetsoft.principal:core:jar:0.0.2-SNAPSHOT: Could not find artifact br.com.ghnetsoft.principal:rest:jar:0.0.2-SNAPSHOT -> [Help 1]
O erro eu acho que é por que os jar não estão no projeto, e ai quando ele tenta achar não acha.
Uma parte do pom.xml
<dependency> <groupId>br.com.ghnetsoft.principal</groupId> <artifactId>rest</artifactId> <version>${ghnetsoft.principal}</version> </dependency> <dependency> <groupId>br.com.ghnetsoft.principal</groupId> <artifactId>utilitario</artifactId> <version>${ghnetsoft.principal}</version> </dependency> <dependency> <groupId>br.com.ghnetsoft.principal</groupId> <artifactId>core</artifactId> <version>${ghnetsoft.principal}</version> </dependency>
O jar dos 3 projetos estão em:
C:\Docker\maven.m2\repository\br\com\ghnetsoft\principal\core\0.0.2-SNAPSHOT
C:\Docker\maven.m2\repository\br\com\ghnetsoft\principal\rest\0.0.2-SNAPSHOT
C:\Docker\maven.m2\repository\br\com\ghnetsoft\principal\utilitario\0.0.2-SNAPSHOT
O que pode ser ?
