UserName_Root
Nuovo Utente
- Messaggi
- 90
- Reazioni
- 0
- Punteggio
- 28
Salve a tutti!
Sto provando ad eseguire dei progetti maven in Netbeans 8.2: quando vengono caricati non presentano errori, ma quando eseguo clean and build ecco l'output:
"
Failed to execute goal on project chapar-client: Could not resolve dependencies for project com.artronics.chapar:chapar-client:jar:0.1.1-SNAPSHOT: Could not find artifact com.artronics.chapar:chapar-controller:jar:0.1.1-SNAPSHOT -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
"
Ed ecco dei warning sopra:
"
The POM for com.artronics.chapar:chapar-domain:jar:0.1.1-SNAPSHOT is missing, no dependency information available
The POM for com.artronics.chapar:chapar-controller:jar:0.1.1-SNAPSHOT is missing, no dependency information available
"
Per il progetto, il pom.xml che uso è questo:
Non capisco da dove partire per risolvere l'errore; è un problema di codice da aggiungere al file pom.xml secondo voi?
Spero che gli elementi forniti siano sufficienti, altrimenti provo a inserire ulteriori parti.
Grazie!!!
Sto provando ad eseguire dei progetti maven in Netbeans 8.2: quando vengono caricati non presentano errori, ma quando eseguo clean and build ecco l'output:
"
Failed to execute goal on project chapar-client: Could not resolve dependencies for project com.artronics.chapar:chapar-client:jar:0.1.1-SNAPSHOT: Could not find artifact com.artronics.chapar:chapar-controller:jar:0.1.1-SNAPSHOT -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
"
Ed ecco dei warning sopra:
"
The POM for com.artronics.chapar:chapar-domain:jar:0.1.1-SNAPSHOT is missing, no dependency information available
The POM for com.artronics.chapar:chapar-controller:jar:0.1.1-SNAPSHOT is missing, no dependency information available
"
Per il progetto, il pom.xml che uso è questo:
Codice:
<?xml version="1.0" encoding="UTF-8"?>
<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>
<artifactId>chapar</artifactId>
<groupId>com.artronics.chapar</groupId>
<version>0.1.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>chapar-client</artifactId>
<version>${chapar-client.version}</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<scope>test</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.artronics.chapar</groupId>
<artifactId>chapar-domain</artifactId>
<version>0.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- Serial Com library RxTx-->
<dependency>
<groupId>org.rxtx</groupId>
<artifactId>rxtx</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.6.3</version>
</dependency>
<!--<dependency>-->
<!--<groupId>org.apache.httpcomponents</groupId>-->
<!--<artifactId>httpclient</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>com.artronics.chapar</groupId>
<artifactId>chapar-controller</artifactId>
<version>0.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.artronics.chapar</groupId>
<artifactId>chapar-client</artifactId>
<version>0.1.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Non capisco da dove partire per risolvere l'errore; è un problema di codice da aggiungere al file pom.xml secondo voi?
Spero che gli elementi forniti siano sufficienti, altrimenti provo a inserire ulteriori parti.
Grazie!!!