IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Maven Java Discussion :

[maven2] No sources to compile


Sujet :

Maven Java

  1. #1
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut [maven2] No sources to compile


    J'ai un petit problème et je ne comprend pas...

    Je compile une partie de mon projet et il me dit que je n'ai pas de sources...

    voici mon POM...

    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
    <?xml version="1.0" encoding="UTF-8"?>
    <project>
        
        <!--
        <parent>
        <artifactId>dra.proto</artifactId>
        <groupId>dra.proto</groupId>
        <version>0.0.1</version>
        <relativePath>dra.proto</relativePath>
        </parent>
        -->
        
        <modelVersion>4.0.0</modelVersion>
        <groupId>dra.proto.laf</groupId>
        <artifactId>dra.proto.laf</artifactId>
        <version>0.0.1</version>
        <description></description>
        
    
    
        <build>
            <!--
            <resources>
                <resource>
                    <targetPath/>
                    <filtering/>
                    <directory/>
                    <includes/>
                    <excludes/>
                </resource>
            </resources>
            -->
            <sourceDirectory>/src/java</sourceDirectory>
            <outputDirectory>/bin</outputDirectory>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                        <includes>
                            <include/>
                        </includes>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    
        
        <scm>
            <connection> scm:svn:svn://"adresse ip"/dra.proto.laf </connection>
            <developerConnection> scm:svn:svn://"adresse ip"/dra.proto.laf
                </developerConnection>
            <url> http://"adresse ip"/svn/dra.proto.laf </url>
            <tag>HEAD</tag>
        </scm>
        
    </project>
    Me manque-t'il quelque chose ?


    et mon arborescence

    |-src
    |_|-java
    |____|-com
    |_______|-digitprop
    |___________|-tonic
    |______________|-icons
    |_________________|-*.java
    |_________________|-... .java
    |
    |
    |-pom.xml



    edit :

    voilà ce que ça m'affiche :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.laf:dra.proto.laf:jar:0.0.1
    [INFO]    task-segment: [compiler:compile]
    [INFO] ----------------------------------------------------------------------------
    [INFO] Searching repository for plugin with prefix: 'compiler'.
    [INFO] compiler:compile
    [INFO] No sources to compile
    [INFO] ----------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ----------------------------------------------------------------------------
    [INFO] Total time: 1 second
    [INFO] Finished at: Wed Jul 26 13:56:33 CEST 2006
    [INFO] Memory 1M/4M
    [INFO] ----------------------------------------------------------------------------

  2. #2
    Membre confirmé Avatar de morice.ju
    Inscrit en
    Avril 2006
    Messages
    79
    Détails du profil
    Informations personnelles :
    Âge : 43

    Informations forums :
    Inscription : Avril 2006
    Messages : 79
    Par défaut
    essaie

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    <sourceDirectory>${basedir}/src/java</sourceDirectory>
    <outpuDirectory>${basedir}/bin</outputDirectory>

  3. #3
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Alors oui, j'ai déjà rajouté ça et ca m'a changé mon message d'erreur (enfin, pas erreur mais bon) ca me met :

    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
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.laf:dra.proto.laf:jar:0.0.1
    [INFO]    task-segment: [compile]
    [INFO] ----------------------------------------------------------------------------
    [INFO] resources:resources
    [INFO] Using default encoding to copy filtered resources.
    [INFO] compiler:compile
    [INFO] Nothing to compile - all classes are up to date
    [INFO] ----------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ----------------------------------------------------------------------------
    [INFO] Total time: 1 second
    [INFO] Finished at: Wed Jul 26 15:42:15 CEST 2006
    [INFO] Memory 1M/5M
    [INFO] ----------------------------------------------------------------------------
    pourquoi y'a rien à compiler ??? Ca me gave.. rolalala !!!

  4. #4
    Membre confirmé Avatar de morice.ju
    Inscrit en
    Avril 2006
    Messages
    79
    Détails du profil
    Informations personnelles :
    Âge : 43

    Informations forums :
    Inscription : Avril 2006
    Messages : 79
    Par défaut
    fait un mvn clean avant de relancer ta compilation

  5. #5
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    ok je test !

  6. #6
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    ca change pas ! et au faite, sans le ${basedir}/bin, ca beug pas, avec ca me met ca :

    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
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.laf:dra.proto.laf:jar:0.0.1
    [INFO]    task-segment: [compile]
    [INFO] ----------------------------------------------------------------------------
    [INFO] resources:resources
    [INFO] Using default encoding to copy filtered resources.
    [INFO] compiler:compile
    Compiling 55 source files to C:\Documents and Settings\ndurand\Mes documents\Travail\eclipse-workspace\dra.proto.laf\bin
    [ERROR] mojo-execute : compiler:compile
    Diagnosis: Compilation failure
    FATAL ERROR: Error executing Maven for a project
    [ERROR] project-execute : dra.proto.laf:dra.proto.laf:jar:0.0.1 (  task-segment: [compile] )
    Diagnosis: Compilation failure
    FATAL ERROR: Error executing Maven for a project
    org.apache.maven.BuildFailureException: Compilation failure
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
        at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
    Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:505)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 8 more

  7. #7
    Membre Expert

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Tes sources ne compile pas

    Pour les répertoires de sources, il ne faut pas utiliser ${basedir}/src/java mais seulement src/java (sans slash avant src)

  8. #8
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Toujours pas... ça me met toujours
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    [INFO] Nothing to compile - all classes are up to date
    [edit]sinon, vous n'avez pas une corde ?

  9. #9
    Membre Expert

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    lances mvn -X clean install pour avoir plus d'infos sur ton pb.

    Attends un peu pour la corde, tu vas y arriver

  10. #10
    Expert confirmé

    Avatar de denisC
    Profil pro
    Développeur Java
    Inscrit en
    Février 2005
    Messages
    4 050
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : Canada

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : Service public

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Par défaut
    Citation Envoyé par Lynk HIROSUE
    Toujours pas... ça me met toujours
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    [INFO] Nothing to compile - all classes are up to date
    [edit]sinon, vous n'avez pas une corde ?

    Mets seulement bin comme outputDirectory.

    Essaye de lancer un clean, et vérifie que le repertoire a bien été supprimé. Si ce n'est pas le cas, supprime le manuellement.

    Quelle version de maven-clean-plugin utilises-tu?

  11. #11
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Bon, c'était assez joli comme résultat mais voici ce que ça donne (attention aux yeux !) :

    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
    D:\eclipse-maestro\workspace\dra.proto.laf>mvn -X clean install
    + Error stacktraces are turned on.
    Maven version: 2.0.4
    [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\ndurand\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'C:\maven-2.0.4\bin\..\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.laf:dra.proto.laf:jar:0.0.1
    [INFO]    task-segment: [clean, install]
    [INFO] ----------------------------------------------------------------------------
    [DEBUG] maven-clean-plugin: resolved to version 2.1 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-clean-plugin:maven-plugin:2.1 from the repository.
    [DEBUG] org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.1:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven.shared:shared-components-parent::1 for project: null:file-management:jar:1.0 from the repository.
    [DEBUG]   org.apache.maven.shared:file-management:jar:1.0:runtime (selected for runtime)
    [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.1:clean' -->
    [DEBUG]   (f) directory = D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG]   (f) outputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG]   (f) testOutputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
    [DEBUG] -- end configuration --
    [INFO] [clean:clean]
    [INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG] Originally marked for delete: []
    [DEBUG] Marked for preserve (with followSymlinks == false): []
    [DEBUG] Symlinks marked for deletion (originally mismarked): []
    [DEBUG] Originally marked for delete: [dra.proto.laf-0.0.1.jar, exported-pom.xml, ]
    [DEBUG] Marked for preserve (with followSymlinks == false): []
    [DEBUG] Symlinks marked for deletion (originally mismarked): []
    [DEBUG] Found deletable paths: [dra.proto.laf-0.0.1.jar
     exported-pom.xml
     ]
    [DEBUG] Checking for symlink:
    Parent file's canonical path: D:\eclipse-maestro\workspace\dra.proto.laf
    My canonical path: D:\eclipse-maestro\workspace\dra.proto.laf\target
    [INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG] Found deletable paths: []
    [INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
    [DEBUG] Found deletable paths: []
    [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.1 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-compiler-plugin:maven-plugin:2.0.1 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-surefire-plugin: resolved to version 2.2 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-surefire-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-jar-plugin: resolved to version 2.0 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-jar-plugin:maven-plugin:2.0 from the repository.
    [DEBUG] maven-install-plugin: resolved to version 2.1 from repository central
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-install-plugin:maven-plugin:2.1 from the repository.
    [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]   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] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository.
    [DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository.
    [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
    [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-profile:jar:2.0 from the repository.
    [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
    [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 = D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@be5eb882
    [DEBUG]   (f) resources = [org.apache.maven.model.Resource@10a2d64]
    [DEBUG] -- end configuration --
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    [DEBUG] dra.proto.laf:dra.proto.laf:jar:0.0.1 (selected for null)
    [DEBUG] org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-compiler::1.5.2 for project: null:plexus-compiler-api:jar:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.5 for project: null:plexus-compiler:pom:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the repository.
    [DEBUG]   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2:runtime (selected for runtime)
    [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 (selected for runtime)
    [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-compiler::1.5.2 for project: null:plexus-compiler-manager:jar:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.5 for project: null:plexus-compiler:pom:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the repository.
    [DEBUG]   org.codehaus.plexus:plexus-compiler-manager:jar:1.5.2:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-compilers::1.5.2 for project: null:plexus-compiler-javac:jar:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-compiler::1.5.2 for project: org.codehaus.plexus:plexus-compilers:pom:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.5 for project: null:plexus-compiler:pom:1.5.2 from the repository.
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for project: org.codehaus.plexus:plexus-components:pom:1.1.5 from the repository.
    [DEBUG]   org.codehaus.plexus:plexus-compiler-javac:jar:1.5.2:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.0.5 from the repository.
    [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (removed - nearer found: 1.0.4)
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' -->
    [DEBUG]   (f) basedir = D:\eclipse-maestro\workspace\dra.proto.laf
    [DEBUG]   (f) buildDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG]   (f) classpathElements = [D:\eclipse-maestro\workspace\dra.proto.laf\target\classes]
    [DEBUG]   (f) compileSourceRoots = [D:\eclipse-maestro\workspace\dra.proto.laf\src\main\java]
    [DEBUG]   (f) compilerId = javac
    [DEBUG]   (f) debug = true
    [DEBUG]   (f) fork = false
    [DEBUG]   (f) optimize = false
    [DEBUG]   (f) outputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG]   (f) outputFileName = dra.proto.laf-0.0.1
    [DEBUG]   (f) projectArtifact = dra.proto.laf:dra.proto.laf:jar:0.0.1
    [DEBUG]   (f) showDeprecation = false
    [DEBUG]   (f) showWarnings = false
    [DEBUG]   (f) staleMillis = 0
    [DEBUG]   (f) verbose = false
    [DEBUG] -- end configuration --
    [INFO] [compiler:compile]
    [DEBUG] Using compiler 'javac'.
    [INFO] No sources to compile
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.2:testResources' -->
    [DEBUG]   (f) filters = []
    [DEBUG]   (f) outputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@be5eb882
    [DEBUG]   (f) resources = [org.apache.maven.model.Resource@1394894]
    [DEBUG] -- end configuration --
    [INFO] [resources:testResources]
    [INFO] Using default encoding to copy filtered resources.
    [DEBUG] dra.proto.laf:dra.proto.laf:jar:0.0.1 (selected for null)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:testCompile' -->
    [DEBUG]   (f) basedir = D:\eclipse-maestro\workspace\dra.proto.laf
    [DEBUG]   (f) buildDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG]   (f) classpathElements = [D:\eclipse-maestro\workspace\dra.proto.laf\target\classes, D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes]
    [DEBUG]   (f) compileSourceRoots = [D:\eclipse-maestro\workspace\dra.proto.laf\src\test\java]
    [DEBUG]   (f) compilerId = javac
    [DEBUG]   (f) debug = true
    [DEBUG]   (f) fork = false
    [DEBUG]   (f) optimize = false
    [DEBUG]   (f) outputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
    [DEBUG]   (f) outputFileName = dra.proto.laf-0.0.1
    [DEBUG]   (f) showDeprecation = false
    [DEBUG]   (f) showWarnings = false
    [DEBUG]   (f) staleMillis = 0
    [DEBUG]   (f) verbose = false
    [DEBUG] -- end configuration --
    [INFO] [compiler:testCompile]
    [DEBUG] Using compiler 'javac'.
    [INFO] No sources to compile
    [DEBUG] dra.proto.laf:dra.proto.laf:jar:0.0.1 (selected for null)
    [DEBUG] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.2: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: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:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.0 for project: null:surefire-booter:jar:2.0 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.surefire:surefire:pom:2.0 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
    [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.0 for project: null:surefire-api:jar:2.0 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.surefire:surefire:pom:2.0 from the repository.
    [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
    [DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.0:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' -->
    [DEBUG]   (f) basedir = D:\eclipse-maestro\workspace\dra.proto.laf
    [DEBUG]   (f) childDelegation = false
    [DEBUG]   (f) classesDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG]   (f) classpathElements = [D:\eclipse-maestro\workspace\dra.proto.laf\target\classes, D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes]
    [DEBUG]   (f) disableXmlReport = false
    [DEBUG]   (f) forkMode = once
    [DEBUG]   (f) jvm = java
    [DEBUG]   (f) localRepository = [local] -> file://C:\Documents and Settings\ndurand\.m2\repository
    [DEBUG]   (f) parallel = false
    [DEBUG]   (f) pluginArtifactMap = {org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.1:runtime, org.apache.maven.surefire:surefire-api=or
    re:surefire-api:jar:2.0:runtime, org.apache.maven:maven-artifact=org.apache.maven:maven-artifact:jar:2.0:runtime, org.apache.maven:maven-plugin-api=org.apache.
    i:jar:2.0:runtime, org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.0:runtime}
    [DEBUG]   (f) printSummary = true
    [DEBUG]   (f) projectArtifactMap = {}
    [DEBUG]   (f) remoteRepositories = [[central] -> http://repo1.maven.org/maven2]
    [DEBUG]   (f) reportFormat = brief
    [DEBUG]   (f) reportsDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\surefire-reports
    [DEBUG]   (f) testClassesDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
    [DEBUG]   (f) testSourceDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\src\test\java
    [DEBUG]   (f) threadCount = 5
    [DEBUG]   (f) trimStackTrace = true
    [DEBUG]   (f) useFile = true
    [DEBUG] -- end configuration --
    [INFO] [surefire:test]
    [INFO] No tests to run.
    [DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-archiver:jar:2.0 from the repository.
    [DEBUG]   org.apache.maven:maven-archiver:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-project: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-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]       org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
    [DEBUG]         org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
    [DEBUG]         org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
    [DEBUG]       org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-3:runtime (selected for runtime)
    [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-project: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-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
    [DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-jar-plugin:2.0:jar' -->
    [DEBUG]   (f) basedir = D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG]   (f) finalName = dra.proto.laf-0.0.1
    [DEBUG]   (f) outputDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target\classes
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@be5eb882
    [DEBUG] -- end configuration --
    [INFO] [jar:jar]
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: D:\eclipse-maestro\workspace\dra.proto.laf\target\dra.proto.laf-0.0.1.jar
    [DEBUG] adding directory META-INF/
    [DEBUG] adding entry META-INF/MANIFEST.MF
    [DEBUG] adding directory META-INF/maven/
    [DEBUG] adding directory META-INF/maven/dra.proto.laf/
    [DEBUG] adding directory META-INF/maven/dra.proto.laf/dra.proto.laf/
    [DEBUG] adding entry META-INF/maven/dra.proto.laf/dra.proto.laf/pom.xml
    [DEBUG] adding entry META-INF/maven/dra.proto.laf/dra.proto.laf/pom.properties
    [DEBUG] org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.1:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-artifact-manager: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-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
    [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
    [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
    [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
    [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.1:install' -->
    [DEBUG]   (f) artifact = dra.proto.laf:dra.proto.laf:jar:0.0.1
    [DEBUG]   (f) attachedArtifacts = []
    [DEBUG]   (f) localRepository = [local] -> file://C:\Documents and Settings\ndurand\.m2\repository
    [DEBUG]   (f) packaging = jar
    [DEBUG]   (f) pomFile = D:\eclipse-maestro\workspace\dra.proto.laf\pom.xml
    [DEBUG] -- end configuration --
    [INFO] [install:install]
    [INFO] Installing D:\eclipse-maestro\workspace\dra.proto.laf\target\dra.proto.laf-0.0.1.jar to C:\Documents and Settings\ndurand\.m2\repository\dra\proto\laf\d
    a.proto.laf-0.0.1.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4 seconds
    [INFO] Finished at: Thu Jul 27 10:04:30 CEST 2006
    [INFO] Final Memory: 4M/7M
    [INFO] ------------------------------------------------------------------------
    (ps : allez, même une petite corde ??? )
    (ps 2 : désolé pour l'excès de smiles... Ca me détend de faire toutes ces bêtises...)

  12. #12
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Citation Envoyé par denisC
    Mets seulement bin comme outputDirectory.

    Essaye de lancer un clean, et vérifie que le repertoire a bien été supprimé. Si ce n'est pas le cas, supprime le manuellement.

    Quelle version de maven-clean-plugin utilises-tu?
    j'essais !

    Pour la version de maven-clean-plugin, euh... Je trouve ça où déjà ?
    Sinon, le clean n'a pas supprimé mon bin (que j'ai réécris comme ça). Je l'ai donc supprimé manuellement et lorsque je refais un compile, il ne réapparaît pas...

  13. #13
    Membre confirmé Avatar de morice.ju
    Inscrit en
    Avril 2006
    Messages
    79
    Détails du profil
    Informations personnelles :
    Âge : 43

    Informations forums :
    Inscription : Avril 2006
    Messages : 79
    Par défaut
    c'est normal que ca ne compile pas puisque le repertoire de compilation est :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    (f) compileSourceRoots = [D:\eclipse-maestro\workspace\dra.proto.laf\src\main\java]
    alors que ton code java à l'air d'être placé dans D:\eclipse-maestro\workspace\dra.proto.laf\src\java

  14. #14
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Non, car pour un test qu'a fait mon collègue, on a redéplacé le tout dans src\main\java. Pour voir si, en respectant la disposition que préfère Maven, ça n'avait pas être mieux... Mais bon, je n'y croyais pas trop. Mais depuis, je n'ai pas changé et le chemin est donc bien celui-là. Désolé de ne pas l'avoir précisé...

  15. #15
    Expert confirmé

    Avatar de denisC
    Profil pro
    Développeur Java
    Inscrit en
    Février 2005
    Messages
    4 050
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : Canada

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : Service public

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Par défaut
    Citation Envoyé par Lynk HIROSUE
    Non, car pour un test qu'a fait mon collègue, on a redéplacé le tout dans src\main\java. Pour voir si, en respectant la disposition que préfère Maven, ça n'avait pas être mieux... Mais bon, je n'y croyais pas trop. Mais depuis, je n'ai pas changé et le chemin est donc bien celui-là. Désolé de ne pas l'avoir précisé...
    Tu peux nous upper un zip de ton projet (avec juste une classe Java dedans et le pom) pour qu'on puisse reproduire ton problème?

    A mon avis, c'est la solution la plus simple....

  16. #16
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Ok, voilà pour vous !

    J'espère que je n'ai pas supprimé trop de chose (sinon, ça faisait pas loin de 2 Mo...) !!!


    [edit] ZIP supprimé

  17. #17
    Membre Expert

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Citation Envoyé par Lynk HIROSUE
    [DEBUG] (f) basedir = D:\eclipse-maestro\workspace\dra.proto.laf
    [DEBUG] (f) buildDirectory = D:\eclipse-maestro\workspace\dra.proto.laf\target
    [DEBUG] (f) classpathElements = [D:\eclipse-maestro\workspace\dra.proto.laf\target\classes]
    [DEBUG] (f) compileSourceRoots = [D:\eclipse-maestro\workspace\dra.proto.laf\src\main\java]
    Voici les infos utiliser par le plugin compile pour ton projet.

    Quelque chose dot être incorrect dans ton pom

  18. #18
    Membre Expert

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Citation Envoyé par Lynk HIROSUE
    Ok, voilà pour vous !

    J'espère que je n'ai pas supprimé trop de chose (sinon, ça faisait pas loin de 2 Mo...) !!!
    Tu n'as pas défini la partie <build> dans ton pom avec la définition des répertoires

  19. #19
    Membre Expert

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 1 172
    Par défaut
    Ajoutes ceci, et çà fonctionne:

    <build>
    <sourceDirectory>src/java</sourceDirectory>
    <outputDirectory>bin</outputDirectory>
    </build>

  20. #20
    Membre confirmé Avatar de Lynk HIROSUE
    Homme Profil pro
    Analyste-programmeur
    Inscrit en
    Mai 2006
    Messages
    87
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Analyste-programmeur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2006
    Messages : 87
    Par défaut
    Dans mon pom j'ai ça... Qu'est-ce qu'il me manque ?

    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
    <build>
            <!--
            <resources>
                <resource>
                    <targetPath/>
                    <filtering/>
                    <directory/>
                    <includes/>
                    <excludes/>
                </resource>
            </resources>            -->
    
            <sourceDirectory>src/main/java</sourceDirectory>
            <outputDirectory>bin</outputDirectory>        
    
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                        <includes>
                            <include>**/*.java</include>
                        </includes>
                    </configuration>
                </plugin>
            </plugins>
        </build>

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. Fichier source C compilé en tant que C++
    Par Médinoc dans le forum Dev-C++
    Réponses: 0
    Dernier message: 20/07/2008, 13h30
  2. récupération des sources pour compilation manuelle
    Par piotrr dans le forum NetBeans
    Réponses: 12
    Dernier message: 01/03/2008, 08h59
  3. [Compiler] Rendre "inaccessibles" les codes sources après compilation
    Par camillechambon dans le forum MATLAB
    Réponses: 3
    Dernier message: 05/07/2007, 17h09
  4. [REDHAT] Obtenir les sources pour compiler
    Par Jean_Benoit dans le forum RedHat / CentOS / Fedora
    Réponses: 1
    Dernier message: 27/04/2007, 11h06
  5. Décompilateur JAVA génère du source non compilable
    Par the java lover dans le forum Environnement de Développement Intégré (EDI)
    Réponses: 3
    Dernier message: 04/07/2006, 17h14

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