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 :

Maven2 plugin Cargo Tomcat


Sujet :

Maven Java

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    137
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Juillet 2006
    Messages : 137
    Points : 160
    Points
    160
    Par défaut Maven2 plugin Cargo Tomcat
    Bonjour,

    J'aimerai déployer mon application web en utilisant le plugin Cargo pour Maven.
    Or lorsque je lance la commande
    J'ai un "Build Error" avec comme message:
    Only local containers can be started.
    Qu'est-ce que ça veut dire ? En plus mon conteneur qui est Tomcat, est bien local.

    Voici mon fichier pom.xml:

    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
     
     
    <plugin>
                    <groupId>org.codehaus.cargo</groupId>
                    <artifactId>cargo-maven2-plugin</artifactId>
                    <configuration>
                        <container>
                            <containerId>tomcat5x</containerId>
                            <home>D:/APPL/apache-tomcat-5.5.25/</home>
                            <output>
                                ${project.build.directory}/container.log
                            </output>
                            <append>false</append>
                        </container>
                        <configuration>
                            <type>existing</type>
                            <home>D:/APPL/apache-tomcat-5.5.25/</home>
                        </configuration>
                    </configuration>
                </plugin>
    Merci pour votre aide,
    Michael

  2. #2
    Membre actif
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    219
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Avril 2007
    Messages : 219
    Points : 200
    Points
    200
    Par défaut
    Salut,

    Est ce que l'on pourrait avoir toute la log stp.

    Merci

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    137
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Juillet 2006
    Messages : 137
    Points : 160
    Points
    160
    Par défaut
    Le voici
    [INFO] Scanning for projects...
    [WARNING] Overriding profile: 'gPM.tests-ui' (source: pom) with new instance from source: pom
    [INFO] Reactor build order:
    [INFO] gPM-ui
    [INFO] gPM-ui WEB module
    [INFO] Searching repository for plugin with prefix: 'cargo'.
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building gPM-ui
    [INFO] task-segment: [cargo:start]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [cargo:start]
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Only local containers can be started
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 seconds
    [INFO] Finished at: Mon Dec 10 14:20:40 CET 2007
    [INFO] Final Memory: 5M/12M
    [INFO] ------------------------------------------------------------------------
    Merci

  4. #4
    Membre habitué Avatar de DanielW33
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    327
    Détails du profil
    Informations personnelles :
    Localisation : France, Gironde (Aquitaine)

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    peux tu lancer ta commande en mode debug ( ... -X ) pour avoir une log complete ?
    merci

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    137
    Détails du profil
    Informations personnelles :
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations forums :
    Inscription : Juillet 2006
    Messages : 137
    Points : 160
    Points
    160
    Par défaut
    log_maven_cargo.txt
    Voici le log complet

    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
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
     
    + Error stacktraces are turned on.
    Maven version: 2.0.7
    Java version: 1.5.0_11
    OS name: "windows xp" version: "5.1" arch: "x86"
    [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\mkargbo\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'D:\APPL\maven-2.0.7\bin\..\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [DEBUG] Searching for parent-POM: org.topcased.gpm:gPM::1 of project: null:gPM-ui:pom:1 in relative path: ../pom.xml
    [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: null:gPM-ui:pom:1
    [DEBUG] Adding managed dependencies for unknown:gPM-ui
    [DEBUG]   antlr:antlr:jar:2.7.2
    [DEBUG]   asm:asm:jar:1.5.3
    [DEBUG]   org.apache.bcel:bcel:jar:5.2
    [DEBUG]   bsh:bsh:jar:2.0b1
    [DEBUG]   bsf:bsf:jar:2.3.0
    [DEBUG]   cglib:cglib:jar:2.1_3
    [DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0
    [DEBUG]   commons-collections:commons-collections:jar:3.2
    [DEBUG]   commons-dbcp:commons-dbcp:jar:1.2.2
    [DEBUG]   commons-discovery:commons-discovery:jar:0.4
    [DEBUG]   commons-digester:commons-digester:jar:1.8
    [DEBUG]   commons-io:commons-io:jar:1.3.1
    [DEBUG]   commons-logging:commons-logging:jar:1.1
    [DEBUG]   commons-lang:commons-lang:jar:2.3
    [DEBUG]   commons-fileupload:commons-fileupload:jar:1.2
    [DEBUG]   commons-validator:commons-validator:jar:1.3.1
    [DEBUG]   com.lowagie:itext:jar:1.4.8
    [DEBUG]   displaytag:displaytag:jar:1.1
    [DEBUG]   dom4j:dom4j:jar:1.4
    [DEBUG]   net.sf.ehcache:ehcache:jar:1.2.3
    [DEBUG]   org.hibernate:hibernate:jar:3.2.3.ga
    [DEBUG]   jasperreports:jasperreports:jar:1.3.0
    [DEBUG]   javax.activation:activation:jar:1.1
    [DEBUG]   javax.mail:mail:jar:1.3.3
    [DEBUG]   javax.servlet:jstl:jar:1.1.1
    [DEBUG]   javax.servlet:servlet-api:jar:2.4
    [DEBUG]   javax.transaction:jta:jar:1.0.1B
    [DEBUG]   org.jibx:jibx-run:jar:1.1
    [DEBUG]   org.jibx:jibx-bind:jar:1.1
    [DEBUG]   org.jbpm:jbpm:jar:3.0
    [DEBUG]   org.jbpm:jbpm-identity:jar:3.0
    [DEBUG]   jboss:jboss-j2ee:jar:3.2.3
    [DEBUG]   jmi:jmiuml:jar:1.4di
    [DEBUG]   jmi:mof:jar:20030918
    [DEBUG]   jmi:jmi:jar:20030918
    [DEBUG]   junit:junit:jar:3.8.1
    [DEBUG]   log4j:log4j:jar:1.2.8
    [DEBUG]   mdr:jmiutils:jar:20050630
    [DEBUG]   mdr:mdrapi:jar:20050630
    [DEBUG]   mdr:nbmdr:jar:20050630
    [DEBUG]   mdr:openide-util:jar:20050630
    [DEBUG]   oracle:ojdbc14:jar:10.1.0.4
    [DEBUG]   odmg:odmg:jar:3.0
    [DEBUG]   ognl:ognl:jar:2.6.9
    [DEBUG]   org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.9.2
    [DEBUG]   org.springframework:spring:jar:2.0.5
    [DEBUG]   org.springframework:spring-webflow:jar:1.0.3
    [DEBUG]   org.springframework:spring-binding:jar:1.0.3
    [DEBUG]   poi:poi:jar:2.5.1-final-20040804
    [DEBUG]   postgresql:postgresql:jar:8.1-408.jdbc3
    [DEBUG]   struts:struts:jar:1.2.9
    [DEBUG]   struts-menu:struts-menu:jar:2.3
    [DEBUG]   struts-layout:struts-layout:jar:1.2
    [DEBUG]   taglibs:standard:jar:1.1.1
    [DEBUG]   velocity:velocity:jar:1.4
    [DEBUG]   velocity-tools:velocity-tools-view:jar:1.0
    [DEBUG]   xalan:xalan:jar:2.7.0
    [DEBUG]   xerces:xercesImpl:jar:2.4.0
    [DEBUG]   xml-apis:xml-apis:jar:1.0.b2
    [DEBUG]   xpp3:xpp3_min:jar:1.1.3.4.O
    [DEBUG]   xpp3:xpp3:jar:1.1.3.4.O
    [DEBUG]   com.thoughtworks.xstream:xstream:jar:1.2.2
    [DEBUG]   andromda:andromda-ant-task:jar:3.1
    [DEBUG]   andromda:andromda-spring-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-hibernate-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-java-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-profile:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-datatype:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-webservice:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-service:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-process:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-meta:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-xml:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-persistence:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-presentation:xml.zip:3.1
    [DEBUG]   andromda:andromda-core:jar:3.1
    [DEBUG]   andromda:andromda-utils:jar:3.1
    [DEBUG]   andromda:andromda-ant-task:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml14:jar:3.1
    [DEBUG]   andromda:andromda-repository-mdr:jar:3.1
    [DEBUG]   andromda:andromda-templateengine-velocity:jar:3.1
    [DEBUG]   andromda:andromda-ocl-translation-core:jar:3.1
    [DEBUG]   andromda:andromda-ocl-validation-library:jar:3.1
    [DEBUG]   andromda:andromda-maven-core:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml:jar:3.1
    [DEBUG]   jung:jung:jar:1.7.6
    [DEBUG]   org.topcased.gpm:gPM-ui-web:war:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-mda:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-dao:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-business:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-resetinstance:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-business-test:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-instantiation:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-dumpXML:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tests-framework:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-dbUtils:jar:1.5-SNAPSHOT
    [WARNING] Overriding profile: 'gPM.tests-ui' (source: pom) with new instance from source: pom
    [DEBUG] Adding managed dependencies for org.topcased.gpm:gPM-ui-web
    [DEBUG]   antlr:antlr:jar:2.7.2
    [DEBUG]   asm:asm:jar:1.5.3
    [DEBUG]   org.apache.bcel:bcel:jar:5.2
    [DEBUG]   bsh:bsh:jar:2.0b1
    [DEBUG]   bsf:bsf:jar:2.3.0
    [DEBUG]   cglib:cglib:jar:2.1_3
    [DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0
    [DEBUG]   commons-collections:commons-collections:jar:3.2
    [DEBUG]   commons-dbcp:commons-dbcp:jar:1.2.2
    [DEBUG]   commons-discovery:commons-discovery:jar:0.4
    [DEBUG]   commons-digester:commons-digester:jar:1.8
    [DEBUG]   commons-io:commons-io:jar:1.3.1
    [DEBUG]   commons-logging:commons-logging:jar:1.1
    [DEBUG]   commons-lang:commons-lang:jar:2.3
    [DEBUG]   commons-fileupload:commons-fileupload:jar:1.2
    [DEBUG]   commons-validator:commons-validator:jar:1.3.1
    [DEBUG]   com.lowagie:itext:jar:1.4.8
    [DEBUG]   displaytag:displaytag:jar:1.1
    [DEBUG]   dom4j:dom4j:jar:1.4
    [DEBUG]   net.sf.ehcache:ehcache:jar:1.2.3
    [DEBUG]   org.hibernate:hibernate:jar:3.2.3.ga
    [DEBUG]   jasperreports:jasperreports:jar:1.3.0
    [DEBUG]   javax.activation:activation:jar:1.1
    [DEBUG]   javax.mail:mail:jar:1.3.3
    [DEBUG]   javax.servlet:jstl:jar:1.1.1
    [DEBUG]   javax.servlet:servlet-api:jar:2.4
    [DEBUG]   javax.transaction:jta:jar:1.0.1B
    [DEBUG]   org.jibx:jibx-run:jar:1.1
    [DEBUG]   org.jibx:jibx-bind:jar:1.1
    [DEBUG]   org.jbpm:jbpm:jar:3.0
    [DEBUG]   org.jbpm:jbpm-identity:jar:3.0
    [DEBUG]   jboss:jboss-j2ee:jar:3.2.3
    [DEBUG]   jmi:jmiuml:jar:1.4di
    [DEBUG]   jmi:mof:jar:20030918
    [DEBUG]   jmi:jmi:jar:20030918
    [DEBUG]   junit:junit:jar:3.8.1
    [DEBUG]   log4j:log4j:jar:1.2.8
    [DEBUG]   mdr:jmiutils:jar:20050630
    [DEBUG]   mdr:mdrapi:jar:20050630
    [DEBUG]   mdr:nbmdr:jar:20050630
    [DEBUG]   mdr:openide-util:jar:20050630
    [DEBUG]   oracle:ojdbc14:jar:10.1.0.4
    [DEBUG]   odmg:odmg:jar:3.0
    [DEBUG]   ognl:ognl:jar:2.6.9
    [DEBUG]   org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.9.2
    [DEBUG]   org.springframework:spring:jar:2.0.5
    [DEBUG]   org.springframework:spring-webflow:jar:1.0.3
    [DEBUG]   org.springframework:spring-binding:jar:1.0.3
    [DEBUG]   poi:poi:jar:2.5.1-final-20040804
    [DEBUG]   postgresql:postgresql:jar:8.1-408.jdbc3
    [DEBUG]   struts:struts:jar:1.2.9
    [DEBUG]   struts-menu:struts-menu:jar:2.3
    [DEBUG]   struts-layout:struts-layout:jar:1.2
    [DEBUG]   taglibs:standard:jar:1.1.1
    [DEBUG]   velocity:velocity:jar:1.4
    [DEBUG]   velocity-tools:velocity-tools-view:jar:1.0
    [DEBUG]   xalan:xalan:jar:2.7.0
    [DEBUG]   xerces:xercesImpl:jar:2.4.0
    [DEBUG]   xml-apis:xml-apis:jar:1.0.b2
    [DEBUG]   xpp3:xpp3_min:jar:1.1.3.4.O
    [DEBUG]   xpp3:xpp3:jar:1.1.3.4.O
    [DEBUG]   com.thoughtworks.xstream:xstream:jar:1.2.2
    [DEBUG]   andromda:andromda-ant-task:jar:3.1
    [DEBUG]   andromda:andromda-spring-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-hibernate-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-java-cartridge:jar:3.1
    [DEBUG]   andromda:andromda-profile:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-datatype:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-webservice:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-service:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-process:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-meta:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-xml:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-persistence:xml.zip:3.1
    [DEBUG]   andromda:andromda-profile-presentation:xml.zip:3.1
    [DEBUG]   andromda:andromda-core:jar:3.1
    [DEBUG]   andromda:andromda-utils:jar:3.1
    [DEBUG]   andromda:andromda-ant-task:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml14:jar:3.1
    [DEBUG]   andromda:andromda-repository-mdr:jar:3.1
    [DEBUG]   andromda:andromda-templateengine-velocity:jar:3.1
    [DEBUG]   andromda:andromda-ocl-translation-core:jar:3.1
    [DEBUG]   andromda:andromda-ocl-validation-library:jar:3.1
    [DEBUG]   andromda:andromda-maven-core:jar:3.1
    [DEBUG]   andromda:andromda-metafacades-uml:jar:3.1
    [DEBUG]   jung:jung:jar:1.7.6
    [DEBUG]   org.topcased.gpm:gPM-ui-web:war:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-mda:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-dao:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-business:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-resetinstance:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-services-business-test:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-instantiation:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-dumpXML:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tests-framework:jar:1.5-SNAPSHOT
    [DEBUG]   org.topcased.gpm:gPM-tools-dbUtils:jar:1.5-SNAPSHOT
    [INFO] Reactor build order: 
    [INFO]   gPM-ui
    [INFO]   gPM-ui WEB module
    [INFO] Searching repository for plugin with prefix: 'cargo'.
    [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
    [DEBUG] Skipping disabled repository apache.snapshots
    [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
    [DEBUG] Skipping disabled repository apache.snapshots
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-compiler-plugin:maven-plugin:2.0 from the repository.
    [DEBUG] Adding managed dependencies for unknown:maven-compiler-plugin
    [DEBUG]   org.apache.maven:maven-project:jar:2.0
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.3 for project: org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.surefire:surefire:pom:2.3 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
    [DEBUG] Skipping disabled repository apache.snapshots
    [DEBUG] cargo-maven2-plugin: resolved to version 0.2 from repository central
    [DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo-extensions::0.8 for project: null:cargo-maven2-plugin:maven-plugin:0.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo::0.8 for project: null:cargo-extensions:pom:null from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.4 from the repository.
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building gPM-ui
    [INFO]    task-segment: [cargo:start]
    [INFO] ----------------------------------------------------------------------------
    [DEBUG] org.topcased.gpm:gPM-ui:pom:1 (selected for null)
    [DEBUG]   javax.activation:activation:jar:1.1:provided (selected for provided)
    [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
    [DEBUG]   odmg:odmg:jar:3.0:compile (selected for compile)
    [DEBUG]   net.sf.ehcache:ehcache:jar:1.2.3:compile (selected for compile)
    [DEBUG]     commons-logging:commons-logging:jar:1.0.4:compile (applying version: 1.1)
    [DEBUG]     commons-logging:commons-logging:jar:1.1:compile (selected for compile)
    [DEBUG]       log4j:log4j:jar:1.2.12:compile (applying version: 1.2.8)
    [DEBUG]       log4j:log4j:jar:1.2.8:compile (selected for compile)
    [DEBUG]       logkit:logkit:jar:1.0.1:compile (selected for compile)
    [DEBUG]       avalon-framework:avalon-framework:jar:4.1.3:compile (selected for compile)
    [DEBUG]       javax.servlet:servlet-api:jar:2.3:compile (applying version: 2.4)
    [DEBUG]       javax.servlet:servlet-api:jar:2.4:compile (selected for compile)
    [DEBUG]     commons-collections:commons-collections:jar:2.1:compile (applying version: 3.2)
    [DEBUG]     commons-collections:commons-collections:jar:3.2:compile (selected for compile)
    [DEBUG]   javax.mail:mail:jar:1.3.3:provided (selected for provided)
    [DEBUG]   commons-collections:commons-collections:jar:3.2:compile (selected for compile)
    [DEBUG]   dom4j:dom4j:jar:1.4:compile (selected for compile)
    [DEBUG]     xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
    [DEBUG]     jaxen:jaxen:jar:1.0-FCS:compile (selected for compile)
    [DEBUG]     saxpath:saxpath:jar:1.0-FCS:compile (selected for compile)
    [DEBUG]     msv:msv:jar:20020414:compile (selected for compile)
    [DEBUG]     relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile)
    [DEBUG]     isorelax:isorelax:jar:20020414:compile (selected for compile)
    [DEBUG]   org.springframework:spring:jar:2.0.5:compile (selected for compile)
    [DEBUG]   asm:asm:jar:1.5.3:compile (selected for compile)
    [DEBUG]   commons-lang:commons-lang:jar:2.3:compile (selected for compile)
    [DEBUG]   log4j:log4j:jar:1.2.8:compile (selected for compile)
    [DEBUG]   commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected for compile)
    [DEBUG]     commons-logging:commons-logging:jar:1.0.3:compile (applying version: 1.1)
    [DEBUG]   cglib:cglib:jar:2.1_3:compile (selected for compile)
    [DEBUG]   jboss:jboss-j2ee:jar:3.2.3:compile (selected for compile)
    [DEBUG]   commons-logging:commons-logging:jar:1.1:compile (selected for compile)
    [DEBUG]     log4j:log4j:jar:1.2.12:compile (applying version: 1.2.8)
    [DEBUG]     logkit:logkit:jar:1.0.1:compile (selected for compile)
    [DEBUG]     avalon-framework:avalon-framework:jar:4.1.3:compile (selected for compile)
    [DEBUG]     javax.servlet:servlet-api:jar:2.3:compile (applying version: 2.4)
    [DEBUG]     javax.servlet:servlet-api:jar:2.4:compile (selected for compile)
    [DEBUG]   org.hibernate:hibernate:jar:3.2.3.ga:compile (selected for compile)
    [DEBUG]     javax.transaction:jta:jar:1.0.1B:compile (selected for compile)
    [DEBUG]     commons-logging:commons-logging:jar:1.0.4:compile (applying version: 1.1)
    [DEBUG]     asm:asm-attrs:jar:1.5.3:compile (selected for compile)
    [DEBUG]     dom4j:dom4j:jar:1.6.1:compile (applying version: 1.4)
    [DEBUG]     antlr:antlr:jar:2.7.6:compile (applying version: 2.7.2)
    [DEBUG]     antlr:antlr:jar:2.7.2:compile (selected for compile)
    [DEBUG]     commons-collections:commons-collections:jar:2.1.1:compile (applying version: 3.2)
    [DEBUG]   antlr:antlr:jar:2.7.2:compile (selected for compile)
    [DEBUG]   aopalliance:aopalliance:jar:1.0:compile (selected for compile)
    [DEBUG] org.codehaus.cargo:cargo-maven2-plugin:maven-plugin:0.2:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo-core-containers::0.8 for project: null:cargo-core-container-resin:jar:0.8 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo-core::0.8 for project: null:cargo-core-containers:pom:null from the repository.
    [DEBUG]   org.codehaus.cargo:cargo-core-container-resin:jar:0.8:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.cargo:cargo-core-api::0.8 for project: null:cargo-core-api-container:jar:0.8 from the repository.
    [DEBUG]     org.codehaus.cargo:cargo-core-api-container:jar:0.8:runtime (selected for runtime)
    [DEBUG]       org.codehaus.cargo:cargo-core-api-module:jar:0.8:runtime (selected for runtime)
    [DEBUG]         org.codehaus.cargo:cargo-core-api-util:jar:0.8:runtime (selected for runtime)
    [DEBUG]           ant:ant:jar:1.5.4:runtime (selected for runtime)
    [DEBUG]         xerces:xercesImpl:jar:2.6.2:runtime (selected for runtime)
    [DEBUG]         xml-apis:xml-apis:jar:1.3.02:runtime (selected for runtime)
    [DEBUG]         xalan:xalan:jar:2.6.0:runtime (selected for runtime)
    [DEBUG] While downloading xml-apis:xml-apis:2.0.2
      This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
     
     
    [DEBUG]           xml-apis:xml-apis:jar:1.0.b2:runtime (removed - nearer found: 1.3.02)
    [DEBUG]       org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.0:runtime (selected for runtime)
    [DEBUG]       ant:ant:jar:1.5.4:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-geronimo:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-orion:jar:0.8:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-jboss:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-jo:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-tomcat:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-jetty:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-container-weblogic:jar:0.8:runtime (selected for runtime)
    [DEBUG]   org.codehaus.cargo:cargo-core-api-generic:jar:0.8:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository.
    [DEBUG] Adding managed dependencies for unknown:maven-project
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
    [DEBUG] Adding managed dependencies for unknown:maven-profile
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
    [DEBUG] Adding managed dependencies for org.apache.maven:maven-model
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
    [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact-manager
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
    [DEBUG] Adding managed dependencies for org.apache.maven:maven-repository-metadata
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
    [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]       org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
    [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.codehaus.cargo:cargo-maven2-plugin:0.2:start' -->
    [DEBUG]   (s) containerId = tomcat5x
    [DEBUG]   (f) type = remote
    [DEBUG]   (s) container = org.codehaus.cargo.maven2.Container@ef83d3
    [DEBUG]   (f) type = remote
    [DEBUG]   (s) groupId = org.topcased.gpm
    [DEBUG]   (s) artifactId = gPM-ui-web
    [DEBUG]   (s) type = war
    [DEBUG]   (f) pingURL = http://topgdm1:8080/gPM-ui-web-1.5-SNAPSHOT/
    [DEBUG]   (f) deployables = [Lorg.codehaus.cargo.maven2.Deployable;@6d0040
    [DEBUG]   (s) deployer = org.codehaus.cargo.maven2.Deployer@2b9406
    [DEBUG]   (f) localRepository = [local] -> file://d:/maven2_repository
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@774d7843
    [DEBUG]   (f) repositories = [[ibiblio] -> http://mirrors.ibiblio.org/pub/mirrors/maven2, [codehaus-org] -> http://dist.codehaus.org, [andromda-org] -> http://team.andromda.org/maven2, [andromda-org-legacy] -> http://team.andromda.org/maven, [jibx] -> http://jibx.sourceforge.net/maven2, [apache.snapshots] -> http://people.apache.org/repo/m2-snapshot-repository, [maven2-repository.dev.java.net] -> http://download.java.net/maven/2, [maven-repository.dev.java.net] -> http://download.java.net/maven/1, [openqa] -> http://maven.openqa.org, [central] -> http://repo1.maven.org/maven2]
    [DEBUG]   (f) wait = true
    [DEBUG] -- end configuration --
    [INFO] [cargo:start]
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Only local containers can be started
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Only local containers can be started
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.plugin.MojoExecutionException: Only local containers can be started
        at org.codehaus.cargo.maven2.ContainerStartMojo.execute(ContainerStartMojo.java:57)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 2 seconds
    [INFO] Finished at: Mon Dec 10 14:50:24 CET 2007
    [INFO] Final Memory: 5M/12M
    [INFO] ------------------------------------------------------------------------
    Merci

    Le problème était lié à la version de Cargo

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 2
    Dernier message: 10/05/2011, 10h48
  2. cargo maven2 plugin
    Par bouclette dans le forum Maven
    Réponses: 2
    Dernier message: 16/10/2008, 18h26
  3. Plugin Cargo - Tomcat ; Seul deploy fonctionne
    Par hel22 dans le forum Maven
    Réponses: 3
    Dernier message: 28/11/2007, 16h36
  4. [Plugin][Sysdeo] Tomcat : problème d'installation
    Par yizashi dans le forum Eclipse Java
    Réponses: 5
    Dernier message: 21/03/2006, 22h55
  5. [Plugin][Sysdeo]Tomcat et eclipse 3.1
    Par marti dans le forum Eclipse Java
    Réponses: 5
    Dernier message: 15/09/2005, 14h59

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