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 :

problème de déploiement


Sujet :

Maven Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Octobre 2005
    Messages
    315
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 315
    Par défaut problème de déploiement
    bonjour à tous.
    j'utilise Maven 2.0.6 et apache-ant-1.7.0.
    J'essaie de déployer nuxeo 5 sur le serveur jboss-4.0.4.GA en suivant les instructions du tutoriel suivant : http://svn.nuxeo.org/trac/nuxeo/brow...tart-howto.txt

    malheureusement, lorsque j'arrive à l'installation du
    felix plugin (ligne 240)
    , ce dernier est introuvable.

    je continue quand même l'installation et lorsque je lance
    mvn install (ligne 277)
    j'obtiens les erreurs suivantes:
    [exec] [INFO] -------------------------------------------------------------
    -----------
    [exec] [ERROR] BUILD ERROR
    [exec] [INFO] -------------------------------------------------------------
    -----------
    [exec] [INFO] Failed to resolve artifact.
    [exec]
    [exec] Missing:
    [exec] ----------
    [exec] 1) org.codehaus.plexus:plexus-utils:jar:1.1
    [exec]
    [exec] Try downloading the file manually from the project website.
    [exec]
    [exec] Then, install it using the command:
    [exec] mvn install:install-file -DgroupId=org.codehaus.plexus -Dartif
    actId=plexus-utils \
    [exec] -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
    [exec]
    [exec] Path to dependency:
    [exec] 1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    [exec] 2) org.codehaus.plexus:plexus-utils:jar:1.1
    [exec]
    [exec] 2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
    [exec]
    [exec] Try downloading the file manually from the project website.
    [exec]
    [exec] Then, install it using the command:
    [exec] mvn install:install-file -DgroupId=org.apache.maven.wagon -Dar
    tifactId=wagon-webdav \
    [exec] -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file
    [exec]
    [exec] Path to dependency:
    [exec] 1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    [exec] 2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
    [exec]
    [exec] ----------
    [exec] 2 required artifacts are missing.
    [exec]
    [exec] for artifact:
    [exec] org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    [exec]
    [exec] from the specified remote repositories:
    [exec] central (http://repo1.maven.org/maven2)
    [exec]
    [exec]
    j'arrive pas à les installer manuellement.
    j'ai donc omis ces deux erreurs et continuer l'installation jusqu'à
    ant deploy (304)
    et là encore j'obtiens le message
    BUILD FAILED
    D:\Test Nuxeo\nuxeo-ep\build.xml:89: D:\Test Nuxeo\nuxeo-ep\org.nuxeo.ecm.platfo
    rm\nuxeo-platform-ear\target\nuxeo.ear not found.
    quelqu'un a une idée pour me sortir de là( bien que je ne sois pas une célébrité LOL !!!!!)

  2. #2
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    tu utilises un proxy pour te connecter au web?

  3. #3
    Membre éclairé
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Octobre 2005
    Messages
    315
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 315
    Par défaut Problème de déploiement
    oui, je pense avoir modifier le proxi dans le fichier
    settings.xml

  4. #4
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Execute mvn avec l'option -X qui te donnera plus d'info sur le pb, mais je penses que maven n'arrive pas à passer ton proxy.

  5. #5
    Membre éclairé
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Octobre 2005
    Messages
    315
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 315
    Par défaut Problème de déploiement
    voici ma config du proxi

    <id>optional</id>
    <active>true</active>
    <protocol>http</protocol>
    <host>mon_proxi</host>
    <port>3128</port>
    je ne sais pas trop comment lui faire passer le proxi .

  6. #6
    Membre éclairé
    Homme Profil pro
    Conseil - Consultant en systèmes d'information
    Inscrit en
    Octobre 2005
    Messages
    315
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Conseil - Consultant en systèmes d'information
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 315
    Par défaut Problème de déploiement
    En lançant comme tu m'a conseillé j'obtiens les erreurs suivantes( si cela peut t'aider...)

    [DEBUG] Initialising extension: org.apache.maven.wagon:wagon-webdav
    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/org/ap...wagon-webdav/1
    .0-beta-2/wagon-webdav-1.0-beta-2.pom
    [DEBUG] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:pom:1.0-beta
    -2' from repository central (http://repo1.maven.org/maven2)
    [DEBUG] Artifact not found - using stub model: Unable to download the artifact f
    rom any repository

    org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    [DEBUG] Using defaults for missing POM org.apache.maven.wagon:wagon-webdav:pom:1
    .0-beta-2:runtime
    [DEBUG] org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT (selected for null)
    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/org/co...xus-utils/1.1/
    plexus-utils-1.1.pom
    [DEBUG] Unable to get resource 'org.codehaus.plexus:plexus-utils:pom:1.1' from r
    epository central (http://repo1.maven.org/maven2)
    [DEBUG] Artifact not found - using stub model: Unable to download the artifact f
    rom any repository

    org.codehaus.plexus:plexus-utils:pom:1.1

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    [DEBUG] Using defaults for missing POM org.codehaus.plexus:plexus-utils:pom:1.1:
    runtime
    [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime
    )
    [DEBUG] org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2:runtime (selected f
    or runtime)
    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/org/co...xus-utils/1.1/
    plexus-utils-1.1.jar
    [DEBUG] Unable to get resource 'org.codehaus.plexus:plexus-utils:jar:1.1' from r
    epository central (http://repo1.maven.org/maven2)
    [DEBUG] Unable to download the artifact from any repository

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-u
    tils \
    -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.codehaus.plexus:plexus-utils:jar:1.1


    org.codehaus.plexus:plexus-utils:jar:1.1

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/org/ap...wagon-webdav/1
    .0-beta-2/wagon-webdav-1.0-beta-2.jar
    [DEBUG] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:jar:1.0-beta
    -2' from repository central (http://repo1.maven.org/maven2)
    [DEBUG] Unable to download the artifact from any repository

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon
    -webdav \
    -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2


    org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    Missing:
    ----------
    1) org.codehaus.plexus:plexus-utils:jar:1.1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus
    -utils \
    -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.codehaus.plexus:plexus-utils:jar:1.1

    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
    on-webdav \
    -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    ----------
    2 required artifacts are missing.

    for artifact:
    org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)


    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
    ----------
    1) org.codehaus.plexus:plexus-utils:jar:1.1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus
    -utils \
    -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.codehaus.plexus:plexus-utils:jar:1.1

    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
    on-webdav \
    -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    ----------
    2 required artifacts are missing.

    for artifact:
    org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(De
    faultLifecycleExecutor.java:166)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
    fecycleExecutor.java:141)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
    : Missing:
    ----------
    1) org.codehaus.plexus:plexus-utils:jar:1.1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus
    -utils \
    -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.codehaus.plexus:plexus-utils:jar:1.1

    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wag
    on-webdav \
    -Dversion=1.0-beta-2 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    ----------
    2 required artifacts are missing.

    for artifact:
    org.nuxeo.common:nuxeo-common:jar:1.1.0-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2)

    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:305)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:272)
    at org.apache.maven.extension.DefaultExtensionManager.addExtension(Defau
    ltExtensionManager.java:115)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(De
    faultLifecycleExecutor.java:158)
    ... 12 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 minutes 10 seconds
    [INFO] Finished at: Fri Jun 01 10:42:53 CEST 2007
    [INFO] Final Memory: 15M/27M
    [INFO] ------------------------------------------------------------------------

  7. #7
    Membre Expert

    Profil pro
    Inscrit en
    Mai 2006
    Messages
    1 172
    Détails du profil
    Informations personnelles :
    Âge : 50
    Localisation : France, Yvelines (Île de France)

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Es-tu sûr que tu utilises un proxy http? as-tu besoin d'un username/password pour te connecter au proxy?

Discussions similaires

  1. [ Tomcat ] Problème de déploiement sous tomcat
    Par Seb78 dans le forum Tomcat et TomEE
    Réponses: 5
    Dernier message: 28/10/2004, 11h35
  2. [JOPE] Problème de déploiement
    Par Nuncyco dans le forum Eclipse Java
    Réponses: 2
    Dernier message: 27/09/2004, 20h57
  3. [EJB] Problème de déploiement
    Par Aurore M dans le forum Java EE
    Réponses: 5
    Dernier message: 04/06/2004, 15h37
  4. [TOMCAT] SOAP - Problème de déploiement
    Par seawolfm dans le forum Tomcat et TomEE
    Réponses: 6
    Dernier message: 21/10/2003, 12h36
  5. [CR][VB]Problème de déploiement
    Par pvil dans le forum SDK
    Réponses: 3
    Dernier message: 16/08/2002, 07h39

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