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

Intégration Continue Discussion :

Maven-clean-plugin does not exist


Sujet :

Intégration Continue

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut Maven-clean-plugin does not exist
    en exécutant un build à partir de Continuum j'ai l'erreur suivante :

    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Maven monprojet Maintenance
    [INFO] task-segment: [clean, install]
    [INFO] ----------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: < 1 second
    [INFO] Finished at: Tue Sep 11 14:11:37 CEST 2007
    [INFO] Final Memory: 2M/5M
    [INFO] ------------------------------------------------------------------------[/SIZE][/SIZE]

    alors que sous maven tout fonctionne, ai-je oublié qq chose dans Continuum ?

  2. #2
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    Utilises-tu maven et continuum avec le même utilisateur?
    Utilises-tu un proxy pour télécharger les plugins/dependencies? Si oui, où se trouve-t-il?

    Tu peux ajouter le mode debug à la build definition et éventuellement les goals help:effective-pom et help:effective-settings

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    c'est le même compte utilisateur sous XP.
    j'utilise un proxy via ntlmaps-0.9.9 + un client firewall microsoft, MAVEN télécharge les dependencies sans problèmes.

    en ce qui concerne Continuum, le checkout à partir de SVN est complet dans la working-directory, si j'ai bien compris il faut aussi mettre le pom de mon projet dans ce répertoire.

    help:effective-pom à partir de maven = [INFO] BUILD SUCCESSFUL

    help:effective-pom à partir de Continuum = [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'help'.
    [INFO] org.apache.maven.plugins: checking for updates from central
    [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file
    [INFO] Repository 'central' will be blacklisted

    pour le debug à la build, ou faut-il positionner cette valeur ?

  4. #4
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    quel settings.xml as-tu configuré?

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    J'utilise le settings.xml de maven répertoire .m2\settings.xml

    voici un debug : avec un compile

    Java version: 1.5.0
    OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: "x86"
    [DEBUG] Building Maven user-level plugin registry from: 'C:\WINDOWS\system32\config\systemprofile\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'C:\Program Files\Apache Software Foundation\maven-2.0.7\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Maven monprojet Maintenance
    [INFO] task-segment: [compile]
    [INFO] ----------------------------------------------------------------------------
    [DEBUG] maven-resources-plugin: using locally installed snapshot
    [DEBUG] Artifact not found - using stub model: Unable to determine the latest version

    org.apache.maven.plugins:maven-resources-plugin:pom:LATEST


    [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-resources-plugin:pom:LATEST
    [DEBUG] maven-resources-plugin: using locally installed snapshot
    [DEBUG] Artifact not found - using stub model: Unable to determine the release version

    org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE


    [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found .................

    encore merci pour ton aide ...

  6. #6
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    Quel est l'output de help:effective-settings dans Continuum?

  7. #7
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    voici l'output :

    + Error stacktraces are turned on.
    Maven version: 2.0.7
    Java version: 1.5.0
    OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: "x86"
    [DEBUG] Building Maven user-level plugin registry from: 'C:\WINDOWS\system32\config\systemprofile\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'C:\Program Files\Apache Software Foundation\maven-2.0.7\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'help'.
    [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
    [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
    [INFO] org.codehaus.mojo: checking for updates from central
    [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: central due to an error: Error transferring file
    [INFO] Repository 'central' will be blacklisted
    [DEBUG] Exception
    org.apache.maven.wagon.TransferFailedException: Error transferring file
    at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
    at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
    at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:462)
    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:363)
    at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositoryMetadataManager.java:364)
    at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
    at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:103)
    at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:87)
    at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:61)
    at org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:149)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1451)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
    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:280)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    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: java.io.IOException: Server returned HTTP response code: 403 for URL: http://repo1.maven.org/maven2/org/co...n-metadata.xml
    at sun.net.http://www.protocol.http.HttpURLConn...tion.java:1179)
    at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
    ... 23 more
    [DEBUG] Skipping blacklisted repository central
    [DEBUG] maven-compiler-plugin: using locally installed snapshot
    [DEBUG] Artifact not found - using stub model: Unable to determine the latest version

    org.apache.maven.plugins:maven-compiler-plugin:pom:LATEST


    [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-compiler-plugin:pom:LATEST
    [DEBUG] maven-compiler-plugin: using locally installed snapshot
    [DEBUG] Artifact not found - using stub model: Unable to determine the release version

    org.apache.maven.plugins:maven-compiler-plugin:pom:RELEASE


    [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-compiler-plugin:pom:RELEASE
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1469)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
    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:280)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    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.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
    at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228)
    at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90)
    at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
    ... 14 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 second
    [INFO] Finished at: Tue Sep 11 17:19:07 CEST 2007
    [INFO] Final Memory: 2M/6M
    [INFO] ------------------------------------------------------------------------

  8. #8
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    Je ne sais pas où tu as défini ton settings.xml, mais quand je vois cette ligne:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    [DEBUG] Building Maven user-level plugin registry from: 'C:\WINDOWS\system32\config\systemprofile\.m2\plugin-registry.xml'
    je penses que le home_directory de l'utilisateur est C:\WINDOWS\system32\config\systemprofile\ donc le settings.xml doit être dans C:\WINDOWS\system32\config\systemprofile\.m2\settings.xml

  9. #9
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    le fichier settings.xml est localisé sous windows XP dans le répertoire D:\Documents and Settings\le_user_nt\.m2

    Continuum créer le même répertoire dans C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\apache\maven\plugins

    pourquoi cette duplication de répertoire ? j'ai copié manuellemnt les plugins maintenant j'ai une autre erreur :

    + Error stacktraces are turned on.
    Maven version: 2.0.7
    Java version: 1.5.0
    OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: "x86"
    [DEBUG] Building Maven user-level plugin registry from: 'C:\WINDOWS\system32\config\systemprofile\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'C:\Program Files\Apache Software Foundation\maven-2.0.7\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Maven monprojet Maintenance
    [INFO] task-segment: [compile]
    [INFO] ----------------------------------------------------------------------------
    [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
    [DEBUG] Skipping disabled repository snapshots
    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/org/ap...n-parent-1.pom
    [DEBUG] Unable to get resource 'org.apache.maven:maven-parent:pom:1' from repository central (http://repo1.maven.org/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).


    Project ID: org.apache.maven.plugins:maven-plugins:pom:1

    Reason: Cannot find parent: org.apache.maven:maven-parent for project: org.apache.maven.plugins:maven-plugins:pom:1 for project org.apache.maven.plugins:maven-plugins:pom:1

    y a t'il une variable d'environnement Continuum pour que celui-ci utilise le repository MAVEN ?

  10. #10
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    Continuum est lancé comme service?

    Il n'y a pas de duplication, le user_home de ton utilisateur est C:\WINDOWS\system32\config\systemprofile\ ou tu as mal configuré ton utilisateur dans le service.

    En tout cas, tant que le user_home est C:\WINDOWS\system32\config\systemprofile\ tu dois mettre le settings.xml dans C:\WINDOWS\system32\config\systemprofile\.m2\settings.xml

  11. #11
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    j'utilise le service Continuum, je l'ai demarré a partir du panel des services Windows sans renseigner d'utilisateur, comme tu m'indiques la notion d'utilisateur pour ce service ou mettre valoriser cette valeur ?

  12. #12
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    tu ouvres les propriétés du service et dans l'onglet "Connexion", tu choisis ton utilisateur

  13. #13
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    Encore merci pour ton aide, le problème venait du run.bat ... donc plus de problèmes avec le repository Maven.
    Par contre que faut-il faire pour forcer l'envoi d'un mail dans le cas ou il n'y a pas eu de changements.

  14. #14
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    Quelle est ta version de Continuum?

  15. #15
    Membre à l'essai
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    34
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2007
    Messages : 34
    Points : 17
    Points
    17
    Par défaut
    j'utilise la version continuum-1.1-beta-2

  16. #16
    Membre expérimenté

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Points : 1 524
    Points
    1 524
    Par défaut
    il faut configurer le "alwaysSend" dans apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml

Discussions similaires

  1. [Probleme] Munin plugin - url externe: file does not exist
    Par adgenodux dans le forum Administration système
    Réponses: 0
    Dernier message: 21/05/2013, 14h58
  2. Réponses: 10
    Dernier message: 24/04/2009, 10h40
  3. Réponses: 5
    Dernier message: 06/03/2009, 16h55
  4. FATAL 1: Database "x" does not exist in the syste
    Par barbituric dans le forum PostgreSQL
    Réponses: 11
    Dernier message: 17/03/2004, 06h35
  5. [JCreator] "package tools does not exists"
    Par snyper147 dans le forum Environnement de Développement Intégré (EDI)
    Réponses: 2
    Dernier message: 04/05/2003, 20h08

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