Support #5370
ferméN'arrive pas à faire la mise à jour sur le serveur Nexus version 1.2-SNAPSHOT du look spécifique
0%
Description
On doit mettre en place la version de notre look silverpeas.
Ci desous le contenu de pom.xml
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.silverpeas</groupId>
<artifactId>assembly-silverpeas</artifactId>
<version>5.13.3</version>
</parent>
<packaging>pom</packaging>
<groupId>com.silverpeas</groupId>
<artifactId>assembly-sdk</artifactId>
<name>Assembly SDK</name>
<properties>
<silverpeas.home>${env.SILVERPEAS_HOME}</silverpeas.home>
</properties>
<dependencies>
<dependency>
<groupId>com.silverpeas.customers.aubervilliers.look</groupId>
<artifactId>look-war</artifactId>
<version>1.2-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>com.silverpeas.customers.aubervilliers.look</groupId>
<artifactId>look-config</artifactId>
<version>1.2-SNAPSHOT</version>
<classifier>configuration</classifier>
</dependency>
</dependencies>
d'util
L <repositories>
<repository>
<id>Silverpeas</id>
<layout>default</layout>
(1) U <name>Silverpeas Repository</name> train d'éditer ce fichier.
<url>http://www.silverpeas.org/nexus/content/groups/silverpeas</url>
<releases>
e <enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>e
</repository>
</repositories>
</project>
Quand on lance /opt/maven/bin/mvn clean install ... On a le retour suivant :
root@silverpeas-app-prod:/opt/silverpeas/bin# /opt/maven/bin/mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Assembly SDK 5.13.3
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.silverpeas.customers.aubervilliers.look:look-war:war:1.2-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.silverpeas.customers.aubervilliers.look:look-config:jar:configuration:1.2-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.484s
[INFO] Finished at: Tue Mar 11 19:09:06 CET 2014
[INFO] Final Memory: 20M/320M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "Silverpeas" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project assembly-sdk: Could not resolve dependencies for project com.silverpeas:assembly-sdk:pom:5.13.3: The following artifacts could not be resolved: com.silverpeas.customers.aubervilliers.look:look-war:war:1.2-SNAPSHOT, com.silverpeas.customers.aubervilliers.look:look-config:jar:configuration:1.2-SNAPSHOT: Failure to find com.silverpeas.customers.aubervilliers.look:look-war:war:1.2-SNAPSHOT in http://www.silverpeas.org/nexus/content/groups/silverpeas was cached in the local repository, resolution will not be reattempted until the update interval of Silverpeas has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException