Metadata not well updated?
Hi guys, I've started deploying components on my internal repository, and I've figured out that the generated metadata does not look like what I expected. When I deployed version 2.1.0 of my component, I got something like: ?xml version=1.0 encoding=UTF-8? metadata groupIdcom.inetpsa.cxl/groupId artifactIdcxl-toolboxxml/artifactId version2.0.1/version versioning versions version2.0.1/version version2.1.0/version /versions lastUpdated20060316142705/lastUpdated /versioning /metadata which seems weird to me because the lastest version is 2.1.0 and not 2.0.1 (the timestamp is correct though). FYI, I'm using Maven 2.0.2 and version 2.2 of the deploy plugin. What's more, the above format for the metadata file differs from what I can see on ibiblio for the maven components, for instance: ?xml version=1.0? metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId versioning latest2.2/latest release2.2/release versions version2.0-beta-1/version version2.0/version version2.1/version version2.2/version /versions lastUpdated20060227235008/lastUpdated /versioning /metadata Why don't I get the same format when deploying my own components? Thanks a lot in advance for your answers. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : [M2] Site plugin
Hi Alexandre, there's a bug in the current version of the site plugin (cf. http://jira.codehaus.org/browse/MSITE-91): if your site.xml file is not located in its default folder (${basedir}/src/site), it won't find it. Maybe this is your case? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Alexandre Poitras alexandre.poitr Pour [EMAIL PROTECTED] Maven Users List users@maven.apache.org 28/02/2006 15:12 cc Objet Veuillez [M2] Site plugin répondre à Maven Users List [EMAIL PROTECTED] che.org Hi, I am using the lastest site plugin snapshot and it seems to work fine except that it seems to not find my site.xml file. I can't find the correct property to set. Anyone know what is the default name now or what property should I change to set the filename correctly? -- Alexandre Poitras Québec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Snapshot download problem: POM downloaded but not JAR
Hey, I don't know how I couldn't figure this out... Thanks Jérôme :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Jérôme BERNARD jerome.bernard@ gmail.com Pour Maven Users List 23/02/2006 18:05 users@maven.apache.org cc VeuillezObjet répondre à Re: Snapshot download problem: POM Maven Users List downloaded but not JAR [EMAIL PROTECTED] che.org Add this to your settings.xml: profiles profile id.../id repositories.../repositories pluginRepositories pluginRepository idsnapshot-plugin-repo/id nameReferentiel actif pour les plugin snapshots/name urlhttp://jip.inetpsa.com/maven/repository/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /pluginRepository /pluginRepositories Jérôme. On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi everybody, I'm running into a weird problem: Maven manages to download the POM of a snapshot plugin JAR that my project requires, but not the JAR itself... although it exsits. The context: - the required plugin is a plugin I developed and published on a corporate repository - the corporate repository is accessed via Maven-Proxy - the POM downloaded is correct (this is the actual POM) - the corresponding JAR does exist on the corporate repository Here is my settings.xml file : ?xml version=1.0 encoding=ISO-8859-1? settings mirrors mirror idmaven-proxy/id nameMaven-Proxy Mirror/name urlhttp://jip.inetpsa.com/maven/repository/url mirrorOfcentral/mirrorOf /mirror /mirrors profiles profile idsnapshots-config/id repositories repository idsnapshot-repo/id nameReferentiel actif pour les snapshots/name urlhttp://jip.inetpsa.com/maven/repository/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository /repositories /profile /profiles activeProfiles activeProfilesnapshots-config/activeProfile /activeProfiles pluginGroups pluginGroupcom.inetpsa.jip.plugins/pluginGroup /pluginGroups /settings I put the log a the end of the mail (it can be seen that the POM is downloaded). Does anyone have an idea why the JAR can't be downloaded while it exists? Thanks in advance for your answers. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\JIP\home\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\JIP\bin\maven-2.0.2\conf\plugin-registry.xml' [INFO] Scanning for projects... [DEBUG] Retrieving parent-POM from the repository for project: com.inetpsa.cxl:cxl-toolboxxml:jar:2.0.0-SNAPSHOT [INFO] [INFO] Building Toolbox XML [INFO]task-segment: [install] [INFO] [DEBUG] Retrieving parent-POM from the repository for project: null:maven-resources-plugin:maven-plugin:2.1 [DEBUG] Retrieving parent-POM from the repository for project: null:maven-compiler-plugin:maven-plugin:2.0
Snapshot download problem: POM downloaded but not JAR
Hi everybody, I'm running into a weird problem: Maven manages to download the POM of a snapshot plugin JAR that my project requires, but not the JAR itself... although it exsits. The context: - the required plugin is a plugin I developed and published on a corporate repository - the corporate repository is accessed via Maven-Proxy - the POM downloaded is correct (this is the actual POM) - the corresponding JAR does exist on the corporate repository Here is my settings.xml file : ?xml version=1.0 encoding=ISO-8859-1? settings mirrors mirror idmaven-proxy/id nameMaven-Proxy Mirror/name urlhttp://jip.inetpsa.com/maven/repository/url mirrorOfcentral/mirrorOf /mirror /mirrors profiles profile idsnapshots-config/id repositories repository idsnapshot-repo/id nameReferentiel actif pour les snapshots/name urlhttp://jip.inetpsa.com/maven/repository/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository /repositories /profile /profiles activeProfiles activeProfilesnapshots-config/activeProfile /activeProfiles pluginGroups pluginGroupcom.inetpsa.jip.plugins/pluginGroup /pluginGroups /settings I put the log a the end of the mail (it can be seen that the POM is downloaded). Does anyone have an idea why the JAR can't be downloaded while it exists? Thanks in advance for your answers. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\JIP\home\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\JIP\bin\maven-2.0.2\conf\plugin-registry.xml' [INFO] Scanning for projects... [DEBUG] Retrieving parent-POM from the repository for project: com.inetpsa.cxl:cxl-toolboxxml:jar:2.0.0-SNAPSHOT [INFO] [INFO] Building Toolbox XML [INFO]task-segment: [install] [INFO] [DEBUG] Retrieving parent-POM from the repository for project: null:maven-resources-plugin:maven-plugin:2.1 [DEBUG] Retrieving parent-POM from the repository for project: null:maven-compiler-plugin:maven-plugin:2.0 [DEBUG] Retrieving parent-POM from the repository for project: null:maven-surefire-plugin:maven-plugin:2.1.2 [DEBUG] Retrieving parent-POM from the repository for project: null:maven-jar-plugin:maven-plugin:2.0 [DEBUG] Retrieving parent-POM from the repository for project: null:maven-install-plugin:maven-plugin:2.1 [DEBUG] Skipping disabled repository central [INFO] snapshot com.inetpsa.jip.plugins:maven-initialiser-plugin:1.0.0-SNAPSHOT: checking for updates from snapshot-repo [DEBUG] Skipping disabled repository central [DEBUG] maven-initialiser-plugin: using locally installed snapshot [DEBUG] Trying repository snapshot-repo Downloading: http://jip.inetpsa.com/maven/repository/com/inetpsa/jip/plugins/maven-initialiser-plugin/1.0.0-SNAPSHOT/maven-initialiser-plugin-1.0.0-SNAPSHOT.pom 676b downloaded [DEBUG] Artifact resolved [DEBUG] Retrieving parent-POM from the repository for project: null:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT [DEBUG] maven-initialiser-plugin: using locally installed snapshot [DEBUG] Skipping disabled repository central [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException: A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Re: Site deploy fails with m2.0.2: any easy workaround?
Hi Nicolas, You can generate the site for a project even if you don't have any file related to the site (site.xml, Xdoc, apt, fml, ...). As for your error when you try to deploy, this is probably because you didn't define the credentials for repository in your settings.xml. If you try to deploy via scp, you need to have something in your settings.xml file that looks like: (cf. http://maven.apache.org/guides/mini/guide-deployment-security-settings.html) settings . . servers server idrepo1/id usernamerepouser/username !-- other optional elements: passwordmy_login_password/password privateKey/path/to/identity/privateKey (default is ~/.ssh/id_dsa) passphrasemy_key_passphrase/passphrase -- /server /servers . . /settings You can also deploy via the file protocol. In this case, you would have in your POM something like: distributionManagement site iddeployFolder/id urlfile:///foo/myWebFolder//url /site /distributionManagement More generally, you'll find almost all you need at : http://maven.apache.org/guides/index.html Hope this helps, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Nicolas Gonzalez nicogonzalez200 [EMAIL PROTECTED] Pour Maven Users List 15/02/2006 15:49 users@maven.apache.org cc VeuillezObjet répondre à Re: Site deploy fails with m2.0.2: Maven Users List any easy workaround? [EMAIL PROTECTED] che.org Hi Fabrice, I've been reading the maven site mini guide but i cant't find out where to configure the user, password and that sort of stuffs. The only thing i've done is to add distributionManagement/ in pom.xml but i get this exception when invoking mvn site:deploy = Session error: com.jcraft.jsch.JSchException: Session.connect: java.net.ConnectException: Connectio n refused: connect Is it necessary to create site.xml? if so, am i responsible for creating the tree directory explained at: http://maven.apache.org/guides/mini/guide-site.html ??? I really appreciate your help but i can't figure out what to do... Regards, Nicolas Gonzalez Buenos Aires - Argentina ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Skin inheritance
Hi guys, I have a multi-module project, for which I created site files only in the master project. For the sub-modules, I just want the default site with reports to be generated. I put a skin in the site.xml of my master project. When I generate the site, I can see that the skin is not inherited for the sub-modules. I could write a simple site.xml for every sub-module and specify the skin in it... But does anyone know if it is possible to inherit a skin from its parent ? Thanks in advance for your answers! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site deploy fails with m2.0.2: any easy workaround?
Hi guys, I'm trying to deploy the generated site with maven 2.0.2 and the site plugin 2.0-beta-4, and I get the following error, which some of you already experienced: Embedded error: Could not make directory '/users2/jip00/jip01/root/.'. The bug is known (http://jira.codehaus.org/browse/WAGON-30) and seems to be fixed in SVN. However, is there an _easy_ workaround to make site:deploy work while waiting for the next release? (I tried Brett's workaround - i.e. delete everything before deploying, but it still breaks when Maven tries to create the directory.) If not, this will prevent me from using Maven 2.0.2, which is annoying because 2.0.3 does not seem to be ready any time soon... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site deploy fails with m2.0.2: any easy workaround?
Hi Nicolas, Here's what you've always dreamt to learn about the site plugin: http://maven.apache.org/guides/mini/guide-site.html Especially, look at section Deploying the site for your problem. HTH, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Nicolas Gonzalez nicogonzalez200 [EMAIL PROTECTED] Pour Maven Users List 15/02/2006 16:11 users@maven.apache.org cc VeuillezObjet répondre à Re: Site deploy fails with m2.0.2: Maven Users List any easy workaround? [EMAIL PROTECTED] che.org I'm having a problem with maven site-deploy: the fact is that i don't know how to use it and how to configure it. Could you sen me your pom as an example? Thanks in advance Nicolas Gonzalez Buenos Aires - Argentina P.S.: Sorry for my english!! ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site plugin: is the skin tag used?
Hi, I'm currently testing the latest snapshot of the site plugin, and read the threads about the skinning functionnality, but I can't get it to work. I have added under project of my site.xml file: skin groupIdorg.apache.maven.skins/groupId artifactIdmaven-stylus-skin/artifactId version1.0-SNAPSHOT/version /skin But I get the following error: [ERROR] BUILD FAILURE [INFO] --- [INFO] The skin does not exist: Unable to determine the release version org.apache.maven.skins:maven-default-skin:jar:RELEASE It seems that my skin tag is not read by Maven, as I'm required stylus skin and not the default one. Did I put the site tag in a wrong place? Has someone managed to make it work? Thanks in advance for your answers, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site plugin: is the skin tag used?
Must I add this even if I grabbed the skin modules from SVN and installed them locally? This sounds weird... And what if I try to build my own skin? If I put the skin tag with my own skin groupId and artifactId (that I have previously built and installed of course), Maven is still looking for the default skin, not mine... Is this a bug or just the fact that the site plugin not finished yet? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Emmanuel Venisse [EMAIL PROTECTED] e.net Pour Maven Users List 14/02/2006 14:27 users@maven.apache.org cc VeuillezObjet répondre à Re: Site plugin: is the skin tag Maven Users List used? [EMAIL PROTECTED] che.org You must add this in your pom : repository releases enabledfalse/enabled /releases idapache.snapshots/id nameApache Development Repository/name urlhttp://cvs.apache.org/maven-snapshot-repository/url /repository because the skin jar isn't release yet. Emmanuel [EMAIL PROTECTED] a écrit : Hi, I'm currently testing the latest snapshot of the site plugin, and read the threads about the skinning functionnality, but I can't get it to work. I have added under project of my site.xml file: skin groupIdorg.apache.maven.skins/groupId artifactIdmaven-stylus-skin/artifactId version1.0-SNAPSHOT/version /skin But I get the following error: [ERROR] BUILD FAILURE [INFO] --- [INFO] The skin does not exist: Unable to determine the release version org.apache.maven.skins:maven-default-skin:jar:RELEASE It seems that my skin tag is not read by Maven, as I'm required stylus skin and not the default one. Did I put the site tag in a wrong place? Has someone managed to make it work? Thanks in advance for your answers, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site plugin: is the skin tag used?
Something strange: I've figured out that the SVN version of the site plugin does not use my site.xml file... whereas version 2.0-beta-4 finds this file in my project and uses it correctly to generate the site. Did something change between 2.0-beta-4 and the SVN version of the plugin? What could make the plugin ignore my site.xml file and use the default one instead? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - Emmanuel Venisse [EMAIL PROTECTED] PourMaven Users List You must add this in your pom : repository releases enabledfalse/enabled /releases idapache.snapshots/id nameApache Development Repository/name url http://cvs.apache.org/maven-snapshot-repository/url /repository because the skin jar isn't release yet. Emmanuel [EMAIL PROTECTED] a écrit : Hi, I'm currently testing the latest snapshot of the site plugin, and read the threads about the skinning functionnality, but I can't get it to work. I have added under project of my site.xml file: skin groupIdorg.apache.maven.skins/groupId artifactIdmaven-stylus-skin/artifactId version1.0-SNAPSHOT/version /skin But I get the following error: [ERROR] BUILD FAILURE [INFO] --- [INFO] The skin does not exist: Unable to determine the release version org.apache.maven.skins:maven-default-skin:jar:RELEASE It seems that my skin tag is not read by Maven, as I'm required stylus skin and not the default one. Did I put the site tag in a wrong place? Has someone managed to make it work? Thanks in advance for your answers, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-proxy and snapshots problem
Hi Treloar, first, thanks for you answer :o) I am a bit confused about what you said. The page says : However the repositoryDefinitions profile section can be made simpler by using a proxy infront of the internal repositories. What I understand from this (and which sounds obvious to me) is: if you're using maven-proxy, you don't have to put those profile definitions in your settings.xml any longer. Why ? Because the mirror element replaces them all because maven-proxy handles everything from the URL http://NUCLEUS:/repository/; (which is the actual purpose of a proxy). So for what I've understood, you don't need to activate any extra repository definition profile when you're using maven-proxy. Am I wrong? Maybe central is a repository for which snapshots are not activated by default, and therefore when setting the mirror of central to maven-proxy, it does not handle them? As for the SNAPSHOT unique version, I put it to false because I don't want to have my snapshot repository getting bigger and bigger too fast. I know Maven knows well how to handle snapshots when unique version is activated, but I just want to save space. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Treloar, Barrie (SAPOL) barrie.treloar@ Pour police.sa.gov.au 'Maven Users List' users@maven.apache.org cc 08/02/2006 23:38 Objet RE: maven-proxy and snapshots Veuillez problem répondre à Maven Users List [EMAIL PROTECTED] che.org Hi everybody, I'm using maven-proxy as described in the doco Using Maven in a corporate environment ( http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+env ironment), and everything works well except for snapshots. I have snaphots of some of my components deployed in the inner snapshot repository (they are *not* deployed with a unique name, though, but only SNAPSHOT). When I build a projet that references those snapshots, I get the following error (with -e) : == === [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Failed to resolve artifact. required artifacts missing: com.inetpsa.fwk:fwk-sql:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-vrn:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-noyau:jar:2.1.0-SNAPSHOT for the artifact: com.inetpsa.xxx:xxxMetier:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Well remember the caveat at http://docs.codehaus.org/display/MAVENUSER/Mini+Guides NOTE: This page contains drafts of user contributed miniguides entries which are intended to supplement the official Maven documentation. The content you see here might not be fully fool-proof or might not comply with the best practices promoted by Maven. What is only guaranteed is that they have worked once for some members. It is best to treat these items as works in progress until they have been reviewed and promoted to the main Maven documentation site. That page, since I put it together, is a work in progress and may not be 100% correct. That being said, from the error message you have above from the specified remote repositories: central (http://repo1.maven.org/maven2) it looks like it is not checking your repositories for the snapshots. The section Defining repositories in settings.xml says just above the extract of settings.xml: The profile repositoryDefinitions is made active, but inhouseSnapshot is de-active by default. If you want your project to be built against snapshot versions then activate the profile on the mvn command line via -PinhouseSnapshot. Are you running maven like: mvn -PinhouseSnapshot ??? Also double check your pom.xml file. The default value for distributionManagement -
RE: maven-proxy and snapshots problem [SOLVED]
I successfully managed to configured my settings.xml so that it works well for snapshots when using maven-proxy. As I suspected, central seems to be configured to disable snapshot handling. So I added another repository with the same URL. Here is the correct settings.xml for my use case: == ?xml version=1.0 encoding=ISO-8859-1? settings mirrors mirror idmaven-proxy/id nameMaven-Proxy Mirror/name urlhttp://NUCLEUS:/repository/url mirrorOfcentral/mirrorOf /mirror /mirrors profiles profile idsnapshots-config/id repositories repository idsnapshot-repo/id nameReferentiel actif pour les snapshots /name urlhttp://NUCLEUS:/repository/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository /repositories /profile /profiles activeProfiles activeProfilesnapshots-config/activeProfile /activeProfiles /settings == Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Treloar, Barrie (SAPOL) barrie.treloar@ Pour police.sa.gov.au 'Maven Users List' users@maven.apache.org cc 08/02/2006 23:38 Objet RE: maven-proxy and snapshots Veuillez problem répondre à Maven Users List [EMAIL PROTECTED] che.org Hi everybody, I'm using maven-proxy as described in the doco Using Maven in a corporate environment ( http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+env ironment), and everything works well except for snapshots. I have snaphots of some of my components deployed in the inner snapshot repository (they are *not* deployed with a unique name, though, but only SNAPSHOT). When I build a projet that references those snapshots, I get the following error (with -e) : == === [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Failed to resolve artifact. required artifacts missing: com.inetpsa.fwk:fwk-sql:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-vrn:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-noyau:jar:2.1.0-SNAPSHOT for the artifact: com.inetpsa.xxx:xxxMetier:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Well remember the caveat at http://docs.codehaus.org/display/MAVENUSER/Mini+Guides NOTE: This page contains drafts of user contributed miniguides entries which are intended to supplement the official Maven documentation. The content you see here might not be fully fool-proof or might not comply with the best practices promoted by Maven. What is only guaranteed is that they have worked once for some members. It is best to treat these items as works in progress until they have been reviewed and promoted to the main Maven documentation site. That page, since I put it together, is a work in progress and may not be 100% correct. That being said, from the error message you have above from the specified remote repositories: central (http://repo1.maven.org/maven2) it looks like it is not checking your repositories for the
maven-proxy and snapshots problem
Hi everybody, I'm using maven-proxy as described in the doco Using Maven in a corporate environment (http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment), and everything works well except for snapshots. I have snaphots of some of my components deployed in the inner snapshot repository (they are *not* deployed with a unique name, though, but only SNAPSHOT). When I build a projet that references those snapshots, I get the following error (with -e) : = [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. required artifacts missing: com.inetpsa.fwk:fwk-sql:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-vrn:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-noyau:jar:2.1.0-SNAPSHOT for the artifact: com.inetpsa.xxx:xxxMetier:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: required artifacts missing: com.inetpsa.fwk:fwk-sql:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-vrn:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-noyau:jar:2.1.0-SNAPSHOT for the artifact: com.inetpsa.xxx:xxxMetier:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:547) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) 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:249) 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:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: required artifacts missing: com.inetpsa.fwk:fwk-sql:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-vrn:jar:2.1.0-SNAPSHOT com.inetpsa.fwk:fwk-noyau:jar:2.1.0-SNAPSHOT for the artifact: com.inetpsa.xxx:xxxMetier:jar:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:251) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:182) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1165) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530) ... 16 more [INFO] [INFO] Total time: 36 seconds [INFO] Finished at: Wed Feb 08 14:20:13 MET 2006 [INFO] Final Memory: 5M/14M [INFO] = It says it can't find the snapshots on central (http://repo1.maven.org/maven2). But when I look on my maven-proxy web interface, I can see those files located in the inner snapshot repository and referenced by maven-proxy. For information, here is my settings.xml: = ?xml version=1.0 encoding=ISO-8859-1? settings
Réf. : M2.0.2 Source Xref and JavaDocs
Hi Javed, if you're trying to find Xref sources of your sub-modules in the Source Xref report of your master project, you will hardly find them for your master project usually doesn't have any source. You have to go down into the sub-module sites to find them. Same thing for the Javadoc: you won't have Javadocs in the master site, but only in sub-modules. I guess that when the Javadoc and Xref plugins will be released, the links in the report section won't appear if a project has no source (an API has been introduced sometime ago for that purpose, but the modifications are still in SVN for those plugins). Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] javed mandary [EMAIL PROTECTED] m Pour Maven Users List 06/02/2006 08:05 users@maven.apache.org cc VeuillezObjet répondre à M2.0.2 Source Xref and JavaDocs Maven Users List [EMAIL PROTECTED] che.org Hi , am currently using Maven 2.0.2 to generate a site out of the main POM of my multiple-project . There are many sub poms which describe the sub-modules within my project . However when i generate site , the report for Source Xref says: -- Project sources No project sources were found. Test sources No test sources were found. --- Is there a place where the source directory needs to be defined in the main master POM ? Also when i try to open the index.html file in the main target directory at the top of the project structure and try to click on JavaDoc , the page is missing , it seems that it cant find the source directories within the sub modules. Anyone has an example of how to handle multiple-project dependencies and have the site generated properly? kind regards, Javed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Need help on configuring maven.username ?
Have you tried passing the argument in the command line? mvn -Dmaven.username=MyName ... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Malcolm Wong Ho [EMAIL PROTECTED] m Pour users@maven.apache.org 03/02/2006 10:21 cc Objet Veuillez [M2] Need help on configuring répondre à maven.username ? Maven Users List [EMAIL PROTECTED] che.org Where can i change the value/property for maven.username ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or any of its subsidiaries. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. While we do everything possible to protect information from viruses, Faritec accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access and/or downloading of any files which are attached to this e-mail message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Need help on configuring maven.username ?
Well, I don't know... Maybe Maven devs can tell you a bit more about that. And if you don't want to add -Dmaven.username=MyName each time you launch Maven, you still have a workaround: you can add it manually in your mvn.bat/mvn file. But of course, if you do that, the user name will be fixed for everyone who will use this executable... (if you're working on your own workstation, this is fine) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Malcolm Wong Ho [EMAIL PROTECTED] m Pour Maven Users List 03/02/2006 11:47 users@maven.apache.org cc VeuillezObjet répondre à RE: [M2] Need help on configuring Maven Users List maven.username ? [EMAIL PROTECTED] che.org is there no way of setting it in a properties file ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri 2/3/2006 12:39 PM To: Maven Users List Subject: RE: [M2] Need help on configuring maven.username ? Have you tried passing the argument in the command line? mvn -Dmaven.username=MyName ... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Malcolm Wong Ho [EMAIL PROTECTED] m Pour users@maven.apache.org 03/02/2006 10:21 cc Objet Veuillez [M2] Need help on configuring répondre à maven.username ? Maven Users List [EMAIL PROTECTED] che.org Where can i change the value/property for maven.username ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or any of its subsidiaries. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. While we do everything possible to protect information from viruses, Faritec accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access and/or downloading of any files which are attached to this e-mail message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. Any views of this communication are those of the sender except where the sender specifically states them to be those of Faritec (Holdings) Limited (Faritec) and/or any of its subsidiaries including (but not limited to) Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services (Proprietary)
Re: [m2.0.1] M2 updated to 2.0.1, but what about plugins
And also WAR plugin, which we've been waiting for for a long time now? ;o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 15/12/2005 08:27 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2.0.1] M2 updated to 2.0.1, Maven Users List but what about plugins [EMAIL PROTECTED] che.org with after that pmd and clover? ;) 2005/12/15, dan tran [EMAIL PROTECTED]: realease, assembly, deploy, install following up? ;-) -D On 12/14/05, John Casey [EMAIL PROTECTED] wrote: Plugin releases are on the way. The surefire plugin was released today, and we're getting ready to do the ear, checkstyle, javadoc, and eclipse plugins Real Soon Now. -john Andreas Lemke wrote: Hi, I'm currently evaluating maven2 for our company since about a week. My understanding has grown as far as needed to see that it's a great concept and product :-) I have upgraded to maven 2.0.1, but I cannot see where updated versions of the plugins are expected to come from. The release notes mention e.g. the new -DgeneratePOM parameter for install:install-file. This requires at least a 2.0.1-SNAPSHOT version of maven-install-plugin (or now even a final 2.0.1) which is neither at http://repo1.maven.org/maven2 nor at http://snapshots.maven.codehaus.org/maven2. regards and keep up the good work, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] A Bunch of Maven 1.x Plugins
Great, Doug! Do you plan to make releases for Maven 2 as well? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Doug Douglass [EMAIL PROTECTED] rdata.com Pour Maven Users List 02/12/2005 01:16 users@maven.apache.org cc VeuillezObjet répondre à [ANN] A Bunch of Maven 1.x Plugins Maven Users List [EMAIL PROTECTED] che.org We've released a bunch of Maven 1.x plugins, mostly for working with PHP projects: * Milestones Plugin for Maven -- Create milestones report (e.g., for use as a Bugzilla milestones document) * PHP Plugin for Maven -- Plugin for compiling PHP source files * PHPApp Plugin for Maven -- Plugin for building PHP web applications * PHPDoc Plugin for Maven -- Run phpDocumentor * SimpleTest Plugin for Maven -- Run Simple Test for PHP unit tests You can find them all here: http://projects.denverdata.com/maven/plugins/ Feedback appreciated Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Plugin release cycle: some thoughts
Hi guys, I'm having thoughts about plugin release cycles that I'd like to share with you. I've been watching for Maven War plugin next release for quite some time now. The reason is that there was a bug (MNG-1038) that was important for me to be fixed. This bug was fixed and the patch applied in SVN 10 days ago. So I waited a bit more to see if a release would happen, but it hasn't so far... Therefore, I decided to build the plugin by myself, and, surprise: I figured out that version 2.0.1-SNAPSHOT of the maven-archiver has begun to be used in this plugin. So I'm wondering: when will the Maven War plugin next release happen? If it has started using a snaphost version of Maven 2.0.1 (which has 138 bugs and still growing), we won't see the next release soon! (by release, I mean a stable release, even if it is not fully functionnal) This actually means that there won't be a final release of the war plugin for Maven 2.0.0... Which sounds weird to me. Wouldn't it have more sens to say that Maven main plugins (like jar, war, ear, and all those plugins that are widely used) should have at least 1 final release (i.e. not a beta) for each Maven Core release? In the case of the war plugin, don't you think it should be released in a stable version before using the next version of Maven Core? I'm quite upset to use Maven Core 2.0 with old beta plugins like war or site (the latest version of war plugin - version 2.0-beta-2, was released on October, 15th, that is before Maven Core 2.0) I find it important that plugins do not have the exact same release cycle as Maven Core, but having at least 1 stable release for each Maven Core release seems a real requirement: Maven Core without its plugins can't do much things, and IMHO, a specific version of Maven Core should definitely have a set of final versions of its main plugins. What do you guys think of this? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Continuous Integration Tool
I recommend you to try Luntbuild: http://www.pmease.com/luntbuild/ You can also have a look at this matrix: http://damagecontrol.codehaus.org/Continuous+Integration+Server+Feature+Matrix Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Blaise Gosselin [EMAIL PROTECTED] Pour 25/11/2005 15:40 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List Continuous Integration Tool [EMAIL PROTECTED] che.org Hello, What is the best tool to use for Continuous Integration ? I've already tested the following : - CruiseControl : good tool but apparently, not yet supported in Maven 2 - Continuum : problem to add a Maven 1.x project, error messages not explicite enough, etc. Thanks in advance for your help. _ _ _ bgOnline - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: POM inheritance
Damien, have a look at http://maven.apache.org/guides/introduction/introduction-to-the-pom.html HTH Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Damien Viel [EMAIL PROTECTED] rove.fr Pour users@maven.apache.org 22/11/2005 13:49 cc Objet Veuillez POM inheritance répondre à Maven Users List [EMAIL PROTECTED] che.org Hi all, Is the POM inheritance available in maven 2 ? If not, is there something that looks like ? Thanks Damien -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven plugin snapshots (was: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?)
Hi guys, more generally, wouldn't it be nice to have the same CI build process for plugins (Apache and Codehaus) as for Maven core? It seems to me that Brett or Jason talked about this some time ago, but I can't find the mails related to this... Brett, Jason: have you done something into that direction yet? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Pete [EMAIL PROTECTED] .comPour Maven Users List 18/11/2005 10:11 users@maven.apache.org cc VeuillezObjet répondre à maven-surefire-plugin - Maven Users List 2.0-beta-2-SNAPSHOT anyone send to [EMAIL PROTECTED] me ? che.org Would any kind person email the .JAR and .POM etc for the 2.0-beta-2-SNAPSHOT version of surefire plugin. I'm want to use XML reportFormat which I believe is only in SVN, unfortunately no SVN access allowed at work ! email to: [EMAIL PROTECTED] Many thanks build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.0-beta-2-SNAPSHOT/version /plugin /plugins /build - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
MEV: How to update local repository when a pom has been updated on central repo?
Hi guys, when the POM of a project has been updated on ibiblio thx to Maven Evangelism, how do I tell Maven to update it in my local repository? Do I have to delete it manually so that Maven downloads the updated POM? Or does Maven have a mechanism for that purpose? I though -U could be used, but I figured out this is only for plugin update. Thanks for your answer! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
War and Site plugins: final release soon?
Hi guys, Maven 2.0 has been released for quite a while now, and I was wondering when the Maven Distributed Plugins of the Maven Plugin Matrix would all be released in their final versions. As for me, I'm looking forward to the site plugin and the war plugin (which has only 4 issues left, amongst which MNG-1038 is important to me). Thanks for your answer! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] How dependency versions are resolved with transitivity?
Hi, Does anyone know how Maven resolves a version for a specific depedency when this dependency comes with different versions due to transitivity? I have the following case: I'm developing a framework where I use commons-lang version 2.0, along with other libs that have commons-lang in their POM, but with a different version (1.0.1 most of the time). In my WAR, I end up with version 1.0.1 of commons-lang. I know that projects using my framework can handle that by using dependency management. However, I would expect that version 2.0 of commons-lang would be used as I specified it in the deps of the POM of my framework (shouldn't that override the version 1.0.1 given by transitivity of other libs ?). Thanks for you answer ! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] How dependency versions are resolved with transitivity?
Hi Mark, Thank you for your answer! :) Then I have another question: when 2 different dependency versions are at the same level in the dependency tree, which one wins? Because in my case, I have version 2.0 and version 1.0.1 of commons-lang at the same level, and 1.0.1 wins. The highest-win strategy would be interesting, I agree. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Mark Hobson [EMAIL PROTECTED] l.com Pour Maven Users List 08/11/2005 13:49 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] How dependency versions Maven Users List are resolved with transitivity? [EMAIL PROTECTED] che.org Hi Fabrice, mvn currently mediates dependency versions using a nearest-wins strategy. This means that the dependency version specified highest in the dependency tree (i.e. nearest to the project being built) is used. As a side note, I really need the highest-wins strategy - any pointers to open issues or code required? Mark On 08/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Does anyone know how Maven resolves a version for a specific depedency when this dependency comes with different versions due to transitivity? I have the following case: I'm developing a framework where I use commons-lang version 2.0, along with other libs that have commons-lang in their POM, but with a different version (1.0.1 most of the time). In my WAR, I end up with version 1.0.1 of commons-lang. I know that projects using my framework can handle that by using dependency management. However, I would expect that version 2.0 of commons-lang would be used as I specified it in the deps of the POM of my framework (shouldn't that override the version 1.0.1 given by transitivity of other libs ?). Thanks for you answer ! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] parent's relativePath
I understand that artifactId and groupId are still required. But when I try using relativePath (and therefore removes the version element), Maven tells me that the version element of parent element is missing... Is it the default behaviour or I'm missing something? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 07/11/2005 03:36 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] parent's relativePath Maven Users List [EMAIL PROTECTED] che.org The docs on relativePath are lacking, and it really makes it quite deceptive. It is not extend from m1. What it does is modifies the behaviour of dan's first point. Basically, we have a concept of a universal source directory (more generally, a workspace) that is partially implemented - it means that even without the reactor or the local repository, Maven is able to find the source code for a particular dependency/parent reference so that you can more easily develop new versions. The default location for the parent is ../pom.xml, relativePath allows you to select a different location, for example when you structure is flat, or deeper without an intermediate parent pom. However, the group and artifact ID is still required as when the parent is coming from the repository, it must look for the parent in the repository, and so on. This feature is only for enhancing the development in a local checkout of that project. Hope that helps On 11/7/05, Jeff Jensen [EMAIL PROTECTED] wrote: Brett, Based on your comment of MNG-624 on 11/6/05 7:56 pm, I'm either not using relativePath correctly, or can't/not supposed to at all. So is there a way to do what I tried below, or must the parent POM be in the repo? Does MNG-740 have any merit? Are there doc/clarification notes on relativePath and I just missed it? -Original Message- From: Jeff Jensen [mailto:[EMAIL PROTECTED] Sent: Sunday, November 06, 2005 8:08 AM To: 'Maven Users List' Subject: RE: [m2] parent's relativePath Thanks Dan, My problem seems similar/same as your MNG-740. I too have the parent pom not in a dir directly above the other components, but in a dir at the same level as the other components. In MNG-740, A doesn't build for me without the listed step 1: install root POM. The relativePath setting seems to have no effect. I do not receive an error message that the parent was not found either. I'll add my use case to the comments. Thanks again Dan. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Saturday, November 05, 2005 11:52 PM To: Maven Users List Subject: Re: [m2] parent's relativePath Normally, maven looks for parent pom with this order immeditate parent directory local repo remote repo So the parent pom.xml in parent dir, must have the groupID and artifacID found in child pom But there is a bug that may be your problem too http://jira.codehaus.org/browse/MNG-740 -D On 11/5/05, Jeff Jensen [EMAIL PROTECTED] wrote: Hi, In parent, how does one use relativePath? I can only get POM inheritance to work if I have done a mvn install on the parent project. Then the component projects find it in the local private repo. I'm sure I just don't understand something yet. If there is docs on it, please give me an RTFM link! TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ibiblio is a bit messy and not consistent...
Hi, I say that because I was looking for xmlpull JARs, and I figured out that they were in two different places on ibiblio: - http://www.ibiblio.org/maven2/xmlpull/ - http://www.ibiblio.org/maven2/xpp3/ What's more, some folders don't even seem to be correct. For instance: http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4/ (in this folder, there should be a JAR called xpp3-1.1.3.4.jar in regards of the path and the pom found there...) So what to do in such cases? Which groupId should I trust? More generally, shouldn't there be a stricter control over the components deployed on ibiblio? Ibiblio is a repository, and one of the main characteristics of a repository is consistency. The POM being deployed with the artifact is part of the process to make transitive dependencies a reality in Maven, the doco says. But consistency of the repository is also part of the process to make transitive dependencies really efficient. :o) I say that just to underline the problem, but I know Maven devs are aware of this issue and put effort in cleaning the repository. FYI, I opened an issue in JIRA for xmlpull JARs (http://jira.codehaus.org/browse/MEV-173). Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Updating a plugin with pluginManagement?
Brett, have you filled an issue in JIRA for this, or should I do it? If so, in which component? - Fabrice Yes, it sounds like a bug. The version in plugin management should be used. -U is only for when the version is unspecified. - Brett On 11/4/05, fabrice belingard wrote: OK, but then, the question is: the version of a plugin declared in the pluginManagement section is not part of its configuration? I mean, if I have the following in my POM: build ... pluginManagement plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.0/version /plugin /plugins /pluginManagement /build , doesn't that mean that I want my subprojects to use version 2.0 of the surefire plugin? It seems that it doesn't, as Maven does not try to download this version but uses the 2.0-beta-1 that is installed locally... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars?
You can check out the plugin from SVN, verify that the patch has been applied (and apply it if not) and build the plugin yourself (the version of the plugin in SVN must be snapshot, so you can leave it like this). The plugin should be released soon (at least I hope), so you can also wait a bit. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] KC Baltz [EMAIL PROTECTED] .ComPour Maven Users List 03/11/2005 02:23 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] How to exclude Maven Users List WEB-INF/lib/*.jar without excluding [EMAIL PROTECTED] dependentjars? che.org What's the best way for me to try the patch? Can I simply change the version number of my plugin? Or do I have to build the plugin myself and apply the patch? K.C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 1:14 AM To: Maven Users List Subject: RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependentjars? Look at http://jira.codehaus.org/browse/MNG-1038 I don't know if the last patch has been applied to the WAR plugin. Anyway, the final version has not been released yet... (there are still some plugins that have not been released) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] KC Baltz [EMAIL PROTECTED] .ComPour Maven Users List 02/11/2005 02:08 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] How to exclude Maven Users List WEB-INF/lib/*.jar without excluding [EMAIL PROTECTED] dependent jars? che.org No luck. That appears to have no effect at all. I end up with all the jars, those from source control and those from dependencies. K.C. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 3:39 PM To: Maven Users List Subject: Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars? try excludes excludeWEB-INF/lib/*.jar/exclude /excludes On 11/2/05, KC Baltz [EMAIL PROTECTED] wrote: I'm in the process of converting a webapp from Ant builds to Maven2 builds and I'm running into a hitch with the packaging. When I first built the webapp, it put duplicate jars in my WEB-INF/lib since they exist there in my source directory and it also included the jars defined in my pom dependencies. I tried adding excludesWEB-INF/lib/*.jar/excludes to my war plugin configuration, but then I ended up with no jars in my war file. I'd rather not delete the jars at the moment since I'm still doing parallel development with Ant. Is there a way to accomplish this or am I wasting time trying to make M2 do something it really shouldn't? K.C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail:
Updating a plugin with pluginManagement?
Hi, I've just seen that version 2.0 of the surefire plugin has been released, so of course I decided to use it. In my pom, I specified the following lines: build ... pluginManagement plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin /artifactId version2.0/version /plugin /plugins /pluginManagement /build However, when I run mvn test, Maven didn't try to download version 2.0 and used the local version 2.0-beta-1. Shouldn't Maven try to update the plugin to the version I specified? If I specify the plugin (version 2.0) in the plugins element of build, then the last version gets downloaded and used, but the maven-metadata-central.xml file is not updated - and therefore 2.0-beta-1 will stay as the default version to use for the plugin. I have to delete maven-metadata-central.xml to force Maven to update the plugin... Am I missing something? Thanks in advance for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Updating a plugin with pluginManagement?
Hi Yann, this does not work - I read on a post from Brett that these options work only for the plugin registry and the plugin registry is not activated by default in m2. And even when I run the command for the first time today, Maven didn't try any update, so that's why I don't understand what's happening. Also I must admit that I don't always understand all the differences between the pluginManagement and plugins elements of the build section... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Yann Le Du [EMAIL PROTECTED] com Pour Maven Users List 03/11/2005 11:48 users@maven.apache.org cc VeuillezObjet répondre à RE: Updating a plugin with Maven Users List pluginManagement? [EMAIL PROTECTED] che.org Hi Fabrice, I believe you must use -cpu or -U to force the update, or else updates are checked once a day. Regards, Yann --- [EMAIL PROTECTED] a écrit : Hi, I've just seen that version 2.0 of the surefire plugin has been released, so of course I decided to use it. In my pom, I specified the following lines: build ... pluginManagement plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin /artifactId version2.0/version /plugin /plugins /pluginManagement /build However, when I run mvn test, Maven didn't try to download version 2.0 and used the local version 2.0-beta-1. Shouldn't Maven try to update the plugin to the version I specified? If I specify the plugin (version 2.0) in the plugins element of build, then the last version gets downloaded and used, but the maven-metadata-central.xml file is not updated - and therefore 2.0-beta-1 will stay as the default version to use for the plugin. I have to delete maven-metadata-central.xml to force Maven to update the plugin... Am I missing something? Thanks in advance for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Updating a plugin with pluginManagement?
OK, but then, the question is: the version of a plugin declared in the pluginManagement section is not part of its configuration? I mean, if I have the following in my POM: build ... pluginManagement plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.0/version /plugin /plugins /pluginManagement /build , doesn't that mean that I want my subprojects to use version 2.0 of the surefire plugin? It seems that it doesn't, as Maven does not try to download this version but uses the 2.0-beta-1 that is installed locally... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Emmanuel Venisse [EMAIL PROTECTED] e.net Pour Maven Users List 03/11/2005 13:19 users@maven.apache.org cc VeuillezObjet répondre à RE: Updating a plugin with Maven Users List pluginManagement? [EMAIL PROTECTED] che.org pluginManagement is used for define the default configurztion of a plugin. Your sub-project can use it without redeclaring all conf if it's the same, in sub-projects, your declare only groupId and artifactId of the plugin and m2 will use the conf of parent defined in parent pom. It's the same mechanism than dependencyManagement Emmanuel [EMAIL PROTECTED] said: Hi Yann, this does not work - I read on a post from Brett that these options work only for the plugin registry and the plugin registry is not activated by default in m2. And even when I run the command for the first time today, Maven didn't try any update, so that's why I don't understand what's happening. Also I must admit that I don't always understand all the differences between the pluginManagement and plugins elements of the build section... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Yann Le Du [EMAIL PROTECTED] com Pour Maven Users List 03/11/2005 11:48 users@maven.apache.org cc Veuillez Objet répondre à RE: Updating a plugin with Maven Users List pluginManagement? [EMAIL PROTECTED] che.org Hi Fabrice, I believe you must use -cpu or -U to force the update, or else updates are checked once a day. Regards, Yann --- [EMAIL PROTECTED] a écrit : Hi, I've just seen that version 2.0 of the surefire plugin has been released, so of course I decided to use it. In my pom, I specified the following lines: build ... pluginManagement plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin /artifactId version2.0/version /plugin /plugins /pluginManagement /build However, when I run mvn test, Maven didn't try to download version 2.0 and used the local version 2.0-beta-1. Shouldn't Maven try to update the plugin to the version I specified? If I specify the plugin (version 2.0) in the plugins element of build, then the last version gets downloaded and used, but the maven-metadata-central.xml file is not updated - and therefore 2.0-beta-1 will stay as the default version to use for the plugin. I have to delete maven-metadata-central.xml to force Maven to update the plugin... Am I missing something? Thanks in advance for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91
RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars?
Look at http://jira.codehaus.org/browse/MNG-1038 I don't know if the last patch has been applied to the WAR plugin. Anyway, the final version has not been released yet... (there are still some plugins that have not been released) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] KC Baltz [EMAIL PROTECTED] .ComPour Maven Users List 02/11/2005 02:08 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] How to exclude Maven Users List WEB-INF/lib/*.jar without excluding [EMAIL PROTECTED] dependent jars? che.org No luck. That appears to have no effect at all. I end up with all the jars, those from source control and those from dependencies. K.C. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 3:39 PM To: Maven Users List Subject: Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars? try excludes excludeWEB-INF/lib/*.jar/exclude /excludes On 11/2/05, KC Baltz [EMAIL PROTECTED] wrote: I'm in the process of converting a webapp from Ant builds to Maven2 builds and I'm running into a hitch with the packaging. When I first built the webapp, it put duplicate jars in my WEB-INF/lib since they exist there in my source directory and it also included the jars defined in my pom dependencies. I tried adding excludesWEB-INF/lib/*.jar/excludes to my war plugin configuration, but then I ended up with no jars in my war file. I'd rather not delete the jars at the moment since I'm still doing parallel development with Ant. Is there a way to accomplish this or am I wasting time trying to make M2 do something it really shouldn't? K.C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Unit test report in website
Wim, AFAIK, the current release of the surefire plugin can't generate XML reports, which is required for the surefire report plugin to work correctly. Try to build the surefire plugin from SVN, and you would probably get correct reports. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 28/10/2005 13:12 users@maven.apache.org cc VeuillezObjet répondre à [m2] Unit test report in website Maven Users List [EMAIL PROTECTED] che.org Hi, I'm trying to add the results of my unit tests on the generated webpage. I added the surefire-plugin to the reports section, and I get a link the menu. However the webpage shows that no tests have run, but they do run: Results : [surefire] Tests run: 46, Failures: 0, Errors: 0 any ideas? Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Unit test report in website
Wim, Maven plugins have their own release cycle. This means that even if Maven 2.0 (Core) has been released, some plugins have not been finalised yet. This is the case of the maven-surefire-plugin (http://maven.apache.org/maven2/plugins/maven-surefire-plugin/), which is currently released in 2.0-beta-1 version (http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/). This plugin executes the tests and can generate XML reports. This is also the case of the surefire-report-maven-plugin (http://mojo.codehaus.org/surefire-report-maven-plugin/), which is also released in 2.0-beta-1 version (http://www.ibiblio.org/maven2/org/codehaus/mojo/surefire-report-maven-plugin/). This plugin takes the result of the maven-surefire-plugin's execution and generates the web page report. As for the release dates, please read this thread: http://www.nabble.com/Plugin-release-dates-t444838.html#a1215236 Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 28/10/2005 15:01 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] Unit test report in Maven Users List website [EMAIL PROTECTED] che.org Wow, so you're saying that the released version of Maven 2, can't generate a report of the unit tests??? any idea when a next version will be released. This seems like very basic functionality. regards, Wim 2005/10/28, [EMAIL PROTECTED] [EMAIL PROTECTED]: Wim, AFAIK, the current release of the surefire plugin can't generate XML reports, which is required for the surefire report plugin to work correctly. Try to build the surefire plugin from SVN, and you would probably get correct reports. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com http://ail.com Pour Maven Users List 28/10/2005 13:12 users@maven.apache.org cc Veuillez Objet répondre à [m2] Unit test report in website Maven Users List [EMAIL PROTECTED] che.org http://che.org Hi, I'm trying to add the results of my unit tests on the generated webpage. I added the surefire-plugin to the reports section, and I get a link the menu. However the webpage shows that no tests have run, but they do run: Results : [surefire] Tests run: 46, Failures: 0, Errors: 0 any ideas? Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] surefire - xml reports ?
Hi guys, AFAIK, this feature is currently only available in SVN. So you have two options: either you build the surefire plugin from the trunk, or you wait for the next release. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Samuel Le Berrigaud [EMAIL PROTECTED] Pour .com Maven Users List users@maven.apache.org 24/10/2005 13:09 cc Objet Veuillez Re: [m2] surefire - xml reports ? répondre à Maven Users List [EMAIL PROTECTED] che.org Hi Peter, to get the report in the site the config is the following: reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId /plugin ... /plugins /reporting This uses the surefire-report-maven-plugin that you can find here: http://mojo.codehaus.org/surefire-report-maven-plugin/ However I have some little problems for the moment making it work because the maven-surefire-plugin that you can find here: http://maven.apache.org/plugins/maven-surefire-plugin/ doesn't seem to generate the xml reports files ? Any one can help me - us - on that ? SaM On 10/24/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: Yes I would like to know to get also the XML in order to XSLT it and get reports. In Maven 1 you wrote something like this project ... reports reportmaven-junit-report-plugin/report reportmaven-jxr-plugin/report ... /reports ... /project How do also get the equivalent of junit reports generated with ``mvn site''? tia -Original Message- From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] ==== Hi, I'm trying to get the surefire reports included into my site. The plugin seems to work ok, however I got no test passed on my report. The cause seems to be that the surefire plugin does not generate xml report files, and that the surefire-report plugin relies on those... Am I missing something ? -- Samuel Le Berrigaud ==== -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Samuel Le Berrigaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] How do you use maven2 inside a corporate firewall?
The settings.xml file can be placed in: - m2_install_dir/conf/ : the settings will be available for all users - user_home/.m2/ : the settings will be available only for you Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Pilgrim, Peter [EMAIL PROTECTED] sfb.com Pour 'Maven Users List' 21/10/2005 15:44 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] How do you use maven2 Maven Users List inside a corporate firewall? [EMAIL PROTECTED] che.org Ok I think we have a circular dependency here. Follow the getting started guide ``http://maven.apache.org/maven2/guides/getting-started/index.html'' I am trying to execute the command line: % mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app But it seems that the help page above requires me to create a setting.xml that exists as part of a project. How can I define ``setting.xml'' if I still have to create a project? Is there way of setting the proxy setting before creating the project with archetype? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 October 2005 14:34 To: Maven Users List Subject: RE: [m2] How do you use maven2 inside a corporate firewall? Peter, please have a look at the documentation on Maven 2 website: http://maven.apache.org/maven2/guides/mini/guide-proxies.html This page should answer your question. :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Pilgrim, Peter [EMAIL PROTECTED] sfb.com Pour Maven Users List (E-mail) 21/10/2005 15:11 users@maven.apache.org cc Veuillez Objet répondre à [m2] How do you use maven2 inside a Maven Users List corporate firewall? [EMAIL PROTECTED] che.org Does ``mvn'' still respect the proxy settings in ``${user.home}/build.properties'' ? How do get maven2 to work with a HTTP proxy? TIA -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] How do you use maven2 inside a corporate firewall?
Well, if you hadn't set your firewall settings, I guess you haven't downloaded anything yet from ibiblio. So I would delete everything in your C:\Documents and Settings\ppilgrim\.m2 folder (except the settings.xml file), and start again. That should work. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Pilgrim, Peter [EMAIL PROTECTED] sfb.com Pour 'Maven Users List' 21/10/2005 16:16 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] How do you use maven2 Maven Users List inside a corporate firewall? [EMAIL PROTECTED] che.org Ok I set up the ``C:\Documents and Settings\ppilgrim\.m2\settings.xml'' with !-- Maven 2 Configuration -- settings proxies proxy activetrue/active protocolhttp/protocol hostocs-ca-http.csfb.net/host port8080/port usernameppilgrim/username password/password nonProxyHosts/ /proxy /proxies /settings When I run the getting started command line, I get a failure C:\Projectsmvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my- app + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin gs\ppilgrim\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\opt\maven-2.0 \bin\ ..\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [DEBUG] maven-archetype-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest ve rsion org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- plugin:pom:LATEST [DEBUG] maven-archetype-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release v ersion org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype- plugin:pom:RELEASE [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] - --- [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1124) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1356) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:376) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:132) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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)
RE: [ANN] Maven 2.0 Release Now Available
We've been so much looking forward to it, congrats!!! :oD Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter [EMAIL PROTECTED] g Pour users@maven.apache.org 20/10/2005 00:24 cc dev@maven.apache.org Objet Veuillez [ANN] Maven 2.0 Release Now répondre à Available Maven Users List [EMAIL PROTECTED] che.org We are pleased to announce that Maven 2.0 has been released, and is available for download from http://maven.apache.org/maven2/download.html Maven is a build system that provides software project management and dependancy comprehension. Based on the concept of a project object model (POM), Maven manages a project's build, reporting and documentation from a central place. Maven 2.0 is a rewrite of the popular Maven application, designed to both address previous functional requirements and provide a stable platform for extending and enhancing its build management framework. This release is significantly faster and smaller than Maven 1.0 and includes the following usability and performance improvements: * Enhanced Dependency Management - includes dependency closures (transitive dependencies), version ranges, automatic build numbering, and automatic updating on a configurable interval * Defined Build Lifecycle - developers can build any type of project using standard commands such as compile, test and install * Unified Project Definition - manages all required build information in a single POM now, including project information, dependencies and plugin configuration * Extended Plugin Architecture - supports Java and scripting languages such as Beanshell for plugin development * Better Repository Support - includes separated snapshot repositories, a new more managable layout and per-project definitions of new repositories * Expanded Reactor Operation - offers built-in support for multiple projects (without the need to perform a full install cycle to compile all projects) and support for project aggregation * New Site Management Tools - supports multiple input and output formats, with input formats including wiki-like APT format and docbook, while continuing to support traditional Maven XDoc and FAQ format. * New Reporting API - offers a standardised method for producing project information and reports * And much more... The Maven 2.0 release is considered stable and includes a Maven 1.0 complete feature set, with additional functionality. The most popular Maven 1.0 plugins have been converted for Maven 2.0, and many more are available in beta. See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more information on particular plugins. Maven's advanced dependency management features rely on project metadata. If you are interested in improving support for the users of your project, see http://maven.apache.org/maven2/project-faq.html The Maven team would like to express thanks to the user and developer community for their beta testing, feedback and contributions that helped make the release possible! To get started with Maven now, see the getting started guide: http://maven.apache.org/maven2/guides/getting-started/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Plugin Documentation
Hi Tomislav, the plugins doco is still at the same place: http://maven.apache.org/maven2/plugins/index.html You can get there by clicking on Documentation on the left menu, then go down the page and you'll find the link Available Plug-ins. It's true that some useful links could be directly added to the left menu. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Tomislav Stojcevich [EMAIL PROTECTED] Pour il.com users@maven.apache.org cc 20/10/2005 15:02 Objet [m2] Plugin Documentation Veuillez répondre à Maven Users List [EMAIL PROTECTED] che.org What happened to the plugin documentation? Are they still available somewhere and am I just not finding them? There use to be a link that took you to a list of all available plugins and you could get to the documentation for each of the plugins that showed all of the parameters. It's kind of painful having to manually create the plugin sites from the downloaded source and search through each of their site directories. --tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] css is lost on page not found exception
Actually, this is the case for every page that does not exist on the Maven site. And the Page Not Found page does not look the same in every case (problem of relative links I guess): - http://maven.apache.org/maven2/foo.html : correct - http://maven.apache.org/maven2/bar/foo.html : CSS is missing - http://maven.apache.org/maven2/bar/bar2/foo.html : CSS and pictures are missing Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 20/10/2005 15:05 users@maven.apache.org cc VeuillezObjet répondre à [m2] css is lost on page not found Maven Users List exception [EMAIL PROTECTED] che.org Hi, try to surf here: http://maven.apache.org/maven2/guides/plugin/developers/mojo-api-specification.html It shows a quite ugly page (probably because the css is not found) regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Maven release plugin and CVS: bug?
Michael, thanks for your answer. Unfortunately, although I've followed every step you gave to me, I still get the same error: ... [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\fabPlateformeIntegration\cvsAppliExempleTest for user fabrice [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An error is occurred in the status process. Embedded error: Error! ... Maybe the problem comes from somewhere else... But that's weird because when I connect to CVS via the command line, my user/password account is correct and I'm not rejected. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Michael McCrann Michael.McCrann @macquarie.com Pour [EMAIL PROTECTED], 19/10/2005 07:16 users@maven.apache.org cc Objet RE: [m2] Maven release plugin and CVS: bug? Fabrice, Here is something else that is worth trying: - Make sure that you are using M2 RC. (I deleted my local repository after installing the RC, to ensure my installation was completely fresh) Say, for example your Maven SCM URL is: scm:cvs:pserver:user:password@cvs-server:cvs-repository-path:module - Delete your .cvspass file. This should be in your home directory ('c:\Documents and Settings' for me) - Run the CVS login command: cvs -d:pserver:user@cvs-server:cvs-repository-path login - Run the release:prepare goal. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 October 2005 5:55 PM To: Michael McCrann Subject: RE: [M2 RC] problems with release:perform Hi Michael, This release plugin seems to be quite tricky... I still haven't succeeded in making the prepare goal working! Could you please show me how your pom looks like so that I can try to find what's wrong with mine? Thanks a lot in advance! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Michael McCrann Michael.McCrann @macquarie.com Pour Maven Users List 18/10/2005 08:34 users@maven.apache.org cc VeuillezObjet répondre à RE: [M2 RC] problems with Maven Users List release:perform [EMAIL PROTECTED] che.org Hi, In attempt to find a solution to the my release:perform problem, I checked out the trunk version and built maven using the m2-bootstrap-all.bat script. I ran the release:perform again and got the error below. Ignoring the m2 deprecated message! could the problem be something to do with '/' in the working directory: c:\michaels_projects\transact\target/checkout? Michael [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-3:perform' -- [DEBUG] (f) basedir = c:\michaels_projects\transact [DEBUG] (f) goals = deploy:deploy [DEBUG] (f) interactive = true [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) workingDirectory = c:\michaels_projects\transact\target/checkout [DEBUG] -- end configuration -- [INFO] [release:perform] [INFO] Checking out the project to perform the
[m2] Change update policy for central ibiblio and codehaus repositories
Hi, By default, the update policy for ibiblio and codehaus repositories is daily. I'd like to change it: where is the best place to do that and how do I override it? I guess that this could be done in $HOME/.m2/settings.xml, using an active profile that defines the 2 repositories with their new updatePolicy (but do I need to give them a special id, like central for ibiblio and ??? for codehaus?). Or is there an easier way to achieve that? Thanks! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Maven 2.x documentation
Hi Jason, Maybe you've split the following subject into the others, but that would be valuable to have a guide about configuration inheritence: - precedence of the different files (settings.xml in maven install, settings.xml in .m2 folder, poms and their children, ...) - how the XML configuration elements are merged (order of the merged elements, how elements can be overriden, ...) Cheers, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Jason van Zyl [EMAIL PROTECTED] Pour 'Maven Users List' 06/10/2005 21:09 users@maven.apache.org cc VeuillezObjet répondre à Maven 2.x documentation Maven Users List [EMAIL PROTECTED] che.org Hi, I'm working on the Maven Getting Started Guide (GSG), some mini guides and some introductory material. In the last week or so I've been trying to harvest popular topics off the user list in order to create the introductory material users need and mini guides which are supposed to be little howtos for getting things done. What I have still needs to be fleshed out a great deal but if anyone has any ideas or topics for introductory material or mini guides please send them my way. Or if you have submitted something and you know of a particular JIRA issue you would like me to look at please send that my way too. http://people.apache.org/~jvanzyl/maven2/guides/toc.html Also if you want to create a little guide I would be happy to add it! :-) I hope to complete all the material for the 2.0 final release. Any feedback would be greatly appreciated. -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: [m2] Maven release plugin and CVS: bug?
Hi David, I use CVSNT indeed, but as I provided my password in the SCM connection, it seems that the release:prepare goal creates by itself the .cvspass with the good entry. And I also tried with a truely valid .cvspass (that works with other plugins, m1 plugins for instance), it still doesn't work. That's why I run out of ideas as of what I can do to make it work... Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Jackman [EMAIL PROTECTED] astsearch.com Pour Maven Users List 19/10/2005 16:14 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] Maven release plugin and Maven Users List CVS: bug? [EMAIL PROTECTED] che.org What do you see when you run cvs -version from the command line? If you're running some version of CVSNT, then doing a cvs login from the command line won't create the necessary ~/.cvspass file that the Maven SCM operations will need. (Because CVSNT stores the passwords in the registry instead of a file.) There are some web pages around that talk about this issue. If that's what you're seeing, I wrote a utility some time back that extracts passwords from the registry and creates a .cvspass file with them. ..David.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 4:15 AM To: users@maven.apache.org Subject: RE: [m2] Maven release plugin and CVS: bug? Michael, thanks for your answer. Unfortunately, although I've followed every step you gave to me, I still get the same error: ... [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\fabPlateformeIntegration\cvsAppliExempleTest for user fabrice [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An error is occurred in the status process. Embedded error: Error! ... Maybe the problem comes from somewhere else... But that's weird because when I connect to CVS via the command line, my user/password account is correct and I'm not rejected. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Michael McCrann Michael.McCrann @macquarie.com Pour [EMAIL PROTECTED], 19/10/2005 07:16 users@maven.apache.org cc Objet RE: [m2] Maven release plugin and CVS: bug? Fabrice, Here is something else that is worth trying: - Make sure that you are using M2 RC. (I deleted my local repository after installing the RC, to ensure my installation was completely fresh) Say, for example your Maven SCM URL is: scm:cvs:pserver:user:password@cvs-server:cvs-repository-path:module - Delete your .cvspass file. This should be in your home directory ('c:\Documents and Settings' for me) - Run the CVS login command: cvs -d:pserver:user@cvs-server:cvs-repository-path login - Run the release:prepare goal. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 October 2005 5:55 PM To: Michael McCrann Subject: RE: [M2 RC] problems with release:perform Hi
[m2] compileSourceRoots
Hi guys, one of my dev teams uses the multiple source folder functionnality of Eclipse (in a single project). That is, they have a project that looks like: MyProject + src_1 + ...java packages and files... + src_2 + ...java packages and files... I've just seen that there's a compileSourceRoots property for the compiler plugin, but it is read-only. How is it possible then to put the source roots src_1 and src_2 in this property? Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 1 and Maven 2 next to each other
I'm currently doing this and everything works perfectly. This is a good way to move from m1 to m2. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 18/10/2005 11:48 users@maven.apache.org cc VeuillezObjet répondre à Re: Maven 1 and Maven 2 next to Maven Users List each other [EMAIL PROTECTED] che.org Does somebody have experience with this? Any things I should be aware of when doing this? 2005/10/18, Edwin Punzalan [EMAIL PROTECTED]: Yes it is possible to have both project.xml and pom.xml Wim Deblauwe wrote: Hi, is it possible to build with Maven 1 and Maven 2? As I understand it, Maven 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can build with Maven 1 and if I add a pom.xml I can build the same project with Maven 2. Correct? Or are there any extra's I need to consider? regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Running a goal only once in a multiproject context
Hi, I have defined a Mojo that does some work (create some necessary folders, init some dynamic values, ...) before running an install over my multi-module project. When I run m2 myGroupId:myArtifactId:myGoal install on my master project, my goal gets executed for each submodule while I need it to be executed only once at the very beginning of the build. Is there a way to tell the Mojo that it must be executed only once? I looked at the plugin.xml file placed in the META-INF of the plugin, but I can't figure out what the different parameters are for (requiresDirectInvocation, inheritedByDefault, executionStrategy, ...). Btw, is there also a way to define an alias so that I don't need to write m2 myGroupId:myArtifactId:myGoal, but only m2 shortId:myGoal for instance ? Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Running a goal only once in a multiproject context
Correct and correct! For settings.xml, the full syntax is: pluginGroups pluginGroupcom.mycompany.plugins/pluginGroup /pluginGroups Thanks Milos! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Milos Kleint [EMAIL PROTECTED] n.COM Pour Maven Users List 18/10/2005 14:41 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] Running a goal only once Maven Users List in a multiproject context [EMAIL PROTECTED] che.org i think adding @aggregator to the mojo's class javadoc does the trick.. there needs to be the plugin's group id added to the settings.xml file .. the element is called something like pluginGroups milos [EMAIL PROTECTED] wrote: Hi, I have defined a Mojo that does some work (create some necessary folders, init some dynamic values, ...) before running an install over my multi-module project. When I run m2 myGroupId:myArtifactId:myGoal install on my master project, my goal gets executed for each submodule while I need it to be executed only once at the very beginning of the build. Is there a way to tell the Mojo that it must be executed only once? I looked at the plugin.xml file placed in the META-INF of the plugin, but I can't figure out what the different parameters are for (requiresDirectInvocation, inheritedByDefault, executionStrategy, ...). Btw, is there also a way to define an alias so that I don't need to write m2 myGroupId:myArtifactId:myGoal, but only m2 shortId:myGoal for instance ? Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Running a goal only once in a multiproject context
Thanks for your answer John! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] John Casey [EMAIL PROTECTED] ava.org Pour Maven Users List 18/10/2005 17:04 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] Running a goal only once Maven Users List in a multiproject context [EMAIL PROTECTED] che.org -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try adding the class-level annotation: @aggregator to your mojo. This will tell the mojo to only execute at the top level. If you need access to the List of project instances in the current build, use the following: /** ~ * @parameter default-value=${reactorProjects} ~ * @required ~ * @readonly ~ */ private java.util.List reactorProjects; Also, if you want it to execute before anything else in the build, you can bind it to the 'initialize' phase using: phaseinitialize/phase within the execution specification for the plugin. NOTE: you'll also have to enumerate the goals you want to run in a goalsgoalmyMojo/goal/goals section, also within the execution specification. To answer your second question, try adding the following to your plugin's POM: build ... ~ plugins ~plugin ~ artifactIdmaven-plugin-plugin/artifactId ~ configuration ~prefixmyPluginPrefix/prefix ~ /configuration ~/plugin ~ /plugins ... /build When you re-install/deploy the plugin, this *should* allow you to specify: m2 myPluginPrefix:myMojo rather than referring to it by groupId:artifactId[:version]:goal. Cheers, john [EMAIL PROTECTED] wrote: | | | | Hi, | | I have defined a Mojo that does some work (create some necessary folders, | init some dynamic values, ...) before running an install over my | multi-module project. When I run m2 myGroupId:myArtifactId:myGoal install | on my master project, my goal gets executed for each submodule while I need | it to be executed only once at the very beginning of the build. | Is there a way to tell the Mojo that it must be executed only once? I | looked at the plugin.xml file placed in the META-INF of the plugin, but I | can't figure out what the different parameters are for | (requiresDirectInvocation, inheritedByDefault, executionStrategy, ...). | | Btw, is there also a way to define an alias so that I don't need to write | m2 myGroupId:myArtifactId:myGoal, but only m2 shortId:myGoal for | instance ? | | Thanks for your help! | | Best Regards / Cordialement, | Fabrice BELLINGARD | DINQ/DSIN/INSI/EATE/IDVS/AIDV | (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] | | | - | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | | | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDVQ7sK3h2CZwO/4URAjfcAKCcsMYU71YCHoMoiDbmjvDdqEaCzgCeJYSY 1reEdoqWeJ3WtQA9hRAVMS4= =zV4b -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Maven release plugin and CVS: bug?
Hi Michael, I put my pom[1] at the end of the mail. I still can't manage to make it work, even when I embed my password in the URL. I still get: Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\fabPlateformeIntegration\cvsAppliExempleTest for user fabrice However, the username and the password are correct, and I can connect when I use the cvs command line... By the way, I use Maven 2.0-RC and version 2.0-beta-3 of the release plugin. And I have my password stored in the .cvspass of my user home... I'm really running out of ideas to make this work! Thanks in advance for your help :o) Fabrice. [1] : ?xml version=1.0 encoding=ISO-8859-1? project modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest-release/artifactId packagingjar/packaging nameTest/name version1.0.0-SNAPSHOT/version scm connection scm:cvs:pserver:[EMAIL PROTECTED]:/C//fabPlateformeIntegration/cvsAppliExempleTest:Test-Release /connection developerConnection scm:cvs:pserver:[EMAIL PROTECTED]:/C//fabPlateformeIntegration/cvsAppliExempleTest:Test-Release /developerConnection /scm build pluginManagement plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-3/version configuration usernamefabrice/username passwordXXX/password /configuration /plugin /plugins /pluginManagement /build /project Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Michael McCrann Michael.McCrann @macquarie.com Pour Maven Users List 17/10/2005 02:29 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] Maven release plugin and Maven Users List CVS: bug? [EMAIL PROTECTED] che.org Fabrice, What is the SCM/CVS URL you are using? I have embedded my password in the URL. My URL looks like this: scm:cvs:pserver:my username:my password@CVS server:path to CVS repository:cvs module Michael -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Saturday, 15 October 2005 9:10 AM To: Maven Users List Subject: RE: [m2] Maven release plugin and CVS: bug? Hi Fabrice, I am using SVN, but had the same kind of problem (at first). In your release plugin configuration, did you also provide username, along password ? I provided both, and it worked. Now the odd part : I recently removed username and password and it's still working. I can't tell why... Michael McCrann was also trying the release plugin with CVS, and seemed to have come further than you. Maybe he'll be able to help you ? http://marc.theaimsgroup.com/?l=turbine-maven-userm=112925914521071w=2 Regards, Yann --- [EMAIL PROTECTED] a écrit : Hi guys, I'm trying to make the maven release plugin work, but I always get the same error when running m2 release:prepare -Dtag=...: [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\cvsRepo for user e222731 This occurs although the .cvspass exists in my user home and it is valid with the right password (the changes plugin can connect to the CVS - even if it generates an empty report...). Is there something special to do to make this plugin work connect to CVS correctly? I tried the password config parameter for the release plugin, but this does not work... Am I
[m2] Maven release plugin and CVS: bug?
Hi guys, I'm trying to make the maven release plugin work, but I always get the same error when running m2 release:prepare -Dtag=...: [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\cvsRepo for user e222731 This occurs although the .cvspass exists in my user home and it is valid with the right password (the changes plugin can connect to the CVS - even if it generates an empty report...). Is there something special to do to make this plugin work connect to CVS correctly? I tried the password config parameter for the release plugin, but this does not work... Am I missing something? Did someone manage to make it work with CVS or is it a bug that I will fill in JIRA? Thanks! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : [m2] looking for docs on FML
David, please look at this page, you will find everything you're looking for. http://maven.apache.org/reference/plugins/faq/index.html Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Sag [EMAIL PROTECTED] Pour 10/10/2005 14:24 users@maven.apache.org cc VeuillezObjet répondre à [m2] looking for docs on FML Maven Users List [EMAIL PROTECTED] che.org I have spent about an hour scouring thru google and the maven web looking for a reference for the FML language for defining faqs but still can't find it. could someone on this list please post a link to the FML spec? or some examples? Kind regards, Dave Sag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Réf. : [m2] looking for docs on FML
The docs are not really m1 specific as the DTD hasn't changed. And if you want your FAQ to be generated, you need to place your FML files in the right place, that is by default: ${basedir}/src/site/fml Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Sag [EMAIL PROTECTED] Pour 10/10/2005 15:36 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List Re: Réf. : [m2] looking for docs on [EMAIL PROTECTED] FML che.org Cool thanks - now how do i get the faqs to be part of my site:site build? the docs you pointed me at are m1 specific. i tried the obvious but that failed. Kind regards, Dave Sag [EMAIL PROTECTED] wrote on 10/10/2005 03:17:57 PM: David, please look at this page, you will find everything you're looking for. http://maven.apache.org/reference/plugins/faq/index.html Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] David Sag [EMAIL PROTECTED] Pour 10/10/2005 14:24 users@maven.apache.org cc Veuillez Objet répondre à [m2] looking for docs on FML Maven Users List [EMAIL PROTECTED] che.org I have spent about an hour scouring thru google and the maven web looking for a reference for the FML language for defining faqs but still can't find it. could someone on this list please post a link to the FML spec? or some examples? Kind regards, Dave Sag - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Where are the report plugins??
Cristiano, some report plugins are available on the Maven site: http://maven.apache.org/maven2/plugins/index.html some others on CodeHaus: http://mojo.codehaus.org/ More generally, look at http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix to know more about plugins ported to m2. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Cristiano V. Gavião [EMAIL PROTECTED] Pour .br users@maven.apache.org cc 06/10/2005 23:38 Objet Where are the report plugins?? Veuillez répondre à Maven Users List [EMAIL PROTECTED] che.org Hi people, Anybody could tell which reports can I use with m2? and where can I checkout it? thanks Cristiano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Maven 2.x documentation
Hi Jason, basically, I would add to your existing list some of the items that are already listed on Maven 2 web site (http://maven.apache.org/maven2/docs-required.html): - Development process with Maven best practices (snapshot handling - different from m1, scm plugin, ...) - Plugin writing: a comprehensive guide - Project inheritence and company wide strategy - Distribution management Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Jason van Zyl [EMAIL PROTECTED] Pour 'Maven Users List' 06/10/2005 21:09 users@maven.apache.org cc VeuillezObjet répondre à Maven 2.x documentation Maven Users List [EMAIL PROTECTED] che.org Hi, I'm working on the Maven Getting Started Guide (GSG), some mini guides and some introductory material. In the last week or so I've been trying to harvest popular topics off the user list in order to create the introductory material users need and mini guides which are supposed to be little howtos for getting things done. What I have still needs to be fleshed out a great deal but if anyone has any ideas or topics for introductory material or mini guides please send them my way. Or if you have submitted something and you know of a particular JIRA issue you would like me to look at please send that my way too. http://people.apache.org/~jvanzyl/maven2/guides/toc.html Also if you want to create a little guide I would be happy to add it! :-) I hope to complete all the material for the 2.0 final release. Any feedback would be greatly appreciated. -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Changelog plugin: can't make it work...
Hi, I'm trying to evaluate the m2 changelog plugin (2.0-beta-1) work, but I run out of ideas to make it work properly... I'm working on a project that can be built both with m1 and m2. The password is stored in the .cvspass file in the user home directory. m1 changelog plugin generates a correct report with all the last 30-day changes. (ChangeLog found: 48 entries) m2 changelog plugin generates an empty report... (ChangeSet between 2005-09-07 and 2005-10-08: 0 entries) Here is an excerpt from my pom: scm connection scm:cvs:pserver:[EMAIL PROTECTED]:/usersdev/cvs00/gdd:MyApp/connection developerConnection scm:cvs:pserver:[EMAIL PROTECTED]:/usersdev/cvs00/gdd:MyApp /developerConnection /scm reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdchangelog-maven-plugin/artifactId version2.0-beta-1/version reportSets reportSet idfull-report/id configuration typerange/type range30/range basedir${basedir}/basedir /configuration reports reportchangelog/report reportfile-activity/report reportdev-activity/report /reports /reportSet /reportSets /plugin /plugins /reporting I've been struggling to make it work, but I give up for now... Any idea? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Jason van Zyl [EMAIL PROTECTED] Pour 'Maven Users List' 06/10/2005 21:09 users@maven.apache.org cc VeuillezObjet répondre à Maven 2.x documentation Maven Users List [EMAIL PROTECTED] che.org Hi, I'm working on the Maven Getting Started Guide (GSG), some mini guides and some introductory material. In the last week or so I've been trying to harvest popular topics off the user list in order to create the introductory material users need and mini guides which are supposed to be little howtos for getting things done. What I have still needs to be fleshed out a great deal but if anyone has any ideas or topics for introductory material or mini guides please send them my way. Or if you have submitted something and you know of a particular JIRA issue you would like me to look at please send that my way too. http://people.apache.org/~jvanzyl/maven2/guides/toc.html Also if you want to create a little guide I would be happy to add it! :-) I hope to complete all the material for the 2.0 final release. Any feedback would be greatly appreciated. -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] reporting element of profiles not merged?
Hi all, I'm playing a bit with profiles, and it seems to me that report plugins listed in a profile are not added to the list of reports when the profile is activated. That is, it seems that when a profile is activated, its reporting element is not merged with the reporting element of the pom. For instance, try the following command with the pom given below: m2 site:site -Denv=TEST - you will have the JXR report generated, but not the taglist. (and you can check that the profile is activated though, because the index.html generated page shows Profile Activated instead of ${foo} in the description) ?xml version=1.0 encoding=ISO-8859-1? project modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest/artifactId packagingjar/packaging nameTest/name version1.0.0/version descriptionTest project - ${foo}/description reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjxr-maven-plugin/artifactId version2.0-beta-1/version /plugin /plugins /reporting profiles profile idtest-site-profile/id activation property nameenv/name valueTEST/value /property /activation reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdtaglist-maven-plugin /artifactId version2.0-beta-1/version /plugin /plugins /reporting properties fooProfile Activated/foo /properties /profile /profiles /project Is this a bug? If so, I will add it to Jira. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] reporting element of profiles not merged?
OK, http://jira.codehaus.org/browse/MNG-1112 for those interested. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 06/10/2005 11:16 users@maven.apache.org cc VeuillezObjet répondre à Re: [M2] reporting element of Maven Users List profiles not merged? [EMAIL PROTECTED] che.org Yes, looks like a bug. - Brett On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I'm playing a bit with profiles, and it seems to me that report plugins listed in a profile are not added to the list of reports when the profile is activated. That is, it seems that when a profile is activated, its reporting element is not merged with the reporting element of the pom. For instance, try the following command with the pom given below: m2 site:site -Denv=TEST - you will have the JXR report generated, but not the taglist. (and you can check that the profile is activated though, because the index.html generated page shows Profile Activated instead of ${foo} in the description) ?xml version=1.0 encoding=ISO-8859-1? project modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest/artifactId packagingjar/packaging nameTest/name version1.0.0/version descriptionTest project - ${foo}/description reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjxr-maven-plugin/artifactId version2.0-beta-1/version /plugin /plugins /reporting profiles profile idtest-site-profile/id activation property nameenv/name valueTEST/value /property /activation reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdtaglist-maven-plugin /artifactId version2.0-beta-1/version /plugin /plugins /reporting properties fooProfile Activated/foo /properties /profile /profiles /project Is this a bug? If so, I will add it to Jira. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ann] Maven 2.0 Beta 3 Released
The Apache Maven team are proud to announce the third beta release of Maven 2.0. Wouah, the new CSS is cool! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: [m2] Multiproject site generation
This issue is probably the one you're looking for: http://jira.codehaus.org/browse/MNG-384 Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Sena Gbeckor-Kove [EMAIL PROTECTED] Pour om Maven Users List users@maven.apache.org, Brett 29/09/2005 13:27 Porter [EMAIL PROTECTED] cc VeuillezObjet répondre à Re: [m2] Multiproject site Maven Users List generation [EMAIL PROTECTED] che.org Do you know which issue this is? I have ben searching for it and I can't find it at the moment. Regards On 23/09/05, Brett Porter [EMAIL PROTECTED] wrote: Not presently, but there is an open issue. - Brett On 9/23/05, Pablo Muñiz [EMAIL PROTECTED] wrote: Hi all! imagine I have a project structure just as follows: /app /module1 /module2 ... /moduleN pom.xml and pom.xml contains references to all of those modules: ... modules modulemodule1/module modulemodule2/module ... modulemoduleN/module /modules ... Is there any way of generating a unique site wich encloses site information from all modules? I mean, I want in app/target/site the site structure of all modules. Is it possible? Thanks in advance. Best regards, Pablo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to use relativePath of parent in a pom?
Hi, I've seen that there's a relativePath attribute for the parent element of the pom. According to the documentation, this is the relative path of the parent-pom within the project hierarchy. If this property exists, I guess this allows to discover the parent pom without specifying the version, the artifactId and the groupId of the parent, which would be _very_ handy. However, I get the following error when launching maven: Missing groupId element from parent element. So my question is: is this property working? I guess no: http://jira.codehaus.org/browse/MNG-1012 (which hasn't been assigned yet) But maybe this doesn't work this way. So my second question is: how does this property work? Thanks in advance for your answers! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to use relativePath of parent in a pom?
Right, thanks for your answer Kenney! However, this is definitely not handy when you have a multi-module project (for instance when you build an Ear). When your parent is part of the same build process (using built-in reactor) and on the same file system, using only relativePath would be far more handy. And when installing or deploying the artifacts, this relativePath could be replaced by the real artifactId/groupId/version values of the parent (which would make you pom stand-alone). I've just seen there's an issue concerning this topic (http://jira.codehaus.org/browse/MNG-624), but it targets version 2.1... :o( Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Kenney Westerhof [EMAIL PROTECTED] rg Pour Maven Users List 29/09/2005 15:28 users@maven.apache.org cc VeuillezObjet répondre à Re: [M2] How to use relativePath Maven Users List of parent in a pom? [EMAIL PROTECTED] che.org On Thu, 29 Sep 2005 [EMAIL PROTECTED] wrote: Hi, Hi, I've seen that there's a relativePath attribute for the parent element of the pom. According to the documentation, this is the relative path of the parent-pom within the project hierarchy. If this property exists, I guess this allows to discover the parent pom without specifying the version, the artifactId and the groupId of the parent, which would be _very_ handy. However, I get the following error when launching maven: Missing groupId element from parent element. So my question is: is this property working? I guess no: http://jira.codehaus.org/browse/MNG-1012 (which hasn't been assigned yet) But maybe this doesn't work this way. So my second question is: how does this property work? I'm not entirely up-to-speed on this new feature, but AFAIK the artifactId and groupId are mandatory in a parent element (version too IIRC). POMs should be able to be used stand-alone. A client that uses your pom wouldn't know where to look for that parent pom, since the directory structure on ibiblio is not quite the same as the project tree structure. Before this attribute was in, m2 always checked ../pom.xml to see if it matched the declared parent. If so, it used that (and the data in target/*) instead of going to your local/remote repositories for the pom. I guess this attribute is just an extension to that, so you can specify other locations for your parent project than ../. Other m2 devs - jump in if this is incorrect! -- Kenney Thanks in advance for your answers! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: [M2] How to use relativePath of parent in a pom?
And if you check out the EAR in isolation, how should it behave? Break? Check out the EAR in isolation? What do you mean? Check out from SCM? If so, I don't see troubles with this case... Well, I guess you have a broader view of those issues :o) As for me (and as for now), I experience that the extend of M1 pom was really handy, and I can't do that with M2. Hope I'm just missing some details. It's an option, but one that has burned many a Maven 1 user. is there a reason you can't enter the groupId/artifactId as well/instead? Actually, specifying only groupId and artifactId would be fine, for they never change during the development lifecycle. But version changes often, and version is mandatory in children as well, isn't it? (Missing version element from parent element) And this is my concern: I don't wanna change the version in every pom but only in one place, like it used to be in M1. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 29/09/2005 16:02 users@maven.apache.org cc VeuillezObjet répondre à Re: [M2] How to use relativePath Maven Users List of parent in a pom? [EMAIL PROTECTED] che.org And if you check out the EAR in isolation, how should it behave? Break? It's an option, but one that has burned many a Maven 1 user. is there a reason you can't enter the groupId/artifactId as well/instead? - Brett On 9/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Right, thanks for your answer Kenney! However, this is definitely not handy when you have a multi-module project (for instance when you build an Ear). When your parent is part of the same build process (using built-in reactor) and on the same file system, using only relativePath would be far more handy. And when installing or deploying the artifacts, this relativePath could be replaced by the real artifactId/groupId/version values of the parent (which would make you pom stand-alone). I've just seen there's an issue concerning this topic (http://jira.codehaus.org/browse/MNG-624), but it targets version 2.1... :o( Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Kenney Westerhof [EMAIL PROTECTED] rg Pour Maven Users List 29/09/2005 15:28 users@maven.apache.org cc Veuillez Objet répondre à Re: [M2] How to use relativePath Maven Users List of parent in a pom? [EMAIL PROTECTED] che.org On Thu, 29 Sep 2005 [EMAIL PROTECTED] wrote: Hi, Hi, I've seen that there's a relativePath attribute for the parent element of the pom. According to the documentation, this is the relative path of the parent-pom within the project hierarchy. If this property exists, I guess this allows to discover the parent pom without specifying the version, the artifactId and the groupId of the parent, which would be _very_ handy. However, I get the following error when launching maven: Missing groupId element from parent element. So my question is: is this property working? I guess no: http://jira.codehaus.org/browse/MNG-1012 (which hasn't been assigned yet) But maybe this doesn't work this way. So my second question is: how does this property work? I'm not entirely up-to-speed on this new feature, but AFAIK the artifactId and groupId are mandatory in a parent element (version too IIRC). POMs should be able to be used stand-alone. A client that uses your pom wouldn't know where to look for that parent pom, since the directory structure on ibiblio is not quite the same as the project tree structure. Before this attribute was in, m2 always checked ../pom.xml to see if it matched the declared parent.
Fw :[m2-beta-1] bug for 'warSourceExcludes' property?
Maven devs: anybody has an idea about that? Should I open a bug report? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - Réacheminé par FABRICE BELLINGARD - E222731/users/PSA le 26/09/2005 13:41 - FABRICE BELLINGARD - E222731/users/PSAPour Maven Users List 22/09/2005 10:58 users@maven.apache.org cc Objet [m2-beta-1] bug for 'warSourceExcludes' property? Hi all, has anybody already used the 'warSourceExcludes' property of the War plugin? (didn't find any thread about this) Because I experience a strange behaviour with this property. When I grab some Web projects from the CVS of my company, I usually get all the WEB-INF/lib Jars that the developers put in the CVS: - With Maven 1, I use the 'maven.war.src.excludes' property to exclude those Jars ('maven.war.src.excludes=**/lib/*.*'), and it works well: the Jars packaged in the War are only the ones defined in the pom. - With m2, I tried to use the 'warSourceExcludes' property, which seemed to me to be the equivalent property. However, when the War is generated, there is no jar in the WEB-INF/lib folder. This is as if the plugin is excluding files after having copied the needed dependencies in the WEB-INF/lib folder (whereas in the Maven 1 version, it was excluding them before). Is this a bug or am I missing something? Thanks for your help! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw :[m2-beta-1] Ear plugin: root-context copied JARs/WARs
Kenney, Stéphane, Thanks for your answers! :o) Indeed, the help page is valuable. The config to set the context-root works well. :o) As for the 'excluded' property, this may be helpful in some cases, but IMHO, I'm not sure this is the good way to handle the problem. Indeed, a War module usually have lots of depedencies, and : - usually, you want to have most of them in the WEB-INF/lib of the War, not in the Ear (for you may have singletons, for instance, that you don't want to share between Wars) - the 'excluded' property in this case is not handy because that means you would have to do this (in the pom of the ear module) for every Jars you want to exclude (and as I say, Web modules usually have lots of dependencies). What's more, if you don't use the 'excluded' property, Jars exist twice (one in the War and once in the Ear). So I would say that the packaging for an Ear should be more complex concerning the dependencies declared in its pom: - for a Jar or an Ejb, then I agree that the transitive dependencies must be included in the Ear - for a War, the default behaviour should be to include only the War itself, without all its transitive dependencies. There could be a property 'included' to tell the packager to take a specific dependency of the War and put it up in the Ear. (this would be the opposite behaviour as currently with the 'excluded' property) What do you guys think of this? Is this relevant? If so, is this feasible? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Stephane Nicoll stephane.nicoll @gmail.com Pour Maven Users List 21/09/2005 08:58 users@maven.apache.org cc VeuillezObjet répondre à Re: Fw :[m2-beta-1] Ear plugin: Maven Users List root-context copied JARs/WARs [EMAIL PROTECTED] che.org On 9/20/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Tue, 20 Sep 2005 [EMAIL PROTECTED] wrote: Hi, Nobody has an answer for these 2 little questions? Sorry, was quite busy yesterday. 1- how can I tell the Ear plugin to use a specific root-context for a War when it generates the application.xml? (instead of using the artifactId) Something like the ear.appxml.war.context-root in m1. Use the plugin configuration. You can specify configuration options for the modules: modules webModule contextRoot/yourContextRoot//contextRoot urithe_web_uri/uri !-- if needed.. -- /webModule /modules Maybe Stephane Nicoll can confirm if this is correct? It is except that you need of course to identify which artifact you want to customize. There's an help page on the web site but it's not linked properly :/ http://maven.apache.org/maven2/plugins/maven-ear-plugin/configuration-examples.html You should find all usefull information there. We will fix the link for beta2. 2- when the plugin generates the Ear, it packages most dependencies of the War module, while they already exist the the WEB-INF/lib of the War (and I don't want them to be copied a second time at the root of the Ear). Those dependencies have a compile scope in the pom of the War module. Is it the normal behaviour? Is there a property or something to tell m2 not to package them? Well this is a bit of a problem. You can specify the dependencies in the war pom with scope 'provided', so they won't end up in the war. This works great if you always use the war within an ear that also has those dependencies, but if you use that war standalone it'll break. Also, those war dependencies are not transferred to the ear project, so you have to respecify them there. The link above explains the 'excluded' property you can set on an artifact to ignore it application.xml generation. As kenny said, this is indeed a bit of a problem. I'll think on that, do not hesitate to ping us if you have ideas. Cheers, Stéphane -- .::You're welcome ::. - To unsubscribe, e-mail: [EMAIL
[m2-beta-1] bug for 'warSourceExcludes' property?
Hi all, has anybody already used the 'warSourceExcludes' property of the War plugin? (didn't find any thread about this) Because I experience a strange behaviour with this property. When I grab some Web projects from the CVS of my company, I usually get all the WEB-INF/lib Jars that the developers put in the CVS: - With Maven 1, I use the 'maven.war.src.excludes' property to exclude those Jars ('maven.war.src.excludes=**/lib/*.*'), and it works well: the Jars packaged in the War are only the ones defined in the pom. - With m2, I tried to use the 'warSourceExcludes' property, which seemed to me to be the equivalent property. However, when the War is generated, there is no jar in the WEB-INF/lib folder. This is as if the plugin is excluding files after having copied the needed dependencies in the WEB-INF/lib folder (whereas in the Maven 1 version, it was excluding them before). Is this a bug or am I missing something? Thanks for your help! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fw :[m2-beta-1] Ear plugin: root-context copied JARs/WARs
To be honest, I don't know maven-core enough to answer your question. Could you please file an improvement in Jira with this description? I will try to discuss this ASAP with the dev team. Otherwise, I think this make sense. Great :o) http://jira.codehaus.org/browse/MNG-954 : I let you specify a fix version for this improvement - IMHO, this is quite important and should be fixed for final 2.0. Thanks! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fw :[m2-beta-1] Ear plugin: root-context copied JARs/WARs
Nobody has an answer for these 2 little questions? For the second question, I've struggled with scopes, but it seems that because of the transitive dependencies feature, the Ear plugin packages every Jar set to compile/runtime in the pom of the War... Fabrice. - Hi guys! I've 2 little questions about the Ear plugin (version 2.0beta1): 1- how can I tell the Ear plugin to use a specific root-context for a War when it generates the application.xml? (instead of using the artifactId) Something like the ear.appxml.war.context-root in m1. 2- when the plugin generates the Ear, it packages most dependencies of the War module, while they already exist the the WEB-INF/lib of the War (and I don't want them to be copied a second time at the root of the Ear). Those dependencies have a compile scope in the pom of the War module. Is it the normal behaviour? Is there a property or something to tell m2 not to package them? Thanks for your help! Cheers, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2-beta-1] Ear plugin: root-context copied JARs/WARs
Hi guys! I've 2 little questions about the Ear plugin (version 2.0beta1): 1- how can I tell the Ear plugin to use a specific root-context for a War when it generates the application.xml? (instead of using the artifactId) Something like the ear.appxml.war.context-root in m1. 2- when the plugin generates the Ear, it packages most dependencies of the War module, while they already exist the the WEB-INF/lib of the War (and I don't want them to be copied a second time at the root of the Ear). Those dependencies have a compile scope in the pom of the War module. Is it the normal behaviour? Is there a property or something to tell m2 not to package them? Thanks for your help! Cheers, Fabrice. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Advised Continous Integration tool?
Hi Wim, one year ago, I had to choose a CI tool because my company needed one for all its Java projects (about 150). After experimenting lots of them, the choice was obvious to me: Luntbuild. (but this is my own experience) Luntbuild is a very good compromise between easy-to-use and powerful-enough qualities: - its GUI is very user friendly and intuitive to use: it's really easy to learn how to use it - it allows you to define complex CI processes, with lots of different parameters and conditions So as I needed to target lots of development teams with different skill levels, this was the best choice to me. What's more, Luntbuild has very good SCM features. Luntbuild's integration with Maven is minimal, but you can manage to handle most cases thanks to properties that you can pass to the Maven command. Personnally, I use Luntbuild's SCM features instead of Maven 1's ones. Lots of our projects have been using Luntbuild for several months now, and they appreciate it a lot. As for now, IMHO, no other open-source CI tool can offer all what Luntbuild does. But I'm really looking forward to seeing Continuum offering as many functionnalities. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Wim Deblauwe [EMAIL PROTECTED] ail.com Pour Maven Users List 08/09/2005 13:22 users@maven.apache.org cc VeuillezObjet répondre à Advised Continous Integration tool? Maven Users List [EMAIL PROTECTED] che.org Hi, I'm looking into CI tools and I wonder what other already use: CruiseControl, LuntBuild, DamageControl, maven's own Continum, ... What are your experiences with CI tools and Maven 1.x? What are the advantages/disadvantages? I heared CruiseControl is not so easy to setup compared to LuntBuild. Anyone caring to share his experience? regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: [M2] Proposal to add Inheritent property in pom.xml
Is it possible in term of M2 architecture? Certainly, but I don't think it is necessary... Brett, I have a multiple project application developed under Eclipse, so my projects are at the same level as my root project (use of the ../ in the modules list). As a consequence, for every project, the SCM connection is configured like this: Project 1 : connectionscm:cvs:pserver:[EMAIL PROTECTED]:/myCvsRootPath:projectModule1/connection Project 2 : connectionscm:cvs:pserver:[EMAIL PROTECTED]:/myCvsRootPath:projectModule2/connection Parent Project : connectionscm:cvs:pserver:[EMAIL PROTECTED]:/myCvsRootPath:projectRoot/connection In this case, I'd like to avoid repeating scm:cvs:pserver:[EMAIL PROTECTED]:/myCvsRootPath in every pom of all the subprojects. Is there a way to do that currently? IMHO, properties would help in this case (and I can find other cases where this would be helpful as well, especially when you have naming conventions that make it easy to avoid repeating values in a pom or when you have values that are commons to all the projects of a company). Cheers, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Error in a POM on M2 official repo
Hi guys, I'm using a library that depends on struts-menu 2.3. The problem is that the POM of the latter contains an error in its depedencies (the last one actually): ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typetest/type /dependency ... type shouldn't be here, but scope instead. So apart from the fact that the author (or someone else...) has to correct this error that on M2 repo, how can I tell Maven 2 not to update the POMs? (or only this very special POM if possible) Because I don't want to modify my local copy every day! ;) Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ m2 ] stack trace printed in log when dependency not found?
Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:437) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) at org.apache.maven.cli.MavenCli.main(MavenCli.java:316) 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:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:110) ... 26 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: [ m2 ] stack trace printed in log when dependency not found?
Hi Kenney, For the 'none', I better understand now. That's because I added JARs to my m2 repo manually (as they were not on the web). So where do I need to specify the status of the JARs I put in my local repo? As for the stack trace, I don't run m2 with -e nor -X, so that's why I find it weird to see it in the log... Thanks for help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Kenney Westerhof [EMAIL PROTECTED] om Pour Maven Users List 25/08/2005 10:59 users@maven.apache.org cc VeuillezObjet répondre à Re: [ m2 ] stack trace printed in Maven Users List log when dependency not found? [EMAIL PROTECTED] che.org On Thu, 25 Aug 2005 [EMAIL PROTECTED] wrote: You didn't run m2 with -e or -X by any chance? Btw, it doesn't try to download the artifact itself, but the pom: [INFO] commons-dbcp: updating metadata due to status of 'none' That's a 'new' feature: it checks poms with certain status each day to see if they're updated (possible pom statusses are 'deployed', 'converted', 'verified' (and none)). It shouldn't print a stacktrace when neither -X or -e has been supplied, though. -- Kenney Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at
Weird dependency behaviour...
Hi Maveners, I observe a strange behaviour when building the plugin I'm developing. Here are the dependencies for which the build is OK : dependency groupIdorg.apache.maven.reporting/groupId artifactIdmaven-reporting-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdoro/groupId artifactIdoro/artifactId version2.0.7/version /dependency dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.0/version /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly/artifactId version1.0-beta-4/version /dependency dependency groupIdant/groupId artifactIdant/artifactId version1.6.5/version /dependency dependency groupIddom4j/groupId artifactIddom4j/artifactId version1.4/version /dependency The plugin is compiled and installed, but can't run because it requires other lib at runtime. So I add the following dependencies to make it work: dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.7.0/version scoperuntime/scope /dependency dependency groupIdcommons-jexl/groupId artifactIdcommons-jexl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-jsl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-xml/artifactId version1.1/version scoperuntime/scope /dependency I build again (the Java sources are not compiled this time because none has been changed): the plugin is installed and runs perfectly. However, if I clean my project (i.e. the generated classes are deleted), and build again, then I get the following stacktrace : Compiling 15 source files to C:\fabM2\workspace\maven-jxr-plugin\target\classes [INFO] - [INFO] BUILD FAILURE [INFO] - [INFO] Reason: Compilation failure [INFO] - [INFO] no more tokens - could not parse error message: C:\fabM2\workspace\maven- jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JXR.java:26: package org.ap ache.maven.plugin.logging does not exist import org.apache.maven.plugin.logging.Log; ^ C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX R.java:[37,12] cannot resolve symbol symbol : class Log location: class org.apache.maven.plugin.jxr.JXR no more tokens - could not parse error message: C:\fabM2\workspace\maven-jxr-plu gin\src\main\java\org\apache\maven\plugin\jxr\pacman\PackageManager.java:25: pac kage org.apache.maven.plugin.logging does not exist import org.apache.maven.plugin.logging.Log; ^ C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\pa cman\PackageManager.java:[35,12] cannot resolve symbol symbol : class Log location: class org.apache.maven.plugin.jxr.pacman.PackageManager C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\pa cman\PackageManager.java:[53,26] cannot resolve symbol symbol : class Log location: class org.apache.maven.plugin.jxr.pacman.PackageManager C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX R.java:[87,78] cannot resolve symbol symbol : class Log location: class org.apache.maven.plugin.jxr.JXR The package org.apache.maven.plugin.logging seems to be missing this time! How come? I don't see where the problem comes from, as I only added dependencies for runtime, and as those dependencies are not linked to other maven libs... Any idea where this problem might come from? Thanks! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]
Tr : [m2] Weird dependency behaviour...
Ooops, forgot to tell that I'm developing for m2. :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - Réacheminé par FABRICE BELLINGARD - E222731/users/PSA le 29/07/2005 15:32 - fabrice.belingar [EMAIL PROTECTED] Pour 29/07/2005 15:30 Maven Users List users@maven.apache.org cc Veuillez répondre à Objet Maven Users List Weird dependency behaviour... [EMAIL PROTECTED] che.org Hi Maveners, I observe a strange behaviour when building the plugin I'm developing. Here are the dependencies for which the build is OK : dependency groupIdorg.apache.maven.reporting/groupId artifactIdmaven-reporting-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdoro/groupId artifactIdoro/artifactId version2.0.7/version /dependency dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.0/version /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly/artifactId version1.0-beta-4/version /dependency dependency groupIdant/groupId artifactIdant/artifactId version1.6.5/version /dependency dependency groupIddom4j/groupId artifactIddom4j/artifactId version1.4/version /dependency The plugin is compiled and installed, but can't run because it requires other lib at runtime. So I add the following dependencies to make it work: dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.7.0/version scoperuntime/scope /dependency dependency groupIdcommons-jexl/groupId artifactIdcommons-jexl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-jsl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-xml/artifactId version1.1/version scoperuntime/scope /dependency I build again (the Java sources are not compiled this time because none has been changed): the plugin is installed and runs perfectly. However, if I clean my project (i.e. the generated classes are deleted), and build again, then I get the following stacktrace : Compiling 15 source files to C:\fabM2\workspace\maven-jxr-plugin\target\classes [INFO] - [INFO] BUILD FAILURE [INFO] - [INFO] Reason: Compilation failure [INFO] - [INFO] no more tokens - could not parse error message: C:\fabM2\workspace\maven- jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JXR.java:26: package org.ap ache.maven.plugin.logging does not exist import org.apache.maven.plugin.logging.Log; ^ C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX R.java:[37,12] cannot resolve symbol symbol : class Log
[m2] Weird dependency behaviour...
I've figured out that the lib that causes the trouble is commons-jelly-tags-jsl... But I just can't see why. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - Réacheminé par FABRICE BELLINGARD - E222731/users/PSA le 29/07/2005 16:50 - FABRICE BELLINGARD - E222731/users/PSAPour Maven Users List 29/07/2005 15:30 users@maven.apache.org cc Objet Weird dependency behaviour... Hi Maveners, I observe a strange behaviour when building the plugin I'm developing. Here are the dependencies for which the build is OK : dependency groupIdorg.apache.maven.reporting/groupId artifactIdmaven-reporting-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0-alpha-3/version /dependency dependency groupIdoro/groupId artifactIdoro/artifactId version2.0.7/version /dependency dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.0/version /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly/artifactId version1.0-beta-4/version /dependency dependency groupIdant/groupId artifactIdant/artifactId version1.6.5/version /dependency dependency groupIddom4j/groupId artifactIddom4j/artifactId version1.4/version /dependency The plugin is compiled and installed, but can't run because it requires other lib at runtime. So I add the following dependencies to make it work: dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.7.0/version scoperuntime/scope /dependency dependency groupIdcommons-jexl/groupId artifactIdcommons-jexl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-jsl/artifactId version1.0/version scoperuntime/scope /dependency dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-xml/artifactId version1.1/version scoperuntime/scope /dependency I build again (the Java sources are not compiled this time because none has been changed): the plugin is installed and runs perfectly. However, if I clean my project (i.e. the generated classes are deleted), and build again, then I get the following stacktrace : Compiling 15 source files to C:\fabM2\workspace\maven-jxr-plugin\target\classes [INFO] - [INFO] BUILD FAILURE [INFO] - [INFO] Reason: Compilation failure [INFO] - [INFO] no more tokens - could not parse error message: C:\fabM2\workspace\maven- jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JXR.java:26: package org.ap ache.maven.plugin.logging does not exist import org.apache.maven.plugin.logging.Log; ^ C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX R.java:[37,12]
Réf. : Re: [m2] Tasklist plugin converted: what should I do now?
Brett, I posted the code on JIRA. You can find it at: http://jira.codehaus.org/browse/MPTASKLIST-13 Feel free to contact me for any information you might need. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 21/07/2005 03:59 users@maven.apache.org cc VeuillezObjet répondre à Re: [m2] Tasklist plugin converted: Maven Users List what should I do now? [EMAIL PROTECTED] che.org That sounds great! Please submit it as an attachment to JIRA so we can review it. Cheers, Brett On 7/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi guys! First of all, I'd like to congratulate the m2 team for the great work they've done, especially the various APIs (MOFO, reporting, doxia, ...etc) which are a pleasure to use to develop plugins. :o) To discover the m2-style plugin writing, I converted the tasklist plugin into a taglist plugin. taglist plugin because I added the possibility to look for any kind of user task tag : - Javadoc ones, as it used to be: @todo, @whatever, ... - but also any kind of tag found in a Java comment (// TODO for instance). This works for any Java comment (//, /* or /**). What should I do now to contribute this code to the Maven project? Can someone contact me to tell me what to do? Cheers! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Tasklist plugin converted: what should I do now?
Hi guys! First of all, I'd like to congratulate the m2 team for the great work they've done, especially the various APIs (MOFO, reporting, doxia, ...etc) which are a pleasure to use to develop plugins. :o) To discover the m2-style plugin writing, I converted the tasklist plugin into a taglist plugin. taglist plugin because I added the possibility to look for any kind of user task tag : - Javadoc ones, as it used to be: @todo, @whatever, ... - but also any kind of tag found in a Java comment (// TODO for instance). This works for any Java comment (//, /* or /**). What should I do now to contribute this code to the Maven project? Can someone contact me to tell me what to do? Cheers! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site generation on UNIX: problem with accents in POM
Hi guys, I have a problem with accents in my POM, which is written and declared ISO-8859-1. For instance, the name of my company is PSA Peugoet Citroën. When Maven generates the site, the footer of each page is © 2005, PSA Peugeot-Citro?n (- this is copied from the page source). This problem occurs only when the project is built on UNIX (not on Windows) and only for the POM (xdocs files containing accents are OK). Does anyone know where that comes from? Thanks in advance, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site generation on UNIX: problem with accents in POM
Hi Vincent, I'm not sure this has only to do with the site.jsl file. For instance, if I look to the team-list.xml file that is generated in target/generated-xdocs (which is before the JSL transformation), there is the same problem with developer names that have an accent (and that are written correctly in the POM). Has anyone already faced the same problem? Can anyone reproduce this bug on a UNIX-like platform? Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Vincent Siveton vincent.siveton @gmail.com Pour Maven Users List 31/05/2005 16:08 users@maven.apache.org cc VeuillezObjet répondre à Re: Site generation on UNIX: Maven Users List problem with accents in POM [EMAIL PROTECTED] che.org Hi Fabrice, Sound like an encoding error in in the site.jsl file from the Maven XDoc plugin (AFAIK no encoding is set in) Please add an issue to Jira. Cheers Vincent 2005/5/31, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi guys, I have a problem with accents in my POM, which is written and declared ISO-8859-1. For instance, the name of my company is PSA Peugoet Citroën. When Maven generates the site, the footer of each page is (c) 2005, PSA Peugeot-Citro?n (- this is copied from the page source). This problem occurs only when the project is built on UNIX (not on Windows) and only for the POM (xdocs files containing accents are OK). Does anyone know where that comes from? Thanks in advance, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Task list of // TODO comments
Hi guys, I wanted to know if someone has already written a task list plugin that work for // TODO comments, as Eclipse uses this kind of task tag in the Java code. Tanks Best regards, Fabrice - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: [m2] Multiproject with flat layout
Brett, IMHO, the ../ path in modules would really be helpful. I imagine that it does not add a big implementation problem, and it would solve the issue of the flat layout of Eclipse. My problem is that the company I'm working for only uses WSAD. I'm currently working on spreading Maven all over hundreds of Java projects, and I want it to be as simple as possible. And having the root POM outside of the workspace is not an acceptable solution: people will want to edit it in WSAD, they will need to have it in CVS and handled like any other source file, ...etc. I agree that the issue for Eclipse project organization is interesting. But before anything gets changed in WSAD, it will take a lot of time. For the time being, Eclipse forces us to have 1 project = 1 CVS module, and therefore, the root POM must be in a separate project. If m2 can't handle flat layout for multiprojects, I won't be able to spread it over the hundreds of teams, and that'd be sad because it looks great... :o| We see that Eclipse is not flexible enough. Maven should prove more flexiblility than Eclipse and not force a special layout for multiprojects (m1 used to be that flexible!). I do hope something can be done this way... or I will need to find another company to use m2 ;o) Thanks best regards, Fabrice Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 26/05/2005 02:07 users@maven.apache.org, [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List Re: [m2] Multiproject with flat [EMAIL PROTECTED] layout che.org I don't believe we are doing anything special to support this in the first release. It is entirely possible to use this structure as is. To be honest, reading that bug again, I don't know what is being asked for. The only thing in Maven that could be affected is modules for which we haven't allowed ../ as a directory. The only downside of this I can see is that you don't get to have the root pom.xml file in your workspace. Maybe one of the MevenIDE folks comment on this? Incidentally, there is an open issue at Eclipse I am tracking that they support a different type of project layout. I'd encourage everyone here that has this problem to go and vote for it. https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973 - Brett On 5/26/05, bryan ( [EMAIL PROTECTED]) [EMAIL PROTECTED] wrote: hmmm ... now i understand why my project isn't working. This is particularly a pain if you are working with IBM WAS / WSAD ... it forces you to adopt this stucture when working on a EAR deployment ... and just about anything else. Eclipse is ( despite what some may say ) probably the most popular java IDE out there, especially for open source projects. Good interoperability with maven ( allready a good mavenide plugin ) would be a dream situation. -- On 5/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi guys, the issue of multiproject handling with a flat layout was tackled some weeks ago on this mailing list, and there's an issue on JIRA (http://jira.codehaus.org/browse/MNG-359) concerning this point, but it has not been resolved nor assigned. I just wanted to know: is this issue left apart intentionally, or will it be done for m2 august release? Best regards, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: [OT]Re: Réf. : Re: [m2] Multiproject with flat layout
Jeff, here is part of my project.properties file that works for Dashboard : # - MULTIPROJECT - maven.multiproject.basedir=${basedir}/.. maven.multiproject.includes=myProject1/project.xml,myProject2/project.xml maven.multiproject.site.goals=site,dashboard:report-single # - DASHBOARD - maven.dashboard.runreactor = false maven.dashboard.basedir=${basedir}/.. maven.dashboard.includes=*/project.xml maven.dashboard.excludes=**/target/**/project.xml maven.dashboard.aggregators =csfiles,cswarnings,cserrors,\ junittests,junitpassrate,junitfailures,juniterrors,\ jcoverageloc,jcoveragelipc,\ scmchangedfiles,scmchangedcommit HTH, Regards, Fabrice Jeff Jensen [EMAIL PROTECTED] am.visi.com Pour 'Maven Users List' 26/05/2005 15:10 users@maven.apache.org cc VeuillezObjet répondre à RE: [OT]Re: Réf. : Re: [m2] Maven Users List Multiproject with flat layout [EMAIL PROTECTED] che.org Same environment here. I setup a Maven project for each WSAD project. It was the best way I could determine to generate all the reports. Perhaps there is a better way?? But this works well and I do not know how to improve on it at this point! :-) Any suggestions/comments welcome! So running maven site:deploy for each is easy and works well. I originally tried one Maven project on the main WSAD project that included all dependent projects, but that became cumbersome and painful. Too much hacking in the maven.xml file to get additional source paths on each goal. A lot of slow iterative change/test! (allowing the POM to have multiple source dirs is the solution here!) So when I considered it like managing each WSAD project in source control, it was a natural fit to have each project have its own Maven project. Perhaps this will help you too. My next step is to setup multiproject to have the dashboard report. I tried simple attempts twice and failed both times, and now need to make time to look into it. Multiproject would run successfully, but only generated the Project Info, not the Project Reports. It never ran those parts of the subprojects, and I am currently clueless... -Original Message- From: bryan ( [EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 3:57 AM To: Maven Users List Subject: [OT]Re: Réf. : Re: [m2] Multiproject with flat layout Hi Fabrice, I'm using maven 1.0.2 with WSAD as well. How do you go about generating reports for all the dependant projects ? I would like to generate javadoc/junit reports etc for all the modules not just the main maven project. --b On 5/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Brett, IMHO, the ../ path in modules would really be helpful. I imagine that it does not add a big implementation problem, and it would solve the issue of the flat layout of Eclipse. My problem is that the company I'm working for only uses WSAD. I'm currently working on spreading Maven all over hundreds of Java projects, and I want it to be as simple as possible. And having the root POM outside of the workspace is not an acceptable solution: people will want to edit it in WSAD, they will need to have it in CVS and handled like any other source file, ...etc. I agree that the issue for Eclipse project organization is interesting. But before anything gets changed in WSAD, it will take a lot of time. For the time being, Eclipse forces us to have 1 project = 1 CVS module, and therefore, the root POM must be in a separate project. If m2 can't handle flat layout for multiprojects, I won't be able to spread it over the hundreds of teams, and that'd be sad because it looks great... :o| We see that Eclipse is not flexible enough. Maven should prove more flexiblility than Eclipse and not force a special layout for multiprojects (m1 used to be that flexible!). I do hope something can be done this way... or I will need to find another company to use m2 ;o) Thanks best
[m2] Multiproject with flat layout
Hi guys, the issue of multiproject handling with a flat layout was tackled some weeks ago on this mailing list, and there's an issue on JIRA (http://jira.codehaus.org/browse/MNG-359) concerning this point, but it has not been resolved nor assigned. I just wanted to know: is this issue left apart intentionally, or will it be done for m2 august release? Best regards, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Maven Continuum 1.0 Technology Preview Available
Hi guys, I haven't had the time to install and test Continuum yet, but it seems like it covers functionnalities of existing tools. Have you guys had a look at Luntbuild? (http://luntbuild.sourceforge.net) I've been testing and using it with Maven for lots of months and it works great (its functionnalities and the UI are very advanced). I'm currently preparing to deploy it for all the projects of my company (around 150 projects). I know that it can be good to have different projects competing on a same area, but as Luntbuild is already a good product, wouldn't it be more interesting to walk hand in hand? Regards, Fabrice Jason van Zyl [EMAIL PROTECTED] org Pour [EMAIL PROTECTED], 26/04/2005 21:46 users@maven.apache.org, dev@maven.apache.org cc Veuillez répondre à Objet Maven Users List Maven Continuum 1.0 Technology [EMAIL PROTECTED] Preview Available che.org The Maven team is pleased to announce our Technology Preview for the Continuum 1.0 release. Continuum is the Maven project's Continuous integration tool. This release offers users both an advance look at what's in Continuum 1.0 and a head start in helping to shape the final Continuum release (currently slated for early August). Continuum 1.0 features includes: o Tight integration Maven 2.x o Support for Maven 1.x o Support for Ant o Support for shell scripts o Easy to use web interface o An XML-RPC interface for integration, automation and remoting o Easy to use command line shell interface using Python and the XML-RPC interface o Pluggable project registrars o Pluggable project build triggers o Pluggable notification schemes Please note, as a Technology Preview, this release is not intended for production use. We plan to have 2-3 alphas and 1-2 betas prior to posting the release candidates, which will be followed by the final release. We welcome any and all feedback and look forward to your comments! http://maven.apache.org/continuum http://maven.apache.org/continuum/download.html -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org you are never dedicated to something you have complete confidence in. No one is fanatically shouting that the sun is going to rise tomorrow. They know it is going to rise tomorrow. When people are fanatically dedicated to political or religious faiths or any other kind of dogmas or goals, it's always because these dogmas or goals are in doubt. -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
=?ISO-8859-1?Q?R=E9f=2E_=3A_Telnet_task_and_maven_1=2E0=2E2?=
GREAT, someone has eventually found the solution! Smart :o) Thx a lot for the tip!! Best regards, Fabrice Kaloyan Enimanev Kaloyan.Enimane [EMAIL PROTECTED] Pour ware.com users@maven.apache.org cc 31/03/2005 14:22 Objet Telnet task and maven 1.0.2 Veuillez répondre à Maven Users List [EMAIL PROTECTED] che.org Hi boys, yesterday I was able to run the ant:telnet task under Maven. Several people complained around that they were helpless on this topic in the mailing list so I thought it is a good idea to tell them what's the problem. Since Ant 1.5.3 relias on NetComponents.jar you have to download it and add it to the dependencies. I've got these in my project.xml dependency groupIdnetcomponents/groupId artifactIdnetcomponents/artifactId version1.3.8/version properties classloaderroot/classloader /properties /dependency And then in my Maven.xml I added ant:taskdef name=telnet classname=org.apache.tools.ant.taskdefs.optional.net.TelnetTask ant:classpath ant:pathelement location=${plugin.getDependencyPath('netcomponents:netcomponents')}/ ant:path refid=maven.dependency.classpath/ /ant:classpath /ant:taskdef telnet server=${j2ee.server.host} port=50008 timeout=1000 read string=ogin:/ write string=${j2ee.server.username}/ read string=assword:/ write echo=false string=${j2ee.server.password}/ read string=/ write string=jump 0/ read string=/ write string=ADD DBPOOL/ read string=/ write string=GET_DRIVERS/ read string=/ !-- First we ensure Driver is deployed -- write string=UNDEFINE_JDBC_DRIVER Oracle/ read string=/ write string=DEPLOY_JDBC_DRIVER Oracle ${pom.getDependencyPath( context.getVariable('group.external.icw').concat(':classes12') )}/ read string=/ !-- Deploy datasources -- write string=MAKE_DATA_SOURCE ${maven.build.dir}/data-source-pool.xml/ read string=/ write string=ADD DEPLOY/ read string=/ write string=REMOVE_APP -a sap.com/prescriptionEAR/ read string=/ write echo=true string=exit/ /telnet Did you get it ? :) The documentation states you should call telnet like this telnet .. writewritestirng/write readreadstring/read /telnet but the IMPLEMENTATION does like this telnet .. write string=writestirng / read string=readstring /telnet best regards to all of you , Kaloyan -- Keep In Touch With Your Life Sensors - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Telnet Task and Ant 1.5.3
Hi all, My problem is the following: I can't make the Ant telnet task work properly with Maven 1.0. The interactions(write/read) are ignored. Such a message was posted on this mailing list last december (telnet ant task in maven, any one?, Dan Tran), but no answer... If I use an Ant 1.6 script (outside of Maven), I can make this task work fine. So my question is: has anybody managed to make the telnet task work properly in Maven 1.0? - If yes: how ? - If not: any other way to get a telnet connection working? (I try to deploy an ear to a remote WAS 5: maybe there are other ways to do it? - the was5 plugin does not seem to work when deploying to a remote server :o(...) I know that Maven 1.1 will embed Ant 1.6.x: is there a schedule for this release? Thanks a lot in advance for your answers. Best regards, -- Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: Newbee
You can get it with ${basedir}. Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] VALLA Samuel [EMAIL PROTECTED] stems.com Pour Maven Users List 21/01/2005 16:04 users@maven.apache.org, Dion Gillard [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List RE: Newbee [EMAIL PROTECTED] che.org Thankx, an other question !!! I want to get the root directory where the project.xml is execute... -Message d'origine- De : Dion Gillard [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 21. janvier 2005 15:59 À : Maven Users List Objet : Re: Newbee j:if test=${ (a == 2) or (b == 3)} || also works On Fri, 21 Jan 2005 14:48:30 +0100, VALLA Samuel [EMAIL PROTECTED] wrote: I want to execute a u:if test= with a OR in test ? Have you an example ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : [CVS problem] [nead HELP!!!]
You should set your CVS root to : scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep/Festino:moduleName - Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.roPour Maven Users List 19/01/2005 09:02 users@maven.apache.org, dan tran [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List [CVS problem] [nead HELP!!!] [EMAIL PROTECTED] che.org I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Réf. : [CVS problem] [nead HELP!!!]
Yes, you have to generate this .cvspass file. And this can be done via the command : maven -Dpassword= changelog:create-cvspass That doesn't work? Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.roPour Maven Users List 19/01/2005 13:29 users@maven.apache.org cc VeuillezObjet répondre à Re: Réf. : [CVS problem] [nead Maven Users List HELP!!!] [EMAIL PROTECTED] che.org Merci!!! It work's!!! The parsing process is OK. But is another problem now. Is about the the password. With Eclipse is work's the connection. But with maven no (I use CVSNT in windows). statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep:Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] Using cvs passfile: C:\Documents and Settings\colaru.SETMOBILE\.cvspass [cvs] cvs log: Empty password used - try 'cvs login' with a real password [cvs] [cvs] cvs [log aborted]: authorization failed: server master rejected access to /e//cvsrep for user colaru statcvs:init: What they say with thin in changelog plugin???: This plugin does not use the cvs executable on your system to access CVS, instead it uses a java library from the NetBeans project. The password to access CVS is read by the plugin from ${user.home}/.cvspass. If you are using CVSNT you will not have this file, as CVSNT stores passwords encrypted in the registry. To create this file, please execute the changelog:create-cvspass goal, e.g. - Original Message - From: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, January 19, 2005 10:47 AM Subject: Réf. : [CVS problem] [nead HELP!!!] You should set your CVS root to : scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep/Festino:moduleName - Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.ro Pour Maven Users List 19/01/2005 09:02 users@maven.apache.org, dan tran [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List [CVS problem] [nead HELP!!!] [EMAIL PROTECTED] che.org I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Réf. : RE: How to get Dashboard to run?!
Great, it works now! :o) I don't know why, but I was excluding the master project from the dashboard include list property (maybe because we must do so for the multiproject plugin). Thanks a lot! Cheers :o) Fabrice. Siegfried Goeschl siegfried.goesc Pour [EMAIL PROTECTED]Maven Users List users@maven.apache.org 11/01/2005 17:43 cc Objet Veuillez Re: Réf. : RE: How to get Dashboard répondre à to run?! Maven Users List [EMAIL PROTECTED] che.org Hi Fabrice, my master project is at the same level as the subprojects and I use the following settings # # Multiproject Plugin # maven.multiproject.basedir=${basedir}/.. maven.multiproject.excludes=it20one-service-maven/project.xml maven.multiproject.site.goals=dashboard:report-single # # Dashboard Plugin # maven.dashboard.runreactor = true maven.dashboard.rungoals = false maven.dashboard.basedir=${basedir}/.. maven.dashboard.includes=*/project.xml maven.dashboard.excludes=**/target/**/project.xml maven.dashboard.aggregators = junittests,junitpassrate,clovertpc,cloverloc,cloverncloc,pmdviolations,scmchangedfiles,cserrors Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: And is it possible to keep the master project at the same level as the subprojects? For I want to build existing projects developed with WSAD and stored in CVS in their *own* module. I specify this in the master project properties, and that works for the multiproject plugin : maven.multiproject.basedir=${basedir}/.. maven.multiproject.includes=projectA/project.xml,\ projectB/project.xml,\ projectC/project.xml But for the dashboard plugin, it seems the same properties don't work : maven.dashboard.basedir=${basedir}/.. maven.dashboard.includes=projectA/project.xml,\ projectB/project.xml,\ projectC/project.xml (it works if I move the subprojects under the master project) Is it the normal behaviour? Thanks! Regards, Fabrice. -Original Message- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] Sent: lundi 10 janvier 2005 19:34 To: Maven Users List Subject: Re: How to get Dashboard to run?! Arghhh, you got me - the master project is at the same level as the subproject - now it works ... :-) cool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: How to get Dashboard to run?!
And is it possible to keep the master project at the same level as the subprojects? For I want to build existing projects developed with WSAD and stored in CVS in their *own* module. I specify this in the master project properties, and that works for the multiproject plugin : maven.multiproject.basedir=${basedir}/.. maven.multiproject.includes=projectA/project.xml,\ projectB/project.xml,\ projectC/project.xml But for the dashboard plugin, it seems the same properties don't work : maven.dashboard.basedir=${basedir}/.. maven.dashboard.includes=projectA/project.xml,\ projectB/project.xml,\ projectC/project.xml (it works if I move the subprojects under the master project) Is it the normal behaviour? Thanks! Regards, Fabrice. -Original Message- From: Siegfried Goeschl [mailto:[EMAIL PROTECTED] Sent: lundi 10 janvier 2005 19:34 To: Maven Users List Subject: Re: How to get Dashboard to run?! Arghhh, you got me - the master project is at the same level as the subproject - now it works ... :-) cool - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Maven and FTP Ant task: what's up??
OK, I've found NetComponents here : http://www.savarese.org/oro/downloads/download/NetComponents-1.3.8.zip With the following code in maven.xml taskdef name=ftp classname=org.apache.tools.ant.taskdefs.optional.net.FTP/ and this one in the POM dependency groupIdNetComponents/groupId artifactIdNetComponents/artifactId version1.3.8/version properties classloaderroot/classloader /properties /dependency it works fine. Thanks Ben :o) And yes, Maven is worth it! So I hope that soon, we won't need to do this hack to get the FTP task work seamlessly in Maven :o) Fabrice. Ben Anderson [EMAIL PROTECTED] anderson.us Pour Maven Users List 05/10/2004 14:48 [EMAIL PROTECTED] cc VeuillezObjet répondre à Re: Maven and FTP Ant task: what's Maven Users List up?? [EMAIL PROTECTED] che.org see this thread: http://marc.theaimsgroup.com/?l=turbine-maven-userm=109570387625634w=2 Note: you will have to manually download NetComponents.jar - which is hard to find. I can't remember where I got it from. Don't ask me why you need this jar as opposed to the current version of that project (commons-net). I had this problem a few weeks ago... and got pretty frustrated when I couldn't find the answer and almost abandoned maven. While this does seem to be a problem, it is solvable and maven is worth it ;-) -Ben Quoting [EMAIL PROTECTED]: Hi all, I try to use the FTP Ant task in my maven.xml, but I can't make it work. I've searched the mail archive, and I figured out that lots of people had troubles with this task in Maven 1.0, but none found a solution regarding this problem (at least, none gave a solution on the mailing list - a guy just gave a hack and I couldn't even make it work). So if someone has a solution that works, that would be really kind of him to send it to the list :o) Otherwise, shouldn't this problem be addressed quickly? (it seems that the FTP task used to work in Maven previous builds) Regards, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: java.lang.NoClassDefFoundError: sun/misc/CharacterEncoder
Thx a lot, Brett, that works fine. :o) Fabrice. Brett Porter [EMAIL PROTECTED] ail.com Pour Maven Users List 18/09/2004 00:29 [EMAIL PROTECTED] cc VeuillezObjet répondre à Re: java.lang.NoClassDefFoundError: Maven Users List sun/misc/CharacterEncoder [EMAIL PROTECTED] che.org try setting the fork attribute on java / - Brett On Fri, 17 Sep 2004 17:22:56 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I want to execute a java program, and to do so, I use the following script in my maven.xml: java classname=com.myClass classpath path refid=maven.dependency.classpath/ /classpath /java The problem is that I get a java.lang.NoClassDefFoundError because my class uses the sun.misc.CharacterEncoder class (which is in the rt.jar archive of the JRE). -- When I launch the same command at the prompt (java -cp ... etc), the program just runs fine. But not when I want to launch it through Maven. Shouldn't that jar be in Maven's classpath? If yes, anyone knows where the problem might come from? Thx for your answers! Regards, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.lang.NoClassDefFoundError: sun/misc/CharacterEncoder
Hi, I want to execute a java program, and to do so, I use the following script in my maven.xml: java classname=com.myClass classpath path refid=maven.dependency.classpath/ /classpath /java The problem is that I get a java.lang.NoClassDefFoundError because my class uses the sun.misc.CharacterEncoder class (which is in the rt.jar archive of the JRE). -- When I launch the same command at the prompt (java -cp ... etc), the program just runs fine. But not when I want to launch it through Maven. Shouldn't that jar be in Maven's classpath? If yes, anyone knows where the problem might come from? Thx for your answers! Regards, Fabrice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : How do you generate the default reports for a project ?
Are you calling the appropriated goal? -- site (or site:generate, this is the same) Henderson, Jerry L [CC] Jerry.L.Henders Pour [EMAIL PROTECTED] Maven Users List om [EMAIL PROTECTED] cc 13/09/2004 16:17 Objet How do you generate the default Veuillez reports for a project ? répondre à Maven Users List [EMAIL PROTECTED] che.org The maven docs says it can be used to generate a reports for myproject. It says if you do not utilize the reports tag, all of the plugin reports will be generated . I'm not sure what I'm doing wrong. I'm not using the reports tag, but I'm not getting reports either. Can someone give me some hints to what else I need? Perhaps a goal? Thanks. Jerald L. Henderson Sprint HRD Corporate Staff/UE Infrastructure Staff (913)315-3803 (Office) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]