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 :

Probleme de Deploy Maven2


Sujet :

Maven Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Inscrit en
    Juin 2007
    Messages
    28
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 28
    Par défaut Probleme de Deploy Maven2
    Bonjour bonjour braves gens, j´ai besoin de votre aide.

    En effet je suis en train de decouvrir maven dans le cadre de mon stage, et j´ai comprit beaucoup de choses deja.
    Mon probleme est que je n´arrive pas a utiliser dans mon projet des jars externes, mis en ligne avec archiva.

    J´ai projetA(appelé "newTest") qui a besoin de projetB(appelé "WindowApp")
    J´arrive a mettre des artefacts de projetB en ligne avec archiva et "mvn deploy", mais sous cette forme :
    (j´ai remplacé mon nom de domaine par "localhost")

    http://localhost:8080/archiva/reposi...1.0-SNAPSHOT/:
    windowApp-1.0-20080317.122025-28.jar
    windowApp-1.0-20080317.122025-28.jar.md5
    windowApp-1.0-20080317.122025-28.jar.sha1
    windowApp-1.0-20080317.122025-28.pom
    windowApp-1.0-20080317.122025-28.pom.md5
    windowApp-1.0-20080317.122025-28.pom.sha1

    Et quand j´essaye de compiler ProjetA, il ne trouve pas l´artefact de ProjetB:
    Maven cherche l´artifact : windowApp-1.0-SNAPSHOT.jar

    Le fichier est present dans mon repository local (.m2/repository/) mais pas en ligne ou il n´y a que les artefacts avec comme nom, les noms de versions.(comme decrit juste au dessus )

    Voici le fichier settings.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
    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
    <settings xmlns=			 "http://maven.apache.org/POM/4.0.0"
    		  xmlns:xsi=		 "http://www.w3.org/2001/XMLSchema-instance"
    		  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
                          		  http://maven.apache.org/xsd/settings-1.0.0.xsd"
                          		  >
    	<localRepository>
    		C:\Dokumente und Einstellungen\yma\.m2\repository
    	</localRepository>	
    	<proxies>
    		<proxy>
    			<active>true</active>
    			<protocol>http</protocol>
    			<host>192.168.0.3</host>
    			<port>8080</port>
    			<id>defproxy</id>
    			<nonProxyHosts>127.0.0.1|localhost|maven.ethalon.de</nonProxyHosts>
    		</proxy>
    	</proxies>
     
    	<servers>	
    	      <server>
    	        <id>snapshots</id>
    	        <username>admin</username>
    	        <password>password</password>
    	      </server>
    	</servers>
     
    	 <mirrors>
    	    	<!--   -->
    	    <mirror>
    	      <id>archiva.default</id>
    	      <url>http://localhost:8080/archiva/repository/internal</url>
    	      <mirrorOf>central</mirrorOf>
    	    </mirror>
      	</mirrors> 
     
    	<profiles>
    		<profile>
    			<id>default</id>
    			<activation>
    				<activeByDefault>true</activeByDefault>
    			</activation>
    			<repositories>
    				<repository>
    					<id>internal</id>   
    					<url>http://localhost:8080/archiva/repository/internal</url>
    					<releases><enabled>true</enabled></releases>
    					<snapshots><enabled>false</enabled></snapshots>
    				</repository>
     
    				<repository>
    					<id>snapshots</id>	 
    					<url>http://localhost:8080/archiva/repository/snapshots</url>
    					<releases><enabled>true</enabled></releases>
    					<snapshots><enabled>true</enabled></snapshots>
    				</repository>
     
    			</repositories>
    		</profile>
    	</profiles>
    </settings>
    Pom.xml du windowApp (projetB)
    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
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>yannick.app</groupId>
      <artifactId>windowApp</artifactId>
      <packaging>jar</packaging>
      <version>1.0-SNAPSHOT</version>
      <name>windowApp</name>
      <url>http://maven.apache.org</url>
     
      <build>
      <extensions>
          <extension>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-webdav</artifactId>
            <version>1.0-beta-2</version>
          </extension>
        </extensions>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
              <archive>
    			<manifest>
                  <packageName>yannick.app</packageName>
                </manifest>
                <manifestEntries>
                  <mode>development</mode>
                  <url>${pom.url}</url>
                </manifestEntries>
                <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
              </archive>
            </configuration>
          </plugin>
        </plugins>
      </build>
        <repositories>
        <repository>
    	      <releases><enabled>false</enabled></releases>
    	      <snapshots />
    	      <id>snapshots</id>
    	      <name>Archiva Managed Snapshot Repository</name>
    	      <url>http://localhost:8080/archiva/repository/snapshots</url>
        </repository>
        <repository>
    	      <releases />
    	      <snapshots><enabled>false</enabled></snapshots>
    	      <id>internal</id>
    	      <name>Archiva Managed Internal Repository</name>
    	      <url>http://localhost:8080/archiva/repository/internal</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>3.8.1</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
     
        <distributionManagement>
    	    <repository>
    		      <id>internal</id>
    		      <name>Archiva Managed Internal Repository</name>
    		      <url>dav:http://localhost:8080/archiva/repository/internal</url>
    	    </repository>
    	    <snapshotRepository>
    		      <id>snapshots</id>
    		      <name>Archiva Managed Snapshot Repository</name>
    		      <url>dav:http://localhost:8080/archiva/repository/snapshots</url>
    	    </snapshotRepository>
      </distributionManagement>
    </project>
    Et le fichier pom.xml du projet newTest (projetA)
    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
    <?xml version="1.0" encoding="UTF-8"?><project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>yannick.test</groupId>
      <artifactId>newTest</artifactId>
      <name>newTest</name>
      <version>1.0-SNAPSHOT</version>
      <url>http://maven.apache.org</url>
      <build>
        <extensions>
          <extension>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-webdav</artifactId>
            <version>1.0-beta-2</version>
          </extension>
        </extensions>
      </build>
      <repositories>
        <repository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots />
          <id>snapshots</id>
          <name>Archiva Managed Snapshot Repository</name>
          <url>http://localhost:8080/archiva/repository/snapshots</url>
        </repository>
        <repository>
          <releases />
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>internal</id>
          <name>Archiva Managed Internal Repository</name>
          <url>http://localhost:8080/archiva/repository/internal</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>3.8.1</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>yannick.app</groupId>
          <artifactId>windowApp</artifactId>
          <version>1.0-SNAPSHOT</version>
        </dependency>
      </dependencies>
      <distributionManagement>
        <repository>
          <id>internal</id>
          <name>Archiva Managed Internal Repository</name>
          <url>dav:http://localhost:8080/archiva/repository/internal</url>
        </repository>
        <snapshotRepository>
          <id>snapshots</id>
          <name>Archiva Managed Snapshot Repository</name>
          <url>dav:http://localhost:8080/archiva/repository/snapshots</url>
        </snapshotRepository>
      </distributionManagement>
    </project>
    Quand j´ai fait ma derniere compilation, j´ai supprimé le package du projetB de mon repository local, pour que maven aille chercher celui sur archiva. Voici le message d´erreur:

    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
    C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest>mvn install
    [INFO] Scanning for projects...
    WAGON_VERSION: 1.0-beta-2
    [INFO] ------------------------------------------------------------------------
    [INFO] Building newTest
    [INFO]    task-segment: [install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    
    Downloading: http://localhost:8080/archiva/repository/snapshots/yannick/app/windowApp/1.0-SNAPSHOT/windowApp-1.0-SNAPSHOT.pom
    Downloading: http://localhost:8080/archiva/repository/snapshots/yannick/app/windowApp/1.0-SNAPSHOT/windowApp-1.0-SNAPSHOT.jar
    
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
    
    Missing:
    ----------
    1) yannick.app:windowApp:jar:1.0-SNAPSHOT
    
      Try downloading the file manually from the project website.
    
      Then, install it using the command:
          mvn install:install-file -DgroupId=yannick.app -DartifactId=windowApp -Dve
    rsion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
    
      Alternatively, if you host your own repository you can deploy the file there:
    
          mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dvers
    ion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId
    =[id]
    
      Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
    
    ----------
    1 required artifact is missing.
    
    for artifact:
      yannick.test:newTest:jar:1.0-SNAPSHOT
    
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
    
    
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 11 seconds
    [INFO] Finished at: Mon Mar 17 14:21:10 CET 2008
    [INFO] Final Memory: 4M/7M
    [INFO] ------------------------------------------------------------------------
    
    C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest>

    Donc en gros, pour resumer, mon projetB, deployé dans mon repository local, ca marche !
    Et une fois qu´il n´est plus en local, et seulement sous archiva, je ne peux plus m´en servir.Est-ce normal que les noms de jars soient avec les numeros de version, et qu´il n´y ai aucun "windowApp-1.0-SNAPSHOT.jar " ? Je pense que si je pouvais gerer ca au niveau du deploy, une partie du probleme serait resolu. Ce fichier est present dans le repository local, mais pas sur archiva.

    Si vous pouviez me filer quelques tuyaux, ca m´enleverai une enorme epine du pied.
    Je vous remercie par avance, j´espere avoir donné les information qu´il faut.

  2. #2
    Membre éclairé 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
    Par défaut
    Citation Envoyé par madjic_ouf
    Est-ce normal que les noms de jars soient avec les numeros de version, et qu´il n´y ai aucun "windowApp-1.0-SNAPSHOT.jar " ?
    Oui c'est normal;pour chaque mvn deploy de ton projet versionné en snapshot l'artifact sera "deployé" avec un numero represantant date-heure-numero-Sequence a la place du suffixe SNAPSHOT . Cela permet d'utiliser la puissance de Maven pour la gestion des artifacts en SNAPSHOT lorsque celui ci est "consommé par un autre projet (i-e la recherche de la derniere version deployée sur ton repository).


    Maintenant peux tu ajouter la log en mode debug stp ?

  3. #3
    Membre averti
    Inscrit en
    Juin 2007
    Messages
    28
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 28
    Par défaut
    ok, je fait ca des demain.(je suis pas sur l´ordi du boulot la)

    Par contre, petite question sur mon settings.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
    <servers>	
    	      <server>
    	        <id>snapshots</id>
    	        <username>admin</username>
    	        <password>password</password>
    	      </server>
    	</servers>
     
    	 <mirrors>
    	    	<!--   -->
    	    <mirror>
    	      <id>archiva.default</id>
    	      <url>http://localhost:8080/archiva/repository/internal</url>
    	      <mirrorOf>central</mirrorOf>
    	    </mirror>
      	</mirrors>
    Pour les balises "server", quand je met id= internal : ca plante.
    J´ai essayé en mettant "snapshots" et ca a marché (enfin, disons plutot que ca a compilé) , mais ca chamboule mon exemple, donc je sais pas si c´est bon.

    Pareil avec la balise "Mirror", mirrorOf=* : Ca plante, mirrorOf=central : ca compile.
    Si ca vous interesse je peux aussi mettre les messages d´erreur demain.

    Sinon, merci d´avoir repondu, c´est cool , l´espoir revient.

  4. #4
    Membre averti
    Inscrit en
    Juin 2007
    Messages
    28
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 28
    Par défaut
    Bon alors attention, c´est du lourd :
    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
    438
    439
    440
    441
    442
    443
    C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest>mvn -X i
    nstall
    + Error stacktraces are turned on.
    Maven version: 2.0.8
    Java version: 1.5.0_13
    OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
    [DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente und Einstellungen\yma\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from:'C:\development\tools\apache-maven-2.0.8\bin\..\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [DEBUG] Initialising extension: org.apache.maven.wagon:wagon-webdav
    [DEBUG] Retrieving parent-POM:org.apache.maven.wagon:wagon-providers::1.0-beta-2 for project: null:wagon-webdav:jar:1.0-beta-2 from the repository.
    [DEBUG] Retrieving parent-POM:org.apache.maven.wagon:wagon::1.0-beta-2 for project: null:wagon-providers:pom:null from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for project: org.apache.maven.wagon:wagon:pom:1.0-beta-2 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:org.apache.maven:maven-parent:pom:4 from the repository.
    [DEBUG] Adding managed dependencies for unknown:wagon-webdav
    [DEBUG]   org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
    [DEBUG]   org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2:test
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
    [DEBUG]   org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
    [DEBUG]   junit:junit:jar:3.8.1
    [DEBUG]   org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
    [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
    [DEBUG] yannick.test:newTest:jar:1.0-SNAPSHOT (selected for null)
    [DEBUG]   slide:slide-webdavlib:jar:2.1:runtime (selected for runtime)
    [DEBUG]     commons-httpclient:commons-httpclient:jar:2.0.2:runtime (selected for runtime)
    [DEBUG]       commons-logging:commons-logging:jar:1.0.3:runtime (selected for runtime)
    [DEBUG]     jdom:jdom:jar:1.0:runtime (selected for runtime)
    [DEBUG]     de.zeigermann.xml:xml-im-exporter:jar:1.1:runtime (selected for runtime)
    [DEBUG]   commons-logging:commons-logging:jar:1.0.3:runtime (removed - nearer found: 1.0.4)
    [DEBUG]   commons-logging:commons-logging:jar:1.0.4: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.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2:runtime (selected for runtime)
    [DEBUG] Adding managed dependencies for unknown:wagon-provider-api
    [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
    [DEBUG]   org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
    [DEBUG]   org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2
    [DEBUG]   org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
    [DEBUG]   junit:junit:jar:3.8.1
    [DEBUG]   org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
    [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-beta-2:runtime (se
    lected 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-beta-2:runtime (sele
    cted for runtime)
    [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\slide\slide-webdavlib\2.1\slide-webdavlib-2.1.jar
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\commons-httpclient\commons-httpclient\2.0.2\commons-httpclient-2.0.2.ja
    r
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\de\zeigermann\xml\xml-im-exporter\1.1\xml-im-exporter-1.1.jar
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar
    [DEBUG] Adding to extension classpath: C:\Dokumente und Einstellungen\yma\.m2\repository\org\apache\maven\wagon\wagon-webdav\1.0-beta-2\wagon-webdav-1.0-beta-2.
    jar
    -----------------------------------------------------
    this realm = app0.child-container[extensions]
    urls[0] = file:/C:/Dokumente undEinstellungen/yma/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
    urls[1] = file:/C:/Dokumente undEinstellungen/yma/.m2/repository/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar
    urls[2] = file:/C:/Dokumente und Einstellungen/yma/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
    urls[3] = file:/C:/Dokumente und Einstellungen/yma/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
    urls[4] = file:/C:/Dokumente und Einstellungen/yma/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
    urls[5] = file:/C:/Dokumente und Einstellungen/yma/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
    urls[6] = file:/C:/Dokumente und Einstellungen/yma/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
    Number of imports: 0
     
     
    this realm = plexus.core
    urls[0] = file:/C:/development/tools/apache-maven-2.0.8/bin/../lib/maven-2.0.8-u
    ber.jar
    Number of imports: 0
    -----------------------------------------------------
    WAGON_VERSION: 1.0-beta-2
    [INFO] ------------------------------------------------------------------------
    [INFO] Building newTest
    [INFO]    task-segment: [install]
    [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] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
    [DEBUG] maven-compiler-plugin: resolved to version 2.0.2 from repository central
     
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
    [DEBUG] maven-surefire-plugin: resolved to version 2.4.2 from repository central
     
    [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.4.2 for project: org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null from therepository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::7 for project: org.apache.maven.surefire:surefire:pom:2.4.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache:apache::4 for project: org.apache.maven:maven-parent:pom:7 from the repository.
    [DEBUG] Adding managed dependencies for org.apache.maven.plugins:maven-surefire-plugin
    [DEBUG]   org.apache.maven.surefire:surefire-api:jar:2.4.2
    [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.2
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.9
    [DEBUG] maven-jar-plugin: resolved to version 2.2 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::10 for project: null:maven-jar-plugin:maven-plugin:2.2 from the repository.
    [DEBUG] maven-install-plugin: resolved to version 2.2 from repository central
    [DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
     (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository.
    [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 (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.1:runtime (selected for runtime)
    [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]       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-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.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
    [DEBUG]   (f) filters = []
    [DEBUG]   (f) outputDirectory = C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest\target\classes
    [DEBUG]   (f) project = MavenProject: yannick.test:newTest:1.0-SNAPSHOT @ C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest\pom.xml
    [DEBUG]   (f) resources = [org.apache.maven.model.Resource@1835282]
    [DEBUG] -- end configuration --
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [DEBUG] yannick.test:newTest:jar:1.0-SNAPSHOT (selected for null)
    [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
    [DEBUG] Skipping disabled repository internal
    [DEBUG] Skipping disabled repository central
    [DEBUG] windowApp: using locally installed snapshot
    [DEBUG] Skipping disabled repository internal
    [DEBUG] Trying repository snapshots
    Downloading: http://localhost:8080/archiva/repository/snapshots/yannick/app/windowApp/1.0-SNAPSHOT/windowApp-1.0-SNAPSHOT.pom
    [DEBUG] Unable to get resource 'yannick.app:windowApp:pom:1.0-SNAPSHOT' from repository snapshots (http://localhost:8080/archiva/repository/snapshots)
    [DEBUG] Skipping disabled repository central
    [DEBUG] Artifact not found - using stub model: Unable to download the artifact from any repository
     
      yannick.app:windowApp:pom:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
    [DEBUG] Using defaults for missing POM yannick.app:windowApp:pom:1.0-SNAPSHOT:compile
    [DEBUG]   yannick.app:windowApp:jar:1.0-SNAPSHOT:compile (selected for compile)
    [DEBUG] windowApp: using locally installed snapshot
    [DEBUG] Skipping disabled repository internal
    [DEBUG] Trying repository snapshots
    Downloading: http://localhost:8080/archiva/repository/snapshots/yannick/app/windowApp/1.0-SNAPSHOT/windowApp-1.0-SNAPSHOT.jar
    [DEBUG] Unable to get resource 'yannick.app:windowApp:jar:1.0-SNAPSHOT' from repository snapshots (http://localhost:8080/archiva/repository/snapshots)
    [DEBUG] Skipping disabled repository central
    [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=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     
    Alternatively, if you host your own repository you can deploy the file there:
        mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[
    id]
     
    Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
     
      yannick.app:windowApp:jar:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
    org.apache.maven.artifact.resolver.ArtifactNotFoundException: 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=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     
    Alternatively, if you host your own repository you can deploy the file there:
        mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
    Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
     
      yannick.app:windowApp:jar:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
    faultArtifactResolver.java:206)
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
    faultArtifactResolver.java:73)
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:303)
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:280)
            at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende
    ncies(DefaultPluginManager.java:1246)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
    nManager.java:401)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
    ultLifecycleExecutor.java:539)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
    fecycle(DefaultLifecycleExecutor.java:480)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
    ltLifecycleExecutor.java:459)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
    dleFailures(DefaultLifecycleExecutor.java:311)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
    ts(DefaultLifecycleExecutor.java:278)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
    fecycleExecutor.java:143)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
            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.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
            at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
    aultWagonManager.java:324)
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
    faultArtifactResolver.java:194)
            ... 22 more
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    Missing:
    ----------
    1) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=yannick.app -DartifactId=windowApp -Dve
    rsion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     
      Alternatively, if you host your own repository you can deploy the file there:
     
          mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
    ----------
    1 required artifact is missing.
     
    for artifact:
      yannick.test:newTest:jar:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
     
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
    ----------
    1) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     
      Alternatively, if you host your own repository you can deploy the file there:
     
          mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
    ----------
    1 required artifact is missing.
     
    for artifact:
      yannick.test:newTest:jar:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
    ultLifecycleExecutor.java:556)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
    fecycle(DefaultLifecycleExecutor.java:480)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
    ltLifecycleExecutor.java:459)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
    dleFailures(DefaultLifecycleExecutor.java:311)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
    ts(DefaultLifecycleExecutor.java:278)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
    fecycleExecutor.java:143)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
            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) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command:
          mvn install:install-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     
      Alternatively, if you host your own repository you can deploy the file there:
     
          mvn deploy:deploy-file -DgroupId=yannick.app -DartifactId=windowApp -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     
      Path to dependency:
            1) yannick.test:newTest:jar:1.0-SNAPSHOT
            2) yannick.app:windowApp:jar:1.0-SNAPSHOT
     
    ----------
    1 required artifact is missing.
     
    for artifact:
      yannick.test:newTest:jar:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://localhost:8080/archiva/repository/snapshots),
      internal (http://localhost:8080/archiva/repository/internal)
     
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:316)
            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
    nsitively(DefaultArtifactResolver.java:280)
            at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende
    ncies(DefaultPluginManager.java:1246)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
    nManager.java:401)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
    ultLifecycleExecutor.java:539)
            ... 16 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 13 seconds
    [INFO] Finished at: Tue Mar 18 09:38:01 CET 2008
    [INFO] Final Memory: 4M/8M
    [INFO] ------------------------------------------------------------------------
     
    C:\Dokumente und Einstellungen\yma\IBM\rationalsdp7.0\workspace\newTest>
    Je vais y jeter un oeil aussi, je connaissait pas le mode debug.

    Aprés lecture, le truc qui me chagrine est le suivant:
    (vers le milieu du message d´erreur, lignes 197-207 dans mon editeur de texte)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    Downloading: http://reqeth77:8080/archiva/repository/snapshots/yannick/app/windowApp/1.0-SNAPSHOT/windowApp-1.0-SNAPSHOT.pom
    [DEBUG] Unable to get resource 'yannick.app:windowApp:pom:1.0-SNAPSHOT' from repository snapshots (http://reqeth77:8080/archiva/repository/snapshots)
    [DEBUG] Skipping disabled repository central
    [DEBUG] Artifact not found - using stub model: Unable to download the artifact from any repository
     
      yannick.app:windowApp:pom:1.0-SNAPSHOT
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      snapshots (http://reqeth77:8080/archiva/repository/snapshots),
      internal (http://reqeth77:8080/archiva/repository/internal)
    C´est quand meme ce fichier qu´il cherche (windowApp-1.0-SNAPSHOT.pom) alors qu´il n´existe pas, c´est ca que j´ai: windowApp-1.0-20080317.144230-29.pom .
    En meme temps, daniel si tu dis que c´est normal, il faut peut etre pas que je m´inquiete, mais ca me turlupine un peu quand meme.

  5. #5
    Membre averti
    Inscrit en
    Juin 2007
    Messages
    28
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 28
    Par défaut
    EDIT: Bon alors, ca a marché les enfants !
    En effet, maven trouve tout de suite la version, ca marche.

    Dans mes exemples, je bossais sur une machine distante, j´ai mis l´adresse "localhost" pour l´exemple.
    Et la, comme ca, histoire de, comme j´avait rien d´autre a faire, j´ai installé archiva en local , a savoir localhost:8080, et ca a marché parfaitement.
    Il a quand meme fallu que je mette les balises <mirror> du fichier "settings.xml" en commentaire, je capte pas pourquoi, mais depuis ca marche.

    Aucun souci, comme une lettre a la poste, il a telechargé l´artifact comme un grand garcon.
    A la limite, maintenant, le vrai souci, est de savoir pourquoi le fait d´etre sur une machine distante a fait planté.
    Je comprend pas trop les histoires de proxy, <server>, <mirror> etc...
    Une lumiere eclairée pourrait elle jeter un oeil aux fichiers et me suggerer une solution ? Cela remplirait mon coeur d´allegresse.

    Merci d´avance.

    Edit: Oui, je confirme, je peux maintenant tester sur un archiva local, et un distant.
    En me contentant de changer les adresses des repo dans mon settings.xml et dans les fichiers pom, ca plante pour les repos distants (donc l´exemple decrit plus haut ne marche toujours pas).
    Ca doit donc venir des config reseau, proxy et autres.
    Et c´est justement ca ou je capte que dalle

  6. #6
    Membre averti
    Inscrit en
    Juin 2007
    Messages
    28
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 28
    Par défaut
    Je me souviendrait toute ma vie du moment ou le collegue est venu me donner un coup de main :
    Il a meme pas lu les erreurs, il connaissait pas archiva, et tres peu maven.
    Sous eclipse, il a fait : "projet" -> "clean", on a recompilé, ca a marché, et il est parti.
    Je me sent honteux.
    En meme temps, maintenantm je connais un petit truc sous eclipse.

Discussions similaires

  1. problem de deployement d'une application
    Par verdi-verda dans le forum Tomcat et TomEE
    Réponses: 2
    Dernier message: 15/08/2007, 17h55
  2. [AXIS]Probleme avec deploy.wsdd
    Par ludovic85 dans le forum Services Web
    Réponses: 6
    Dernier message: 31/01/2007, 16h42
  3. [JBoss][Eclipse & XDoclet] Problème au deploy d'une servlet
    Par zegreg dans le forum Wildfly/JBoss
    Réponses: 6
    Dernier message: 04/04/2006, 20h35
  4. [TomCat] probleme de deploy
    Par The_freeman dans le forum Tomcat et TomEE
    Réponses: 6
    Dernier message: 21/02/2006, 11h36
  5. [EasyPHP] Probleme de deployement d'une application PHP sous linux
    Par stomerfull dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 3
    Dernier message: 16/01/2006, 15h39

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