Projet

Général

Profil

Actions

Support #5370

fermé

N'arrive pas à faire la mise à jour sur le serveur Nexus version 1.2-SNAPSHOT du look spécifique

Ajouté par Anonyme il y a plus de 10 ans. Mis à jour il y a plus de 10 ans.

Statut:
Closed
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
11/03/2014
Echéance:
% réalisé:

0%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.13.3
Système d'exploitation:
Livraison en TEST:
Livraison en PROD:

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&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
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>

&lt;packaging&gt;pom&lt;/packaging&gt;
&lt;groupId&gt;com.silverpeas&lt;/groupId&gt;
&lt;artifactId&gt;assembly-sdk&lt;/artifactId&gt;
&lt;name&gt;Assembly SDK&lt;/name&gt;
&lt;properties&gt;
&lt;silverpeas.home&gt;${env.SILVERPEAS_HOME}&lt;/silverpeas.home&gt;
&lt;/properties&gt;

<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&lt;/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

Actions

Formats disponibles : Atom PDF