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 :

[Maven 2] Compiler 2 sources différentes au sein d'un même projet


Sujet :

Maven Java

  1. #1
    Membre régulier Avatar de morice.ju
    Inscrit en
    Avril 2006
    Messages
    79
    Détails du profil
    Informations personnelles :
    Âge : 41

    Informations forums :
    Inscription : Avril 2006
    Messages : 79
    Points : 81
    Points
    81
    Par défaut [Maven 2] Compiler 2 sources différentes au sein d'un même projet
    Bonjour,

    Je gère dans l'un de mes projets 2 sources de fichier java différentes. J'utilise le plugin xdoclet pour déployer mes EJB.

    Les fichiers .java générés par cet outil sont placés dans un autre répertoire, le but est donc de pouvoir compiler les deux sources dans le même target, le souci est que je ne vois pas trop comment y arriver, j'ai tenté plusieurs choses comme redéfinir le <sourceDirectory> dans ce projet fils mais ca ne fonctionne pas.

    J'imagine qu'il faut que j'utilise un plugin ou que je définisse correctement mon projet dans le pom.xml. Mais j'avoue que j'aurais bien besoin d'être éclairé, si jamais vous avez une solution, je suis preneur .

    NB : on pourrait déployer les sources java dans le même répertoire que le sourceDirectory, mais ce n'est pas très propre, puisque lorsque l'on fait un clean mes fichiers java générés ne sont pas détruit !

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

    Informations forums :
    Inscription : Avril 2006
    Messages : 79
    Points : 81
    Points
    81
    Par défaut
    bon et bien finalement j'ai réussi à m'en sortir, il suffit juste de garder le nom de répertoire par défaut pour la génération des ejb avec xdoclet sous maven 2, c'est à dire
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ${project.build.directory}/generated-sources/xdoclet
    .

    Et ensuite la phase de compilation prend en compte ce répertoire pour compiler les sources et les fichiers générés.

    Merci pour votre soutien ^^.

    Bon courage et à bientôt

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    Je suis extremenent interesse par la façon dont tu utilise le plugin XDoclet.


    POur plus de precision:
    arborescence de mon projet :

    /<project-root>
    |
    +- pom.xml
    |
    +- /src
    | |
    | +- /java
    | | |
    | | +-/[mes packages]('mes sources'.java) ( avec mes Bean )
    | | | |
    +- /generated
    | |
    | +- /java
    | | |
    | | +-/[mes packages]('mes sources générés'.java)



    je voudrait utiliser XDoclet pour genere mes classes EJB dans le source folder (/generated/java),
    puis compiler le tout

  4. #4
    Expert éminent

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

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

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Points : 7 641
    Points
    7 641
    Par défaut
    Citation Envoyé par DanielW33
    je voudrait utiliser XDoclet pour genere mes classes EJB dans le source folder (/generated/java),
    puis compiler le tout
    Mieux vaut laisser XDoclet generer les sources ou il a l'habitude, a savoir dans target/generated-sources/xdoclet

    Sinon, pour le plugin xdoclet:
    http://mojo.codehaus.org/xdoclet-maven-plugin/

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    hello world !!!!
    Voila j'utilise le plugin plus haut pour le traitement de mes EJB mais je tombe sur un os... enfin sur une ERROR :
    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
    [DEBUG]   xdoclet:xjavadoc:jar:1.1:runtime (selected for runtime)
    [DEBUG]     ant:ant:jar:1.5.2:runtime (removed - nearer found: 1.6.5)
    [DEBUG]   xdoclet:xdoclet-macromedia-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-1:xdoclet' -->
    [DEBUG]   (f) classRealm = org.codehaus.classworlds.DefaultClassRealm@497934
    [DEBUG]   (f) generatedSourcesDirectory = D:\eclipse-maestro\workspace\dra.proto.business\target/generated-sources/xdoclet
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@2c8145b6
    [DEBUG]   (f) sourceDirectory = D:\eclipse-maestro\workspace\dra.proto.business/src/main/java
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] null
    [INFO] ------------------------------------------------------------------------
    [DEBUG] Trace
    java.lang.AbstractMethodError
            at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
            at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)
            at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
            at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1030)
            at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:576)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:390)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
            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.DefaultMaven.doExecute(DefaultMaven.java:322)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5 seconds
    [INFO] Finished at: Mon Jul 31 09:33:24 CEST 2006
    [INFO] Final Memory: 2M/6M
    [INFO] ------------------------------------------------------------------------
    merci de m'eclairer

  6. #6
    Expert éminent

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

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

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Points : 7 641
    Points
    7 641
    Par défaut
    Citation Envoyé par DanielW33
    merci de m'eclairer
    Tu peux nous montrer la configuration de ton xdoclet plugin dans ton pom.xml?

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    C'est exactement la config donnée en exemple :

    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
     
    <plugin>
    	<artifactId>xdoclet-maven-plugin</artifactId>
    	<groupId>org.codehaus.mojo</groupId>
    	<executions>
    		<execution>
    			<phase>generate-sources</phase>
    			<goals>
    				<goal>xdoclet</goal>
    			</goals>
    			<configuration>
    				<tasks>
    					<ejbdoclet
    						destdir="${project.build.outputDirectory}">
    						<fileset
    							dir="${basedir}/src/main/java" includes="**/*Bean.java" />
    						<entitycmp
    							destDir="${project.build.outputDirectory}" />
    						<deploymentdescriptor
    							destDir="${project.build.outputDirectory}" />
    					</ejbdoclet>
    				</tasks>
    			</configuration>
    		</execution>
    	</executions>
    </plugin>

  8. #8
    Expert éminent

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

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

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Points : 7 641
    Points
    7 641
    Par défaut
    Citation Envoyé par DanielW33
    C'est exactement la config donnée en exemple :
    Commence par rajouter un id à ton execution, il me semble que ça devrait faire plaisir à Maven....

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    HopHopHop, petite erreur de pom.xml.
    je n'utilise pas le bon pom.xml
    Maintenant je te passe mon Pièce jointe 3435en piece jointe car, lorsque je l'execute voila se reponse :
    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
     
    D:\eclipse-maestro\workspace\dra.proto.business>mvn xdoclet:xdoclet
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'xdoclet'.
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.business:dra.proto.business:jar:0.0.1
    [INFO]    task-segment: [xdoclet:xdoclet]
    [INFO] ----------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/j2ee/j2ee/1.0/j2ee-1.0.pom
    [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
    [WARNING] While downloading servletapi:servletapi:2.3
      This artifact has been relocated to javax.servlet:servlet-api:2.3.
     
     
    [INFO] [xdoclet:xdoclet]
    [INFO] Initializing DocletTasks!!!
    [INFO] Executing tasks
    [INFO] Executed tasks
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5 seconds
    [INFO] Finished at: Mon Jul 31 10:17:53 CEST 2006
    [INFO] Final Memory: 3M/6M
    [INFO] ------------------------------------------------------------------------
    Or, je n'ai aucune classe generée dans mon outputDirectory

  10. #10
    Expert éminent

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

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

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Points : 7 641
    Points
    7 641
    Par défaut
    Citation Envoyé par DanielW33
    Or, je n'ai aucune classe generée dans mon outputDirectory
    J'insiste, sur l'ajout d'un id à ton execution....

    Sinon, fait un -X, tu auras plus d'informations sur la chose.

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    Deux choses :
    - je n'ai pas encore utilisé ce tag ( quoi peux t'il servir et a quoi ressemble t'il .
    - ensuite sache que je fait toujours un mvn -X pour le debug mais là pas de renseignement:
    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
     
    D:\eclipse-maestro\workspace\dra.proto.business>mvn -X xdoclet:xdoclet
    + Error stacktraces are turned on.
    Maven version: 2.0.4
    [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\dweltz\.m2\plugin-registry.xml'
    [DEBUG] Building Maven global-level plugin registry from: 'D:\maven-2.0.4\bin\..\conf\plugin-registry.xml'
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'xdoclet'.
    [DEBUG] xdoclet-maven-plugin: resolved to version 1.0-alpha-2 from repository central
    [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::3 for project: null:xdoclet-maven-plugin:maven-plugin:1.0-alpha-2 from the repository.
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building Unnamed - dra.proto.business:dra.proto.business:jar:0.0.1
    [INFO]    task-segment: [xdoclet:xdoclet]
    [INFO] ----------------------------------------------------------------------------
    [DEBUG] dra.proto.business:dra.proto.business:jar:0.0.1 (selected for null)
    [DEBUG] Trying repository central
    Downloading: http://repo1.maven.org/maven2/j2ee/j2ee/1.0/j2ee-1.0.pom
    [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
    [DEBUG] Artifact not found - using stub model: Unable to download the artifact from any repository
     
      j2ee:j2ee:pom:1.0
     
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2)
     
    [DEBUG] Using defaults for missing POM j2ee:j2ee:pom:1.0:compile
    [DEBUG]   j2ee:j2ee:jar:1.0:compile (selected for compile)
    [DEBUG]   commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
    [DEBUG]   junit:junit:jar:3.8.2:compile (selected for compile)
    [DEBUG] org.codehaus.mojo:xdoclet-maven-plugin:maven-plugin:1.0-alpha-2:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-wsee-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]     xdoclet:xdoclet:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]       commons-logging:commons-logging:jar:1.0.4:runtime (selected for runtime)
    [DEBUG]       commons-collections:commons-collections:jar:2.1:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-jboss-module:jar:1.2.3: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]   xdoclet:xdoclet-xdoclet-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-orion-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-ibm-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-jmx-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   commons-logging:commons-logging:jar:1.0.4:runtime (selected for runtime)
    [DEBUG]   commons-collections:commons-collections:jar:2.1:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-apache-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-objectweb-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-fr_FR-locale:jar:1.2.3:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-antrun-plugin:maven-plugin:1.0 from the repository.
    [DEBUG]   org.apache.maven.plugins:maven-antrun-plugin:jar:1.0: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] 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]     ant:ant-launcher:jar:1.6.5:runtime (selected for runtime)
    [DEBUG]     ant:ant:jar:1.6.5:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-java-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-exolab-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-bea-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]     xdoclet:xdoclet-ejb-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-mvcsoft-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-sun-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-spring-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-de-locale:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   jboss:jboss-j2ee:jar:3.2.1:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-web-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-caucho-module:jar:1.2.3:runtime (selected for runtime)
    [WARNING] While downloading servletapi:servletapi:2.3
      This artifact has been relocated to javax.servlet:servlet-api:2.3.
     
     
    [DEBUG]   javax.servlet:servlet-api:jar:2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-jdo-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-tjdo-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-openejb-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-oracle-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for project: org.apache.maven:maven-plugin-api:jar:2.0-beta-1 from the repository.
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (removed - nearer found: 2.0-beta-1)
    [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0-beta-1:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-hp-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-webwork-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-mx4j-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-solarmetric-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-jsf-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-pramati-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-pt_BR-locale:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-ejb-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-borland-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-hibernate-module:jar:1.2.3:runtime (selected for runtime)
    [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]     org.apache.maven:maven-artifact: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]   xdoclet:xdoclet-sybase-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-mockobjects-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-libelis-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-portlet-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG]   xdoclet:xjavadoc:jar:1.1:runtime (selected for runtime)
    [DEBUG]     ant:ant:jar:1.5.2:runtime (removed - nearer found: 1.6.5)
    [DEBUG]     junit:junit:jar:3.8.1:runtime (selected for runtime)
    [DEBUG]   xdoclet:xdoclet-macromedia-module:jar:1.2.3:runtime (selected for runtime)
    [DEBUG] Configuring mojo 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet' -->
    [DEBUG]   (f) classRealm = org.codehaus.classworlds.DefaultClassRealm@16bd8ea
    [DEBUG]   (f) generatedSourcesDirectory = D:\eclipse-maestro\workspace\dra.proto.business\target/generated-sources/xdoclet
    [DEBUG]   (f) project = org.apache.maven.project.MavenProject@2c8145b6
    [DEBUG]   (f) sourceDirectory = D:\eclipse-maestro\workspace\dra.proto.business/src/main/java
    [DEBUG]   (f) tasks =
    [DEBUG] -- end configuration --
    [INFO] [xdoclet:xdoclet]
    [INFO] Initializing DocletTasks!!!
    [INFO] Executing tasks
    [INFO] Executed tasks
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4 seconds
    [INFO] Finished at: Mon Jul 31 10:50:57 CEST 2006
    [INFO] Final Memory: 3M/7M
    [INFO] ------------------------------------------------------------------------

  12. #12
    Expert éminent

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

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

    Informations forums :
    Inscription : Février 2005
    Messages : 4 050
    Points : 7 641
    Points
    7 641
    Par défaut
    Citation Envoyé par DanielW33
    Deux choses :
    - je n'ai pas encore utilisé ce tag ( quoi peux t'il servir et a quoi ressemble t'il .
    - ensuite sache que je fait toujours un mvn -X pour le debug mais là pas de renseignement:
    Efefctivement, aucun renseignement avec le -X

    Le tag id, doit être rajouté (obligatoirement?) à une execution:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    <executions>
      <execution>
        <id>xdoclet-0</id>
        ...
      </execution>
    </executions>
    C'est mas dernière idée pour toi

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

    Informations forums :
    Inscription : Mai 2006
    Messages : 327
    Points : 164
    Points
    164
    Par défaut
    Ok l'id est rajouter, mais rien de changer
    Merci tout de meme pour l'aide

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

Discussions similaires

  1. Réponses: 1
    Dernier message: 29/06/2009, 23h34
  2. Problême de compilation de source
    Par trattos dans le forum Linux
    Réponses: 4
    Dernier message: 25/10/2005, 12h29
  3. Compilation de sources
    Par artatum dans le forum Linux
    Réponses: 5
    Dernier message: 11/10/2005, 21h38
  4. [Compilateur]Problème de compilation des sources...
    Par Dimanche dans le forum Général Java
    Réponses: 6
    Dernier message: 15/03/2005, 23h04

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