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 :

Maestro 1.2 et les exemples Jetty et Equinox


Sujet :

Maven Java

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2003
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2003
    Messages : 98
    Points : 46
    Points
    46
    Par défaut Maestro 1.2 et les exemples Jetty et Equinox
    Bonjour,

    J'ai voulu utiliser maestro en me servant des exemples livrés avec le package, à savoir. Lorsque je crée tout bien comme il faut le projet Equinox, au moment de la création j'ai le message suivant sur la console :

    jvm 1 | 2007-05-29 13:21:03,588 [pool-4-thread-1] INFO ShellCommandHelper:default - Working directory: /home/maestro/maestro-1.2/project-server/data/continuum/working-directory/6
    jvm 1 | 2007-05-29 13:21:17,277 [SocketListener0-1] ERROR DispatcherUtils - Could not find action
    jvm 1 | There is no Action mapped for namespace / and action name proxy. Check if there is such an action name with such namespace defined in the xwork.xml and also if such an action classexists. Check also the log to see if the action class is successfully loaded. - [unknown location]
    jvm 1 | at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:72)
    jvm 1 | at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
    jvm 1 | at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216)
    jvm 1 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
    jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
    jvm 1 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    jvm 1 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
    jvm 1 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
    jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
    jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
    jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
    jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
    jvm 1 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
    jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
    jvm 1 | at org.mortbay.http.HttpServer.service(HttpServer.java:909)
    jvm 1 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
    jvm 1 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
    jvm 1 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
    jvm 1 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
    jvm 1 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    jvm 1 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    jvm 1 | 2007-05-29 13:21:19,633 [pool-4-thread-1] INFO ContinuumBuildExecutor:maven2 - Exit code: 1
    jvm 1 | 2007-05-29 13:21:19,879 [pool-4-thread-1] INFO BuildController:default - Performing action deploy-artifact


    A quoi celà est du?

    De plus j'ai un soucis. Le rapport de build est le suivant :

    INFO] Scanning for projects...
    Downloading: http://localhost:8080/archiva/proxy/...1.0-beta-2.pom
    [WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-provider-api:pom:1.0-beta-2' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/org/apache/maven...1.0-beta-2.pom
    [WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-provider-api:pom:1.0-beta-2' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://localhost:8080/archiva/proxy/...davlib-2.1.pom
    [WARNING] Unable to get resource 'slide:slide-webdavlib:pom:2.1' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/slide/slide-webd...davlib-2.1.pom
    [WARNING] Unable to get resource 'slide:slide-webdavlib:pom:2.1' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://localhost:8080/archiva/proxy/...ging-1.0.4.pom
    [WARNING] Unable to get resource 'commons-logging:commons-logging:pom:1.0.4' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/commons-logging/...ging-1.0.4.pom
    [WARNING] Unable to get resource 'commons-logging:commons-logging:pom:1.0.4' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://localhost:8080/archiva/proxy/...davlib-2.1.jar
    [WARNING] Unable to get resource 'slide:slide-webdavlib:jar:2.1' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/slide/slide-webd...davlib-2.1.jar
    [WARNING] Unable to get resource 'slide:slide-webdavlib:jar:2.1' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://localhost:8080/archiva/proxy/...1.0-beta-2.jar
    [WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/org/apache/maven...1.0-beta-2.jar
    [WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://localhost:8080/archiva/proxy/...ging-1.0.4.jar
    [WARNING] Unable to get resource 'commons-logging:commons-logging:jar:1.0.4' from repository maestro-project-server (http://localhost:8080/archiva/proxy)
    Downloading: http://192.168.0.91/commons-logging/...ging-1.0.4.jar
    [WARNING] Unable to get resource 'commons-logging:commons-logging:jar:1.0.4' from repository central (http://repo.mergere.com/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    Missing:
    ----------
    1) slide:slide-webdavlib:jar:2.1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=slide -DartifactId=slide-webdavlib \
    -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
    3) slide:slide-webdavlib:jar:2.1

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

    Try downloading the file manually from the project website.

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

    Path to dependency:
    1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

    3) commons-logging:commons-logging:jar:1.0.4

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=commons-logging -DartifactId=commons-logging \
    -Dversion=1.0.4 -Dpackaging=jar -Dfile=/path/to/file

    Path to dependency:
    1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
    2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2
    3) commons-logging:commons-logging:jar:1.0.4

    ----------
    3 required artifacts are missing.

    for artifact:
    com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT

    from the specified remote repositories:
    central (http://repo.mergere.com/maven2),
    maestro-project-server (http://localhost:8080/archiva/proxy)


    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3 seconds
    [INFO] Finished at: Tue May 29 13:09:42 CEST 2007
    [INFO] Final Memory: 1M/3M
    [INFO] ------------------------------------------------------------------------


    Apparemment il trouve rien du repository, qui pourtant, a l'air bien plein de toutes les librairies qu'il faut!!!

    HELP svp...

    Merci d'avance.

    Fred

  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
    Tous les artifacts ne sont pas dans fournis dans l'install.
    Est-ce que ton serveur a un accès à internet? utilises-tu un proxy pour aller sur le net?

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2003
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2003
    Messages : 98
    Points : 46
    Points
    46
    Par défaut
    Justement... c'est là que ça fait mal... Je n'ai pas d'accès internet.

    Donc, de mon côté, j'ai créé un repository "Fred" par l'interface d'archiva dans lequel j'ai placé tous les archetype qui sont dans le repository "Release".

    Ensuite j'ai édité le fichier settings.xml situé dans $HOME/.m2 et je lui ai dit de tout prendre dans le repository "Fred".

    Malheureusement il me dit que les autorisations ne collent pas au moment du build. et donc maven.wagon reste sur le carreau. C'est à dire qu'il n'arrive pas à le trouver alors qu'il est effectivement présent dans le repository "Fred"

    D'ailleurs tu trouveras le message qu'il m'est renvoyé
    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
     
    jvm 1    | 2007-05-29 17:12:27,240 [pool-4-thread-1] INFO  ShellCommandHelper:default     - Executing: /home/minatchy/maestro-1.2/maven/bin/mvn --batch-mode --non-recursive clean install
    jvm 1    | 2007-05-29 17:12:27,242 [pool-4-thread-1] INFO  ShellCommandHelper:default     - Working directory: /home/minatchy/maestro-1.2/project-server/data/continuum/working-directory/2
    jvm 1    | -->>> request ----------------------------------------------------------
    jvm 1    | --> http://192.168.0.91:8080/repository
    jvm 1    | GET /archiva/repository/fred/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom HTTP/1.1
    jvm 1    | Accept-Encoding: gzip
    jvm 1    | Pragma: no-cache
    jvm 1    | User-Agent: Java/1.5.0_08
    jvm 1    | Host: 192.168.0.91:8080
    jvm 1    | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    jvm 1    | Connection: keep-alive
    jvm 1    | Content-Type: application/x-www-form-urlencoded
    jvm 1    |
    jvm 1    | ------------------------------------------------------------------------
    jvm 1    | 29 mai 2007 17:12:35 org.mortbay.jetty.servlet.ServletHandler$Context log
    jvm 1    | INFO: RepositoryServlet: Authorization Denied [ip=192.168.0.91,isWriteRequest=false,permission=archiva-read-repository] : no matching permissions
    jvm 1    | -->>> request ----------------------------------------------------------
    jvm 1    | --> http://192.168.0.91:8080/repository
    jvm 1    | GET /archiva/repository/fred/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom HTTP/1.1
    jvm 1    | Accept-Encoding: gzip
    jvm 1    | Pragma: no-cache
    jvm 1    | User-Agent: Java/1.5.0_08
    jvm 1    | Host: 192.168.0.91:8080
    jvm 1    | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    jvm 1    | Connection: keep-alive
    jvm 1    | Content-Type: application/x-www-form-urlencoded
    jvm 1    |
    jvm 1    | ------------------------------------------------------------------------
    jvm 1    | 29 mai 2007 17:12:35 org.mortbay.jetty.servlet.ServletHandler$Context log
    jvm 1    | INFO: RepositoryServlet: Authorization Denied [ip=192.168.0.91,isWriteRequest=false,permission=archiva-read-repository] : no matching permissions
    jvm 1    | -->>> request ----------------------------------------------------------
    jvm 1    | --> http://192.168.0.91:8080/repository
    jvm 1    | GET /archiva/repository/fred/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar HTTP/1.1
    jvm 1    | Accept-Encoding: gzip
    jvm 1    | Pragma: no-cache
    jvm 1    | User-Agent: Java/1.5.0_08
    jvm 1    | Host: 192.168.0.91:8080
    jvm 1    | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    jvm 1    | Connection: keep-alive
    jvm 1    | Content-Type: application/x-www-form-urlencoded
    jvm 1    |
    jvm 1    | ------------------------------------------------------------------------
    jvm 1    | 29 mai 2007 17:12:35 org.mortbay.jetty.servlet.ServletHandler$Context log
    jvm 1    | INFO: RepositoryServlet: Authorization Denied [ip=192.168.0.91,isWriteRequest=false,permission=archiva-read-repository] : no matching permissions
    jvm 1    | -->>> request ----------------------------------------------------------
    jvm 1    | --> http://192.168.0.91:8080/repository
    jvm 1    | GET /archiva/repository/fred/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar HTTP/1.1
    jvm 1    | Accept-Encoding: gzip
    jvm 1    | Pragma: no-cache
    jvm 1    | User-Agent: Java/1.5.0_08
    jvm 1    | Host: 192.168.0.91:8080
    jvm 1    | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    jvm 1    | Connection: keep-alive
    jvm 1    | Content-Type: application/x-www-form-urlencoded
    jvm 1    |
    jvm 1    | ------------------------------------------------------------------------
    jvm 1    | 29 mai 2007 17:12:36 org.mortbay.jetty.servlet.ServletHandler$Context log
    jvm 1    | INFO: RepositoryServlet: Authorization Denied [ip=192.168.0.91,isWriteRequest=false,permission=archiva-read-repository] : no matching permissions
    jvm 1    | 2007-05-29 17:12:36,551 [pool-4-thread-1] INFO  ContinuumBuildExecutor:maven2  - Exit code: 1
    jvm 1    | 2007-05-29 17:12:36,859 [pool-4-thread-1] INFO  BuildController:default        - Performing action deploy-artifact

  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
    Je suppose que tu as défini un mirror dans ton settings.xml, exact?
    Dans ce cas, il faut que tu donnes les droits à l'utilisateur guest d'Archiva pour télécharger les artifacts.

  5. #5
    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
    Si je me souviens bien, c'est écrit dans la doc

  6. #6
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2003
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2003
    Messages : 98
    Points : 46
    Points
    46
    Par défaut
    Effectivement donner des droits à l'utilisateur Guest sur le nouveau repository a permis de faire avance le shmilblik....

    Mais forcément en problème en attire un autre.... Maintenant c'est les plug in qui ne sont pas vus.


    Effectivement bon nombres de packages sont téléchargés... mais lorsque Surefire doir être utilisé, le message suivant est généré dans le rapport :

    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
     
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin:pom:2.2' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin:pom:2.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
    [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-surefire-plugin:pom:2.2' from repository central (http://repo.mergere.com/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    GroupId: org.apache.maven.plugins
    ArtifactId: maven-surefire-plugin
    Version: 2.2
     
    Reason: Unable to download the artifact from any repository
     
      org.apache.maven.plugins:maven-surefire-plugin:pom:2.2
     
    from the specified remote repositories:
      central (http://repo.mergere.com/maven2),
      maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 17 seconds
    [INFO] Finished at: Wed May 30 11:32:50 CEST 2007
    [INFO] Final Memory: 2M/4M
    [INFO] ------------------------------------------------------------------------

    Par contre dans la doc j'ai pas vu où était indiqué l'astuce sur les droits de l'utilisateur Guest... Avec un peu de chance la réponse à ma question se trouve dans le même paragraphe...

    Merci d'avance en tout cas...

  7. #7
    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
    Envoie ton fichier settings.xml
    J'ai vérifié, ce n'est pas écrit dans la doc, désolé

  8. #8
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2003
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2003
    Messages : 98
    Points : 46
    Points
    46
    Par défaut
    Ci-joint tu trouveras mon fichier settings.xml

    Comme mon poste n'est pas raccordé à Internet j'ai décommenté les lignes suivantes du fichier /samples/equinox/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
     
      <repositories>
        <repository>
          <id>central</id>
          <name>Maestro Repository (installed on localhost)</name>
          <url>http://192.168.0.91:8080/archiva/repository/fred</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
    Et je viens de percuter à la lecture du pom.xml que toutes les archives ne sont pas présentes dans mon repository (je sais tu me l'as déjà dit mais c'est maintenant que j'imprime )

    Je te livre donc également le résultat d'un build que j'ai fait.... Il me manque tout plein de librairies.

    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
     
    [INFO] Scanning for projects...
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
    [WARNING] Unable to get resource 'org.codehaus.plexus:plexus-utils:pom:1.0.4' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
    [WARNING] Unable to get resource 'commons-logging:commons-logging:pom:1.0.3' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    WAGON_VERSION: 1.0-beta-2
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Equinox
    [INFO]    task-segment: [clean, install]
    [INFO] ----------------------------------------------------------------------------
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-plugin-api:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-plugin-api:pom:2.0' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-plugin-api:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    [INFO] [clean:clean]
    [INFO] Deleting directory /home/minatchy/maestro-1.2/project-server/data/continuum/working-directory/11/target
    [INFO] Deleting directory /home/minatchy/maestro-1.2/project-server/data/continuum/working-directory/11/target/classes
    [INFO] Deleting directory /home/minatchy/maestro-1.2/project-server/data/continuum/working-directory/11/target/test-classes
    [INFO] Deleting directory /home/minatchy/maestro-1.2/project-server/data/continuum/working-directory/11/target/site
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-model:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-model:pom:2.0' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-model:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-project:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-project:pom:2.0' from repository central (http://repo.mergere.com/maven2)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
    [WARNING] Unable to get resource 'org.apache.maven:maven-project:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/httpunit/httpunit/1.6/httpunit-1.6.pom
    [WARNING] Unable to get resource 'httpunit:httpunit:pom:1.6' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/springframework/spring-mock/2.0-m1/spring-mock-2.0-m1.pom
    [WARNING] Unable to get resource 'org.springframework:spring-mock:pom:2.0-m1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.pom
    [WARNING] Unable to get resource 'org.springframework:spring-hibernate3:pom:2.0-m1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom
    [WARNING] Unable to get resource 'javax.servlet:servlet-api:pom:2.4' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/jmock/jmock/1.0.1/jmock-1.0.1.pom
    [WARNING] Unable to get resource 'jmock:jmock:pom:1.0.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/jsp-api/2.0/jsp-api-2.0.pom
    [WARNING] Unable to get resource 'javax.servlet:jsp-api:pom:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/uk/ltd/getahead/dwr/1.0/dwr-1.0.pom
    [WARNING] Unable to get resource 'uk.ltd.getahead:dwr:pom:1.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/springmodules/springmodules-validator/0.1/springmodules-validator-0.1.pom
    [WARNING] Unable to get resource 'springmodules:springmodules-validator:pom:0.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/opensymphony/sitemesh/2.2.1/sitemesh-2.2.1.pom
    [WARNING] Unable to get resource 'opensymphony:sitemesh:pom:2.2.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/log4j/log4j/1.2.9/log4j-1.2.9.pom
    144b downloaded
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/jstl/1.1.2/jstl-1.1.2.pom
    [WARNING] Unable to get resource 'javax.servlet:jstl:pom:1.1.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/jwebunit/jwebunit/1.2/jwebunit-1.2.pom
    [WARNING] Unable to get resource 'jwebunit:jwebunit:pom:1.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/springframework/spring-webmvc/2.0-m1/spring-webmvc-2.0-m1.pom
    [WARNING] Unable to get resource 'org.springframework:spring-webmvc:pom:2.0-m1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/taglibs/standard/1.1.2/standard-1.1.2.pom
    [WARNING] Unable to get resource 'taglibs:standard:pom:1.1.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.pom
    [WARNING] Unable to get resource 'hsqldb:hsqldb:pom:1.8.0.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/displaytag/displaytag/1.1/displaytag-1.1.pom
    [WARNING] Unable to get resource 'displaytag:displaytag:pom:1.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.pom
    [WARNING] Unable to get resource 'geronimo-spec:geronimo-spec-jta:pom:1.0.1B-rc4' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/displaytag/displaytag/1.1/displaytag-1.1.jar
    [WARNING] Unable to get resource 'displaytag:displaytag:jar:1.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
    [WARNING] Unable to get resource 'javax.servlet:servlet-api:jar:2.4' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/opensymphony/sitemesh/2.2.1/sitemesh-2.2.1.jar
    [WARNING] Unable to get resource 'opensymphony:sitemesh:jar:2.2.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/taglibs/standard/1.1.2/standard-1.1.2.jar
    [WARNING] Unable to get resource 'taglibs:standard:jar:1.1.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/springframework/spring-webmvc/2.0-m1/spring-webmvc-2.0-m1.jar
    [WARNING] Unable to get resource 'org.springframework:spring-webmvc:jar:2.0-m1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/springmodules/springmodules-validator/0.1/springmodules-validator-0.1.jar
    [WARNING] Unable to get resource 'springmodules:springmodules-validator:jar:0.1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar
    [WARNING] Unable to get resource 'javax.servlet:jstl:jar:1.1.2' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/org/springframework/spring-hibernate3/2.0-m1/spring-hibernate3-2.0-m1.jar
    [WARNING] Unable to get resource 'org.springframework:spring-hibernate3:jar:2.0-m1' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.jar
    [WARNING] Unable to get resource 'geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar
    [WARNING] Unable to get resource 'javax.servlet:jsp-api:jar:2.0' from repository maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
    Downloading: http://192.168.0.91:8080/archiva/repository/fred/log4j/log4j/1.2.9/log4j-1.2.9.jar
    344K downloaded
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
     
    Missing:
    ----------
    1) displaytag:displaytag:jar:1.1
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=displaytag -DartifactId=displaytag \
              -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) displaytag:displaytag:jar:1.1
     
    2) javax.servlet:servlet-api:jar:2.4
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=javax.servlet -DartifactId=servlet-api \
              -Dversion=2.4 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) javax.servlet:servlet-api:jar:2.4
     
    3) opensymphony:sitemesh:jar:2.2.1
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=opensymphony -DartifactId=sitemesh \
              -Dversion=2.2.1 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) opensymphony:sitemesh:jar:2.2.1
     
    4) taglibs:standard:jar:1.1.2
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=taglibs -DartifactId=standard \
              -Dversion=1.1.2 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) taglibs:standard:jar:1.1.2
     
    5) org.springframework:spring-webmvc:jar:2.0-m1
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-webmvc \
              -Dversion=2.0-m1 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) org.springframework:spring-webmvc:jar:2.0-m1
     
    6) springmodules:springmodules-validator:jar:0.1
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=springmodules -DartifactId=springmodules-validator \
              -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) springmodules:springmodules-validator:jar:0.1
     
    7) javax.servlet:jstl:jar:1.1.2
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=javax.servlet -DartifactId=jstl \
              -Dversion=1.1.2 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) javax.servlet:jstl:jar:1.1.2
     
    8) org.springframework:spring-hibernate3:jar:2.0-m1
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-hibernate3 \
              -Dversion=2.0-m1 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) org.springframework:spring-hibernate3:jar:2.0-m1
     
    9) geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=geronimo-spec -DartifactId=geronimo-spec-jta \
              -Dversion=1.0.1B-rc4 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4
     
    10) javax.servlet:jsp-api:jar:2.0
     
      Try downloading the file manually from the project website.
     
      Then, install it using the command: 
          mvn install:install-file -DgroupId=javax.servlet -DartifactId=jsp-api \
              -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file
     
      Path to dependency: 
      	1) com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
      	2) javax.servlet:jsp-api:jar:2.0
     
    ----------
    10 required artifacts are missing.
     
    for artifact: 
      com.mergere.maestro.samples.equinox:equinox:war:1.6-SNAPSHOT
     
    from the specified remote repositories:
      central (http://192.168.0.91:8080/archiva/repository/fred),
      maestro-project-server (http://192.168.0.91:8080/archiva/repository/fred)
     
     
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 11 seconds
    [INFO] Finished at: Wed May 30 13:56:36 CEST 2007
    [INFO] Final Memory: 4M/8M
    [INFO] ------------------------------------------------------------------------
    Je vais tenter de télécharger les jar qu'il me manque... éventuellement si tu connais une petite application qui permet de récuperer plusieurs fichiers d'un coup je suis preneur.... (récupérer les archives une par une ça motive moyennement)
    Fichiers attachés Fichiers attachés

  9. #9
    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
    Si tu peux utiliser rsync, tu pourras tout récupérer en une seul commande: http://maven.apache.org/guides/mini/...-settings.html

  10. #10
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2003
    Messages
    98
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2003
    Messages : 98
    Points : 46
    Points
    46
    Par défaut
    Ben apparemment ça ne fonctionne pas... je vais le faire de chez moi... pas grave....

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

Discussions similaires

  1. Jasperserver repertoire ou se trouve les exemples
    Par pmono dans le forum Jasperserver
    Réponses: 3
    Dernier message: 08/07/2008, 10h22
  2. [Apache CXF] Pb pour tester les exemples
    Par FlorentBVN dans le forum Services Web
    Réponses: 1
    Dernier message: 26/03/2008, 16h54
  3. Réponses: 3
    Dernier message: 28/08/2007, 09h13
  4. [FOP] Problème avec les exemples fournis
    Par Androrion dans le forum XML/XSL et SOAP
    Réponses: 10
    Dernier message: 22/08/2006, 14h54
  5. [DOM] probleme avec les exemples Xerces.
    Par brune dans le forum Format d'échange (XML, JSON...)
    Réponses: 2
    Dernier message: 26/05/2004, 10h23

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