IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Maven Java Discussion :

Balise "repository" et téléchargements dépendances et plugins eclipse existants


Sujet :

Maven Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Novembre 2010
    Messages : 75
    Par défaut Balise "repository" et téléchargements dépendances et plugins eclipse existants
    Bonjour,

    Je suis entrain de déployer Maven sur un projet développé avec e4. Les développeurs utilisent très souvent des liens (genre http://download.eclipse.org/e4/updates/0.12/) pour résoudre les dépendances et appelle des plugins existants de Juno.

    Je pensais qu'en utilisant la commande <repository> mon projet maven téléchargerait automatiquement ce dont il avait besoin sur les différents sites, mais apparemment ce n'est pas comme cela que ça fonctionne.

    Par exemple quand je fais un maven clean j'ai l'erreur suivante :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    [ERROR] Cannot resolve project dependencies:
    [ERROR]   Software being installed: com.solutions.toutou.titi 1.0.0.qualifier
    [ERROR]   Missing requirement: com.solutions.toutou.titi 1.0.0.qualifier requires 'bundle org.eclipse.e4.tools.emf.ui 0.12.0' but it could not be found
    Pourriez-vous m'expliquer plus clairement l'utilité dans le balise <repository> en ce cas.

    Merci,

    Elodie

  2. #2
    Membre confirmé
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    75
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Novembre 2010
    Messages : 75
    Par défaut
    J'ai poursuivi et rajouter cela dans mon pom parent :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    	<repository>  
    			<id>e4</id>  
    			<layout>p2</layout>  
    			<url>http://download.eclipse.org/e4/updates/0.12/</url>  
    		</repository>
    J'en ai rajouté plusieurs en fonction du besoin des développeurs.
    Par contre à chaque fois que je lance un mvn clean install, j'ai à chaque fois les lignes suivantes : est ce normal ? Ne devrait-il pas me les télécharger qu'une seule fois ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    [INFO] Scanning for projects...
    [INFO] Computing target platform for MavenProject: com.solutions.isoneo.citrus:com.solutions.isoneo.citrus:1.0.0-SNAPSHOT @ C:\Users\Elodie\Documents\projets\ECLIPSE\workspaces\Citrus\citrus\Plugins\com.solutions.isoneo.citrus\pom.xml
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/ (0B of 96B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/ (128B of 96B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Adding repository http://download.eclipse.org/releases/juno
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201303010900/ (0B of 242B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201303010900/ (365B of 242B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201209280900/ (0B of 244B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201209280900/ (365B of 244B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201206270900/ (0B of 244B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201206270900/ (365B of 244B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/juno/ (0B of 92B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/juno/ (116B of 92B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/ (0B of 96B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/ (128B of 96B at 0B/s)
    [INFO] Adding repository http://download.eclipse.org/releases/juno
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201303010900/ (0B of 242B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201303010900/ (365B of 242B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201209280900/ (0B of 244B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201209280900/ (365B of 244B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201206270900/ (0B of 244B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/juno/201206270900/ (365B of 244B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/juno/ (0B of 92B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/juno/ (116B of 92B at 0B/s)
    [INFO] Adding repository http://download.eclipse.org/e4/updates/0.12
    [INFO] Adding repository http://download.eclipse.org/e4/updates/0.12
    [INFO] Adding repository http://marketplace.obeonetwork.com/updates/od61
    [INFO] Fetching compositeContent.jar from http://marketplace.obeonetwork.com/updates/od61/ (0B of 438B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching compositeContent.jar from http://marketplace.obeonetwork.com/updates/od61/ (438B of 438B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (0B of 96B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (128B of 96B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (0B of 98B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (131B of 98B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (119B of 93B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (119B of 93B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (119B of 93B at 0B/s)
    [INFO] Fetching content.jar from http://marketplace.obeonetwork.com/updates/od61/marketplace/ (0B of 417,45kB at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching content.jar from http://marketplace.obeonetwork.com/updates/od61/marketplace/ (4kB of 417,45kB at 0B/s)
    [INFO] Fetching content.jar from http://marketplace.obeonetwork.com/updates/od61/marketplace/ (194,95kB of 417,45kB at 191,56kB/s)
    [INFO] Adding repository http://marketplace.obeonetwork.com/updates/od61
    [INFO] Fetching compositeArtifacts.jar from http://marketplace.obeonetwork.com/updates/od61/ (0B of 441B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching compositeArtifacts.jar from http://marketplace.obeonetwork.com/updates/od61/ (441B of 441B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (0B of 96B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/ (128B of 96B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (0B of 98B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (131B of 98B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (119B of 93B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (119B of 93B at 0B/s)
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (0B of 93B at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (119B of 93B at 0B/s)
    [INFO] Fetching artifacts.jar from http://marketplace.obeonetwork.com/updates/od61/marketplace/ (0B of 11,39kB at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching artifacts.jar from http://marketplace.obeonetwork.com/updates/od61/marketplace/ (4kB of 11,39kB at 0B/s)
    [INFO] Adding repository http://www.aadl.info/aadl/osate/stable/2.0.1/update-site
    [INFO] Adding repository http://www.aadl.info/aadl/osate/stable/2.0.1/update-site
    Merci

Discussions similaires

  1. Augmenter la hauteur du div/span de la balise &quot;code&quot;
    Par Djakisback dans le forum Evolutions du club
    Réponses: 10
    Dernier message: 24/01/2009, 14h31

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo