Bonjour,
j'ai créé un projet web avec un serveur GlassFish.
Jusqu'ici tout allait bien : j'arrivais à déployer mon appli en utilisant la Vue Servers d'Eclipse (new server wizard...).

J'ai voulu maveniser mon projet afin de faciliter son déploiement.
J'ai créé le pom.xml, j'ai fait mvn eclipse:eclipse puis mvn install.
Tout va très bien j'ai mon fichier war que je peux déployer.

Par contre, je n'arrive plus à déployer mon application en utilisant la Vue Servers d'Eclipse (new server wizard...) : à la 3e étape de l'assistant, quand il faut choisir l'application à déployer, mon application n'apparait plus dans la partie gauche de l'écran.

Quelqu'un peut-il me dire ce que j'ai mal fait ?

Voici mon pom.xml au cas où :
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
...
 
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.monAppli</groupId>
	<artifactId>TraceAppli</artifactId>
	<packaging>war</packaging>
	<name>TraceAppli</name>
	<version>0.1</version>
	<description>Trace Appli</description>
 
 
 
    <build>
	  <plugins>
	    <plugin>
	        <artifactId>maven-compiler-plugin</artifactId>
	        <version>2.3.2</version>
	        <configuration>
	            <source>1.6</source>
	            <target>1.6</target>
	        </configuration>
	    </plugin>
 
 
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
           <configuration>
<warSourceDirectory>${project.basedir}/WebContent</warSourceDirectory>
                <webXml>${project.basedir}/WebContent/WEB-INF/sun-web.xml</webXml>
                <warSourceExcludes>WebContent/WEB-INF/lib/**</warSourceExcludes>
                <webResources>
                            <resource>
                               <directory>WebContent</directory>
                               <filtering>true</filtering>
                            </resource>
                            <resource>
                      <directory>src</directory>
                      <targetPath>WEB-INF/classes</targetPath>
                      <excludes>
                          <exclude>**/*.java</exclude>
                      </excludes>
                   </resource>
                </webResources>
           </configuration>
      </plugin>
 
	   <plugin>
        <groupId>org.glassfish.maven.plugin</groupId>
        <artifactId>maven-glassfish-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <user>admin</user>
          <adminPassword></adminPassword>
          <glassfishDirectory>/Java/serveur/glassfishv3/</glassfishDirectory>
          <components>
            <component>
              <name>${project.artifactId}</name>
              <artifact>${project.build.directory}/${project.build.finalName}.war</artifact>
            </component>
          </components>
          <domain>
            <name>${project.artifactId}</name>
            <adminPort>4848</adminPort>
            <httpPort>8080</httpPort>
            <httpsPort>8443</httpsPort>
          </domain>
        </configuration>
      </plugin>
 
	   </plugins>
  </build>
 
  <dependencies>
  <dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.22</version>
  </dependency>
	</dependencies>
 
...
d'avance merci