RE: Identifying versions of jar files
I seem to recall a recent Maven User group I attended in london talking about MD5 checksums. Can't remember if this was a feature that was going to be exposed with upcoming repository manager. A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 July 2006 14:40 To: users@maven.apache.org Subject: RE: Identifying versions of jar files Andy: Sadly, if the author doesn't put the API version in the jar's manifest file or it's not built into the name of the jar itself you're not going to have a good chance at discerning the version. Your mileage may vary; however, these are generally the only two ways of which I'm aware. -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 9:33 AM To: users@maven.apache.org Subject: Identifying versions of jar files Hi, Can anyone tell me how to accurately identify the version of a particular jar file ? I have been provided with a number of jars and need to place them in to a maven 2 repo, but want to ensure I get the correct version number. TIA Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Identifying versions of jar files
Title: Identifying versions of jar files Hi, Can anyone tell me how to accurately identify the version of a particular jar file ? I have been provided with a number of jars and need to place them in to a maven 2 repo, but want to ensure I get the correct version number. TIA Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to copy resources while building war
I believe that assembly plugin could be used. Also could run ant targets -Original Message- From: AK [mailto:[EMAIL PROTECTED] Sent: 18 July 2006 07:58 To: users@maven.apache.org Subject: Re: how to copy resources while building war Hi, I have config files stored inside modules, because these files are used to configure these modules. These configs are not used by the modules themselves (and are not packed inside jars), just by the their clients. If I have another web app or client app, I'll have to make these config available for this app too, that's why I don't want to store configs inside web app module. I need a way to copy the configs to some place of client application (now it is web app). The configs are of different kind - hivemind descriptors, properties files etc. Now I want them to be placed in web-inf/classes of web module. It seems I need somehow to copy them while compile web app phase (i don't know how, I'm not very skilled with maven :) ) I've recently found that war plugin can be configured to use external resources(which are beyond src/main/resources), which can fix my problem. But maybe there is another approach, more generic (if I have another client,not web app) ? Thanks! > > Hi, > > Why is having your property files inside the jar annoying? You can > easily access them, and if they relates only to a single module - > which seems to be the cas, since they are stored within each of your > modules - it's quite consistent to get them in this module's jar. > And if configuration doesn't relate to a single module, storing them > inside your webapp module would sound more consistent. > > So maybe if you could precise why you want these property files within > each of your modules, and then stored in your WEB-INF folder, we could > find another solution... > > Denis. > > AK-8 wrote: >> >> Hi, I have a multimodule project, all modules' config properties are >> stored within each module's directory. For example, kernel module has > its >> props in kernel/config folder. >> I have a web module, which uses all other modules, and all their >> properties must be stored within web-inf folder as this web module >> references them. If I make kernel/config a resource folder, config > will be >> put inside kernel.jar, and won't be available for web app. So I have > to >> copy the configs manually, which is annoying. >> > -- .:Regards, AK:. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: m2 multiple war files with some common code
I've posted the answer to this a few time on this user list A -Original Message- From: Srinivas Pavani [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 19:51 To: users@maven.apache.org Subject: m2 multiple war files with some common code Can someone shed some light on how to setup maven2 to allow sharing some common code across multiple war files? Given below is an example of how I would like to setup multiple modules but I am not sure how the war generation can occur when webapp contents from common-module are needed for war-module1, war-module2 and war-module3. /parent-project /parent-project/common-module /parent-project/common-module/src/main/java /parent-project/common-module/src/main/resources /parent-project/common-module/src/main/webapp /parent-project/war-module1 /parent-project/war-module1/src/main/java /parent-project/war-module1/src/main/resources /parent-project/war-module1/src/main/webapp /parent-project/war-module2 ... /parent-project/war-module3 ... -- View this message in context: http://www.nabble.com/m2-multiple-war-files-with-some-common-code-tf1939 224.html#a5314384 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Effective-pom and junit M2
Thanks Kenney A -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: 12 July 2006 12:26 To: Maven Users List Subject: Re: Effective-pom and junit M2 On Wed, 12 Jul 2006 [EMAIL PROTECTED] wrote: Hi, Dependencies specified in dependencyManagement are not added as dependencies. They just specify defaults for projects that _do_ specify those dependencies - they could only specify groupId and arfifactId, the version and scope will be set from the depMgt section. So in your case, either add a dep on junit to the child projects that need junit, or remove the opening and closing tags from the parent project. -- Kenney > Hi, > > I have a multi project set-up in M2 - version 2.0.4. I have set up a > pom containing things that I want to apply across all modules (such as > certain reports - PMD, Macker, Checkstyle, etc). > > If I include a dependency management in there (e.g) > > > > > junit > junit > 3.8.1 > test > > > > > Why, at a module level do I get the error that Junit packages cannot > be found ? > I have referred to the other pom via the tag. > I have run the mvn help:effective-pom and I can see Junit is a > dependency, but code can't seem to see it. > > I have seen a bug reported in 2.0.2 of maven and some further > discussion around it. Jira says it is fixed, but am I just seeing that > it has been reintroduced ? > http://jira.codehaus.org/browse/MNG-2068 > > Thx > Andy > -- 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] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Build complex projects
Hi I have a similar setup and deploy struts, spring, etc in the ear by including them as dependencies in the ear I use manifest classpaths within wars to externalise dependencies there are a number of ways to do the classpath stuff, I list the ones I know below. I also had this problem, and it took a while to sort out. Here are the ways I found ... I've managed to get something into the Manifest.mf Class-Path without it appearing in the WEB-INF/lib in M2 by placing dependencies as follows in the war packaging pom ... com.ubs.datait.rkyc.cim.j2eeclient cim-j2eeclient ${rkyc-cim-version} compile cim-j2eeclient com.ubs.datait.rkyc.cim.j2eeclient true And then your war plugin configuration should be org.apache.maven.plugins maven-war-plugin 2.0 true You could also look to use add a classpath and then explicitly exclude jars with the WEB-INF/lib/*.jar construct within the war configuration The tag will only exclude JARs in your workspace directory. It does not prevent the JARs specified by dependencies to be added to the lib directory. To do so add a scope tag with the value "provided" to the dependency: Alternatively, if you know exactly what you want the manifest class path to look like you could also specify a special manifest.mf in the tag: ${basedir}/WebContent/META-INF/MANIFEST.MF Or if you have a manifest file in the standard location (src/main/webapp/META-INF/) Maven will use that. If you want Maven to create the manifest, simply delete the manifest in the standard location. Hope this helps Andy -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: 12 July 2006 12:42 To: Maven Users List Subject: [M2] Build complex projects Hi, I m migrating my projects from M1 to M2. I have a J2EE project (Struts, spring, hibernate) with the following structure: daos ? dao ears ? ear ejbs ? ejb guis ? back-gui ? front-gui services ? back-service ? front-service site src main resources There are a pom.xml for each type of artefact (daos,guis,...) In this project , I have two webapps which use the sames libraries (eg. struts) I would like to externalize them to the EAR top level and only refer by the manifest classpath. I know that if I assign all the dependencies in the EAR and assign these dependencies with the scope 'provided' in the guis pom.xml but I would like to know what the 'best practices' for this kind of problem. Thanks in advance Regards, Alexandre Touret - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Effective-pom and junit M2
Title: Effective-pom and junit M2 Hi, I have a multi project set-up in M2 - version 2.0.4. I have set up a pom containing things that I want to apply across all modules (such as certain reports - PMD, Macker, Checkstyle, etc). If I include a dependency management in there (e.g)junitgroupId> junitartifactId> 3.8.1version> testscope> dependency> dependencies> dependencyManagement> Why, at a module level do I get the error that Junit packages cannot be found ? I have referred to the other pom via the tag. I have run the mvn help:effective-pom and I can see Junit is a dependency, but code can't seem to see it. I have seen a bug reported in 2.0.2 of maven and some further discussion around it. Jira says it is fixed, but am I just seeing that it has been reintroduced ? http://jira.codehaus.org/browse/MNG-2068 Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] How to configure the local repository
You also have the option of setting up explicit repositories and then using activeProfiles (or use the maven profile CLI Rgds Andy -Original Message- From: Tung Nguyen [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 16:11 To: users@maven.apache.org Cc: Davies, Andrew-A Subject: Re: [m2] How to configure the local repository Yeah, but in my company, we are tied down with our revision control process that requires in short term this kind of configuration. This configuration aims to facilitate a local and demonstration build without many steps of downloading plug-in, creating, editing the settings.xml file. - Original Message From: [EMAIL PROTECTED] To: users@maven.apache.org; [EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 4:19:49 PM Subject: RE: [m2] How to configure the local repository Leave the setttings xml where it is, configure the repository location in there as described in the settings.xml file ... Why would you have to put repository in same directory as project though ? A
RE: [m2] How to configure the local repository
Leave the setttings xml where it is, configure the repository location in there as described in the settings.xml file ... Why would you have to put repository in same directory as project though ? A
RE: Best practices in testing Hibernate/EJB3 POJOs (or doing database tests)
Have you thought about using dependency injection framework to cater for this ? A -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 12:53 To: Maven Users List Subject: Best practices in testing Hibernate/EJB3 POJOs (or doing database tests) Hi there, I would like to hear about what you're doing to test your Hibernate/EJB3 POJOs (if you're doing at all). I have a project with some of them, and I have the following concerns: First of all, I may test them just ignoring persistence (already done). No problem here, just a bunch of TestNG tests running smoothly under Maven2. I think this is important, as I'm developing a library mainly intended to be used as annotated Hibernated POJOs, but maybe people using it prefer another persistence api. What do you think? Then I thought about testing the library including the persistence stuff, but this brings some problems: Problem 1: Whenver building the project, publishing the site, etc. you must have access to a runnning database in order to perform the tests. I'm currently running a postgresql database, but it may be cumbersome for users wanting to download and hack the sources. Maybe this could be solved using some kind of embeddable database? Or maybe I could create several profiles (never done this) and activate database tests only under demand? Problem 2: Having database tests involves having configuration data written down in some configuration file (the jdbc URL, user, password, etc. hibernate.cfg.xml) or even in the pom (jdbc driver dependency). It's kind of putting in the sources of the library some information that may be only of interest to me in my current environment. How to solve this? Again using some kind of embeddable datasource for tests? Using source filters? (again, I haven't done this before, so I don't know if it's suitable) Best regards Jose Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: pro in a maven command
Sounds like you are behind a firewall. Try setting up the proxies section in your settings.xml true http ENTER YOUR USER NAME ENTER YOUR PASSWORD ENTER YOUR PROXY IP/NAME ENTER YOUR PROXY PORT A -Original Message- From: maverick83 [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 11:23 To: users@maven.apache.org Subject: pro in a maven command Hi I am new user of maven.I had copied the following command line from the maven site "mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app" but i am getting the following error [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 18 seconds [INFO] Finished at: Mon Jul 10 15:30:21 IST 2006 [INFO] Final Memory: 1M/2M [INFO] " kindly help regarding its pretty urgent i have searched on websites but got pretty vague answers I have tried to edit my settings.xml file but after i edit it the above command doesnt even recognize settings.xml file nd gives the follwing error " Error reading settings.xml: only whitespace content allowed before start tag and not - (position: START_DOCUMENT seen -... @1:1) Line: 1" kindly reply asap thanks in advance Kindly give s step by step procedure for regarding this pro nd repository i had checked on some other sites too but no repository is being created on my system regards rahul -- View this message in context: http://www.nabble.com/pro-in-a-maven-command-tf1923598.html#a5266892 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-pmd-plugin can't find my source files SOLVED
Hi, Thanks for that it worked. I referenced the ones in the plugin and it worked. A word of warning to anyone else though. If no tags are used, the PMD software / plugin decides to give you an empty report. This isn't mentioned in the docs A Rgds Andy -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 17:25 To: Maven Users List Cc: [EMAIL PROTECTED] Subject: RE: maven-pmd-plugin can't find my source files It sounds like you are trying to use a ruleset from an older version and the PMD code is no longer there to support the old rule(s). Try removing the rulesets and I bet it will work fine. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 05, 2006 11:10 AM > To: users@maven.apache.org > Cc: [EMAIL PROTECTED] > Subject: FW: maven-pmd-plugin can't find my source files > > > Hi Doug > > I have installed PMD locally and executede against code; successfully > generating report. > I have extracted a couple of the rulesets from the pmd-3.3.jar and > have the the plugin configured as follows ... > > > > org.apache.maven.plugins > > maven-pmd-plugin > > > > ${basedir}/basic.xml > > ${basedir}/controversial.xml > > ${basedir}/favorites.xml > > ${basedir}/strings.xml > > ${basedir}/design.xml > > xml > > ${basedir}/target > false > true > true > > > > This does now seem to be executing PMD - I can tell because it fails > with > java.lang.RuntimeException: Couldn't find that class > net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule > > Do I have to have pmd jar files on a classpath (or in repository and > have some dependencies set up) ? > > Cheers > Andy > -Original Message- > From: Davies, Andrew-A > Sent: 04 July 2006 12:44 > To: 'Maven Users List' > Subject: RE: maven-pmd-plugin can't find my source files > > Sorry about delayed response - been away 4 a couple of days. > No using JDK 1.4.2. Will try PMD alone to confirm, then try specific > version. > > Will vote if I see > > Rgds > Andy > > > -Original Message- > From: Doug Douglass [mailto:[EMAIL PROTECTED] > Sent: 29 June 2006 18:33 > To: Maven Users List > Subject: Re: maven-pmd-plugin can't find my source files > > Sorry, I mis-spoke on the version, we were originally using > 2.0-beta-2-SNAPSHOT hosted at either: > > * http://snapshots.maven.codehaus.org/maven2 > * http://cvs.apache.org/maven-snapshot-repository > > You're classes don't happen to be using Java 5 and Generics do they? > > You'll need to configure the plugin if you're using java 5 (see > targetJdk parameter). > > If you want to try 2.0-beta-2-SNAPSHOT, add the appropriate location > above to your pom as a pluginRepository and then add a version tag > where ever you reference the pmd plugin groupId/artifactId. > > Lastly, a good test of whether the problem is related to the plugin or > to pmd, is to install pmd and run it directly -- my bet is you'll see > a bunch of NPEs reported. > > > FYI, the 2.1-SNAPSHOT we use is deployed to our corp. plugin repo > pending acceptance of http://jira.codehaus.org/browse/MPMD-33 which is > unrelated to your problems. If you do see the NPEs noted above, vote > for this issue ;) > > HTH, > Doug > > On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > I haven't specified a version. My POM looks like > > > > > > > > > > > > org.apache.maven.plugins > > > > maven-pmd-plugin > > > > true > > > > > > > > > > org.apache.maven.plugins > > > > maven-jxr-plugin > > > > > > > > > > > > > > -Original Message- > > From: Doug Douglass [mailto:[EMAIL PROTECTED] > > Sent: 29 June 2006 13:39 > > To: Maven Users List > > Subject: Re: maven-pmd-plugin can't find my source files > > > > What version of the plugin? We've been using 2.1-SNAPSHOT for many > > months and haven't seen the problems you describe. > > > > On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Heiko, > > > > > > I have the same issue. Except that only a blank page is created. > > > > > > > > > org.apache.maven.plugins > > > maven-pmd-plugin > > > > > > > > > I also use JXR for cross referencing java > > > > > > > > > > > > org.apache.maven.plugins > > > > > > maven-jxr-plugin > > > > > > > > > Either I am missing something fundamental
FW: maven-pmd-plugin can't find my source files
Hi Doug I have installed PMD locally and executede against code; successfully generating report. I have extracted a couple of the rulesets from the pmd-3.3.jar and have the the plugin configured as follows ... org.apache.maven.plugins maven-pmd-plugin ${basedir}/basic.xml ${basedir}/controversial.xml ${basedir}/favorites.xml ${basedir}/strings.xml ${basedir}/design.xml xml ${basedir}/target false true true This does now seem to be executing PMD - I can tell because it fails with java.lang.RuntimeException: Couldn't find that class net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule Do I have to have pmd jar files on a classpath (or in repository and have some dependencies set up) ? Cheers Andy -Original Message- From: Davies, Andrew-A Sent: 04 July 2006 12:44 To: 'Maven Users List' Subject: RE: maven-pmd-plugin can't find my source files Sorry about delayed response - been away 4 a couple of days. No using JDK 1.4.2. Will try PMD alone to confirm, then try specific version. Will vote if I see Rgds Andy -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 18:33 To: Maven Users List Subject: Re: maven-pmd-plugin can't find my source files Sorry, I mis-spoke on the version, we were originally using 2.0-beta-2-SNAPSHOT hosted at either: * http://snapshots.maven.codehaus.org/maven2 * http://cvs.apache.org/maven-snapshot-repository You're classes don't happen to be using Java 5 and Generics do they? You'll need to configure the plugin if you're using java 5 (see targetJdk parameter). If you want to try 2.0-beta-2-SNAPSHOT, add the appropriate location above to your pom as a pluginRepository and then add a version tag where ever you reference the pmd plugin groupId/artifactId. Lastly, a good test of whether the problem is related to the plugin or to pmd, is to install pmd and run it directly -- my bet is you'll see a bunch of NPEs reported. FYI, the 2.1-SNAPSHOT we use is deployed to our corp. plugin repo pending acceptance of http://jira.codehaus.org/browse/MPMD-33 which is unrelated to your problems. If you do see the NPEs noted above, vote for this issue ;) HTH, Doug On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I haven't specified a version. My POM looks like > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > true > > > > > org.apache.maven.plugins > > maven-jxr-plugin > > > > > > > -Original Message- > From: Doug Douglass [mailto:[EMAIL PROTECTED] > Sent: 29 June 2006 13:39 > To: Maven Users List > Subject: Re: maven-pmd-plugin can't find my source files > > What version of the plugin? We've been using 2.1-SNAPSHOT for many > months and haven't seen the problems you describe. > > On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Heiko, > > > > I have the same issue. Except that only a blank page is created. > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > > > > > I also use JXR for cross referencing java > > > > > > > > org.apache.maven.plugins > > > > maven-jxr-plugin > > > > > > Either I am missing something fundamental, or the documentation on > > http://maven.apache.org/plugins/maven-pmd-plugin/howto.html > > is wrong. Or there are bugs with the plugin. > > > > Rgds > > Andy > > > > -Original Message- > > From: Heiko Wolf [mailto:[EMAIL PROTECTED] ] > > Sent: 29 June 2006 07:58 > > To: users@maven.apache.org > > Subject: maven-pmd-plugin can't find my source files > > > > Hello, > > > > I have a very little maven project (only one source file), sources > > as usual in src/main/java, everything works fine, mvn compile, mvn > > site and so on. But not mvn pmd:pmd. It generates some files > > (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also > > generated, but its nearly empty. It contains only an pmd-tag, > > nothing more. I try to integrate the pmd-plugin in my site-report, > > which seems > > > to work because pmd-sites are generateded, but they are useless > > because the file-section is empty. The maven-pmd-plugin is unable to > > find my source code, I think, but why? I also tried the > > checkstyle-plugin, which just works fine as expected without any > > special treatment. Any suggestions how I can figure out the problem? >
RE: maven-pmd-plugin can't find my source files
Sorry about delayed response - been away 4 a couple of days. No using JDK 1.4.2. Will try PMD alone to confirm, then try specific version. Will vote if I see Rgds Andy -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 18:33 To: Maven Users List Subject: Re: maven-pmd-plugin can't find my source files Sorry, I mis-spoke on the version, we were originally using 2.0-beta-2-SNAPSHOT hosted at either: * http://snapshots.maven.codehaus.org/maven2 * http://cvs.apache.org/maven-snapshot-repository You're classes don't happen to be using Java 5 and Generics do they? You'll need to configure the plugin if you're using java 5 (see targetJdk parameter). If you want to try 2.0-beta-2-SNAPSHOT, add the appropriate location above to your pom as a pluginRepository and then add a version tag where ever you reference the pmd plugin groupId/artifactId. Lastly, a good test of whether the problem is related to the plugin or to pmd, is to install pmd and run it directly -- my bet is you'll see a bunch of NPEs reported. FYI, the 2.1-SNAPSHOT we use is deployed to our corp. plugin repo pending acceptance of http://jira.codehaus.org/browse/MPMD-33 which is unrelated to your problems. If you do see the NPEs noted above, vote for this issue ;) HTH, Doug On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I haven't specified a version. My POM looks like > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > true > > > > > org.apache.maven.plugins > > maven-jxr-plugin > > > > > > > -Original Message- > From: Doug Douglass [mailto:[EMAIL PROTECTED] > Sent: 29 June 2006 13:39 > To: Maven Users List > Subject: Re: maven-pmd-plugin can't find my source files > > What version of the plugin? We've been using 2.1-SNAPSHOT for many > months and haven't seen the problems you describe. > > On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Heiko, > > > > I have the same issue. Except that only a blank page is created. > > > > > > org.apache.maven.plugins > > maven-pmd-plugin > > > > > > I also use JXR for cross referencing java > > > > > > > > org.apache.maven.plugins > > > > maven-jxr-plugin > > > > > > Either I am missing something fundamental, or the documentation on > > http://maven.apache.org/plugins/maven-pmd-plugin/howto.html > > is wrong. Or there are bugs with the plugin. > > > > Rgds > > Andy > > > > -Original Message- > > From: Heiko Wolf [mailto:[EMAIL PROTECTED] ] > > Sent: 29 June 2006 07:58 > > To: users@maven.apache.org > > Subject: maven-pmd-plugin can't find my source files > > > > Hello, > > > > I have a very little maven project (only one source file), sources > > as usual in src/main/java, everything works fine, mvn compile, mvn > > site and so on. But not mvn pmd:pmd. It generates some files > > (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also > > generated, but its nearly empty. It contains only an pmd-tag, > > nothing more. I try to integrate the pmd-plugin in my site-report, > > which seems > > > to work because pmd-sites are generateded, but they are useless > > because the file-section is empty. The maven-pmd-plugin is unable to > > find my source code, I think, but why? I also tried the > > checkstyle-plugin, which just works fine as expected without any > > special treatment. Any suggestions how I can figure out the problem? > Here is the output of the command: > > > > #mvn -e pmd:pmd > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'pmd'. > > [INFO] > > > > -- > > -- > > > > [INFO] Building InquiryPortlet > > [INFO]task-segment: [pmd:pmd] > > [INFO] > > > > -- > > -- > > > > [INFO] [pmd:pmd] > > [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] > > > > -- > > -- > > [INFO] BUILD SUCCESSFUL > > [INFO] > > > > -- > > -- > > [INFO] Total time: 9 seconds > > [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final Memory: > > 4M/108M [INFO] > > > > -- > > -- > > > > As far as I know, the warning has nothing to do with my problem. > > > > Is there any way to point the maven-pmd-plugin to the source files? > > But I thought, this is unnecessary if my source files are on > > standard location. > > > > > > Re
RE: maven-pmd-plugin can't find my source files
I haven't specified a version. My POM looks like org.apache.maven.plugins maven-pmd-plugin true org.apache.maven.plugins maven-jxr-plugin -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 13:39 To: Maven Users List Subject: Re: maven-pmd-plugin can't find my source files What version of the plugin? We've been using 2.1-SNAPSHOT for many months and haven't seen the problems you describe. On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Heiko, > > I have the same issue. Except that only a blank page is created. > > > org.apache.maven.plugins > maven-pmd-plugin > > > I also use JXR for cross referencing java > > > > org.apache.maven.plugins > > maven-jxr-plugin > > > Either I am missing something fundamental, or the documentation on > http://maven.apache.org/plugins/maven-pmd-plugin/howto.html > is wrong. Or there are bugs with the plugin. > > Rgds > Andy > > -Original Message- > From: Heiko Wolf [mailto:[EMAIL PROTECTED] > Sent: 29 June 2006 07:58 > To: users@maven.apache.org > Subject: maven-pmd-plugin can't find my source files > > Hello, > > I have a very little maven project (only one source file), sources as > usual in src/main/java, everything works fine, mvn compile, mvn site > and so on. But not mvn pmd:pmd. It generates some files > (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also > generated, but its nearly empty. It contains only an pmd-tag, nothing > more. I try to integrate the pmd-plugin in my site-report, which seems > to work because pmd-sites are generateded, but they are useless > because the file-section is empty. The maven-pmd-plugin is unable to > find my source code, I think, but why? I also tried the > checkstyle-plugin, which just works fine as expected without any > special treatment. Any suggestions how I can figure out the problem? Here is the output of the command: > > #mvn -e pmd:pmd > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'pmd'. > [INFO] > -- > -- > > [INFO] Building InquiryPortlet > [INFO]task-segment: [pmd:pmd] > [INFO] > -- > -- > > [INFO] [pmd:pmd] > [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] > -- > -- > [INFO] BUILD SUCCESSFUL > [INFO] > -- > -- > [INFO] Total time: 9 seconds > [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final Memory: > 4M/108M [INFO] > -- > -- > > As far as I know, the warning has nothing to do with my problem. > > Is there any way to point the maven-pmd-plugin to the source files? > But I thought, this is unnecessary if my source files are on standard > location. > > > Regards > > Heiko Wolf > -- > > > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for
RE: maven-pmd-plugin can't find my source files
Heiko, I have the same issue. Except that only a blank page is created. org.apache.maven.plugins maven-pmd-plugin I also use JXR for cross referencing java org.apache.maven.plugins maven-jxr-plugin Either I am missing something fundamental, or the documentation on http://maven.apache.org/plugins/maven-pmd-plugin/howto.html is wrong. Or there are bugs with the plugin. Rgds Andy -Original Message- From: Heiko Wolf [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 07:58 To: users@maven.apache.org Subject: maven-pmd-plugin can't find my source files Hello, I have a very little maven project (only one source file), sources as usual in src/main/java, everything works fine, mvn compile, mvn site and so on. But not mvn pmd:pmd. It generates some files (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also generated, but its nearly empty. It contains only an pmd-tag, nothing more. I try to integrate the pmd-plugin in my site-report, which seems to work because pmd-sites are generateded, but they are useless because the file-section is empty. The maven-pmd-plugin is unable to find my source code, I think, but why? I also tried the checkstyle-plugin, which just works fine as expected without any special treatment. Any suggestions how I can figure out the problem? Here is the output of the command: #mvn -e pmd:pmd + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'pmd'. [INFO] [INFO] Building InquiryPortlet [INFO]task-segment: [pmd:pmd] [INFO] [INFO] [pmd:pmd] [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 9 seconds [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final Memory: 4M/108M [INFO] As far as I know, the warning has nothing to do with my problem. Is there any way to point the maven-pmd-plugin to the source files? But I thought, this is unnecessary if my source files are on standard location. Regards Heiko Wolf -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDepend
Try this for setting up repositories http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 June 2006 12:02 To: Maven Users List Subject: Re: JDepend Thanks, but I'm clueless when it comes to the settings.xml, the documentation is very thin. I don't know where to put that reference. Where do I configure the "snapshot repository". I regret that I have to ask these questions... if you can point to the documentation then I'll be glad to use it. I have looked but have not found anything which I can use. Edwin Punzalan <[EMAIL PROTECTED]> 2006/06/27 04:43 PM Please respond to "Maven Users List" To Maven Users List cc Subject Re: JDepend Have you tried putting http://snapshots.maven.codehaus.org/maven2 in your snapshot repository ? Its there at exactly: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/jdepend-mav en-plugin/ [EMAIL PROTECTED] wrote: > I'm using maven 2.0 and I'm trying to use the JDepend plugin. > > I cannot download the plugin. I set it up in my pom.xml like the > documentation says, but have no luck. > > It looks like it is no longer on the mojo repo but in the maven repo > (maven plugin), pointing it here still does not help. > > I could not find any help on this matter, that is why I am posting here. > > Thank you > > Michael > > > Disclaimer > Sanlam Life Insurance Limited Reg no 1998/021121/06 - Licensed Financial > Services Provider > Disclaimer and Directors > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Disclaimer Sanlam Life Insurance Limited Reg no 1998/021121/06 - Licensed Financial Services Provider Disclaimer and Directors Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Scope and manifest class path with M2
Hi Maciej, I also had this problem, and it took a while to sort out. Here are the ways I found ... I've managed to get something into the Manifest.mf Class-Path without it appearing in the WEB-INF/lib in M2 by placing dependencies as follows in the war packaging pom ... com.ubs.datait.rkyc.cim.j2eeclient cim-j2eeclient ${rkyc-cim-version} compile cim-j2eeclient com.ubs.datait.rkyc.cim.j2eeclient true And then your war plugin configuration should be org.apache.maven.plugins maven-war-plugin 2.0 true You could also look to use add a classpath and then explicitly exclude jars with the WEB-INF/lib/*.jar construct within the war configuration The tag will only exclude JARs in your workspace directory. It does not prevent the JARs specified by dependencies to be added to the lib directory. To do so add a scope tag with the value "provided" to the dependency: Alternatively, if you know exactly what you want the manifest class path to look like you could also specify a special manifest.mf in the tag: ${basedir}/WebContent/META-INF/MANIFEST.MF Or if you have a manifest file in the standard location (src/main/webapp/META-INF/) Maven will use that. If you want Maven to create the manifest, simply delete the manifest in the standard location. Hopefully you can use one of these solutions. BTW I am using WAS 6 and am not aware of classloader problems - what problems are you referring to ? Rgds Andy -Original Message- From: Maciej Mastalarczuk [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 07:00 To: users@maven.apache.org Subject: Scope and manifest class path with M2 Hi, I am building a WAR file and I need M2 to put a jar in the manifest class path, but not include it under WEB-INF/lib (this is due to the classloader confiuration issues on WAS6). Seems like a simple task, but is it possible? When I use scope 'provided' - it skips the class path entry in the maniftest. Any other scope will cause the jar to end up in WEB-INF/lib Regards Maciej Mastalarczuk _ Research and compare new cars side by side at carpoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwi de%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F100 4813%2Fai%5F833884&_t=54321&_r=hotmail_endtext&_m=EXT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java2HTML plugin M2
No particular reason - I was just asked to put Java2html into build. I'll take a look at JXR and see what that offers Tx A -Original Message- From: Ivo Limmen [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:23 To: Maven Users List Subject: Re: Java2HTML plugin M2 Why use Java2HTML? Most reporting-plugins for the site plugin use JXR, this is practically the same. Use this: org.codehaus.mojo jxr-maven-plugin Best regards, Ivo On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Damien, > > How can you tell ? > It seems to be compiled Java classes and uses xsd version 4.0.0 which > I thought indicated M2 > > Tx A > > -Original Message- > From: LECAN Damien [mailto:[EMAIL PROTECTED] > Sent: 26 June 2006 14:00 > To: Maven Users List > Subject: RE: Java2HTML plugin M2 > > Hello, > > It seems to be a M1 plugin, not M2 ... > > Damien > > > -Message d'origine- > > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : > > lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : > > Java2HTML plugin M2 > > > > > > Hi, > > Has anyone had any success working with Java2HTML plugin and M2 ? > > I get NullPointer exception when trying to install plugin to my > > repository as per instructions from > > http://www.qualitylabs.org/java2htmlplugin/index.html > > Tx > > Andy > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java2HTML plugin M2
Tx - thought that was a typo and changed to mvn. I'd never used M1 - switched recently from Ant to M2 A -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:23 To: Maven Users List Subject: Re: Java2HTML plugin M2 Look at the page you are refering to in your first post. 'maven' is the executable of m1 whereas m2 has 'mvn'. Also there is no 'plugin:download' goal in m2. -Tim [EMAIL PROTECTED] schrieb: > Hi Damien, > > How can you tell ? > It seems to be compiled Java classes and uses xsd version 4.0.0 which > I thought indicated M2 > > Tx A > > -Original Message- > From: LECAN Damien [mailto:[EMAIL PROTECTED] > Sent: 26 June 2006 14:00 > To: Maven Users List > Subject: RE: Java2HTML plugin M2 > > Hello, > > It seems to be a M1 plugin, not M2 ... > > Damien > >> -Message d'origine- >> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : >> lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML >> plugin M2 >> >> >> Hi, >> Has anyone had any success working with Java2HTML plugin and M2 ? >> I get NullPointer exception when trying to install plugin to my >> repository as per instructions from >> http://www.qualitylabs.org/java2htmlplugin/index.html >> Tx >> Andy >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > 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] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java2HTML plugin M2
Hi Damien, How can you tell ? It seems to be compiled Java classes and uses xsd version 4.0.0 which I thought indicated M2 Tx A -Original Message- From: LECAN Damien [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:00 To: Maven Users List Subject: RE: Java2HTML plugin M2 Hello, It seems to be a M1 plugin, not M2 ... Damien > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : > lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML > plugin M2 > > > Hi, > Has anyone had any success working with Java2HTML plugin and M2 ? > I get NullPointer exception when trying to install plugin to my > repository as per instructions from > http://www.qualitylabs.org/java2htmlplugin/index.html > Tx > Andy > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java2HTML plugin M2
Title: Java2HTML plugin M2 Hi, Has anyone had any success working with Java2HTML plugin and M2 ? I get NullPointer exception when trying to install plugin to my repository as per instructions from http://www.qualitylabs.org/java2htmlplugin/index.html Tx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clover and Maven 2
Title: Clover and Maven 2 Hi Think I may have tracked it down ... My Junit test was a blank one, so didn't instantiate the class under test. This it would seem does not then recognise that the class has had no tests (and hence has no coverage). What I was expecting was to say that the class had no coverage. Is this a configuration option I am missing ? Rgds Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clover and Maven 2
Hi Vincent, As requested. Full Debug Attached. Rgds Andy -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 15:12 To: 'Maven Users List' Subject: RE: Clover and Maven 2 _ From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: vendredi 23 juin 2006 14:24 To: 'Maven Users List' Subject: RE: Clover and Maven 2 Hi Andrew, [snip] Well I could try to help you if you could run maven in debug mode (-X) and attach the console output. Please do not copy paste in the email as it'll be unreadable but please attach the *full* console log to your reply email in a file or give a link to a rafb pointer. Thanks -Vincent Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clover and Maven 2
Hi The database got created automatically. I cleaned everything, tried what you instructed & captured output (attached) Still no clover report. org.apache.maven.plugins maven-clover-plugin org.apache.maven.plugins maven-clover-plugin C:\\clover\\clover.license pre-site instrument Rgds Andy -Original Message- From: Janhavi Phirke [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 14:26 To: Maven Users List Subject: Re: Clover and Maven 2 Is that database related to your work or you are using it just to generate the report? If the database it just to generate the report, then delete that database and try to do the steps mentioned in my previous mail. On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > There is a database there though debug output for same classes below > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Clover and Maven 2
There is a database there though debug output for same classes below --- T E S T S --- Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Clover Version 1.3.12, built on February 08 2006 loaded from: C:\Documents and Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover- 1. 250 Seat Team License registered to [EMAIL PROTECTED], UBS AG DEBUG: *** Creating current report DEBUG: free heap: 3240040/14049280 DEBUG: Loading database at C:\work\rkyc-framework\frmw-exception\target\clover\clover.db DEBUG: db version = 1151067751290 DEBUG: Loaded 2 file records DEBUG: free heap: 3193320/14049280 DEBUG: loading recordings for span = 0 WARN: No coverage data found for 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'. DEBUG: resolving source files on path 'C:/work/rkyc-framework/frmw-exception/src/main/java' DEBUG: looking for C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\ framework\exc DEBUG: looking for C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\ framework\exc DEBUG: Processing file 0:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\ ubs\datai on.java;loc=73;ncloc=23;classes=1] DEBUG: Processing class 0:ClassInfo[name=ApplicationException;start=9;context=0;meths=6;stmts=7; conds=0; DEBUG: Processing file 1:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\ ubs\datai java;loc=21;ncloc=6;classes=1] DEBUG: Processing class 0:ClassInfo[name=BusinessException;start=14;context=0;meths=1;stmts=1;co nds=0;] DEBUG: Model stats - DEBUG: packages: 1 DEBUG:files: 2 DEBUG: classes: 2 DEBUG: *** Model built WARN: No coverage recordings found. No report will be generated. [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Fri Jun 23 14:02:35 BST 2006 [INFO] Final Memory: 9M/17M -Original Message- From: Janhavi Phirke [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 13:55 To: Maven Users List Subject: Re: Clover and Maven 2 The error is coming since the clover database is not generated. When you want to generate the Clover report, you have to generate the Clover database first. Otherwise no report will be generated. To generate the report, add following code in your pom.xml: org.apache.maven.plugins maven-clover-plugin pre-site instrument And to generate the report, add following code: org.apache.maven.plugins maven-clover-plugin Also to run it, first run the command "mvn install", then "mvn clover:instrument" and then run the command "mvn clover:clover". Regards, Janhavi On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Has anybody succesfully used clover to generate a report with Mave 2 ? > I have followed docs on * > http://maven.apache.org/plugins/maven-clover-plugin/howto.html* /maven.apache.org/plugins/maven-clover-plugin/howto.html> > However, I continually get the error as below ... > > --- > T E S T S > --- > Running > com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 > sec Running > com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 > sec > > Results : > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] [clover:clover] > Clover Version 1.3.12, built on February 08 2006 loaded from: > C:\Documents and > Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clove > r- > 1.3.12.jar > 250 Seat Team License registered to [EMAIL PROTECTED], UBS AG > WARN: No coverage data found for > 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'. > WARN: No coverage recordings found. No report will be generated. > [INFO] > -- > -- > [INFO] BUILD SUCCESSFUL > [INFO] > -- > -- > > And no output. I have tried several ways of executing (in pom and > command line with mvn clover:instrument clover:clover > > Alas to no avail > > Any assistance appreciated > Tx >
Clover and Maven 2
Title: Clover and Maven 2 Hi, Has anybody succesfully used clover to generate a report with Mave 2 ? I have followed docs on http://maven.apache.org/plugins/maven-clover-plugin/howto.html However, I continually get the error as below … --- T E S T S --- Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 [INFO] [clover:clover] Clover Version 1.3.12, built on February 08 2006 loaded from: C:\Documents and Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-1.3.12.jar 250 Seat Team License registered to [EMAIL PROTECTED], UBS AG WARN: No coverage data found for 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'. WARN: No coverage recordings found. No report will be generated. [INFO] [INFO] BUILD SUCCESSFUL [INFO] And no output. I have tried several ways of executing (in pom and command line with mvn clover:instrument clover:clover Alas to no avail Any assistance appreciated Tx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Writing plugins and dependencies on other software
Thx Jerome. Andy -Original Message- From: jerome lacoste [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 10:43 To: Maven Users List Subject: Re: Writing plugins and dependencies on other software On 6/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I am writing a plugin for a 3rd party piece of software (Macker > http://innig.net/macker). To run with Mavne 2.x What should I do re > either ensuring availability of that software or informing an end user > that it is required to run ? You plugin will probably declare a dependency on macker itself. Make sure the macker libraries are found under the ibiblio repository, if it's not already done. see http://jira.codehaus.org/browse/MAVENUPLOAD > The plugin already exists for Maven 1.x and I have been in contact > with the author and he knows I intend writing the plugin. Note: Macker is under the GPL so depending on how you wrap it, you might need to make your plugin under the GPL as well. IANAL... Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Writing plugins and dependencies on other software
Title: Writing plugins and dependencies on other software Hi, I am writing a plugin for a 3rd party piece of software (Macker http://innig.net/macker). To run with Mavne 2.x What should I do re either ensuring availability of that software or informing an end user that it is required to run ? The plugin already exists for Maven 1.x and I have been in contact with the author and he knows I intend writing the plugin. Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Checkstyle plugin Maven 2
Thx. Info is sparse though - ended up having to look at source code to work out what parameters I could set for it !! A -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 04:22 To: Maven Users List Subject: Re: Checkstyle plugin Maven 2 For configurations, etc... please see: http://maven.apache.org/plugins/maven-checkstyle-plugin/plugin-info.html [EMAIL PROTECTED] wrote: > Thanks both. Is it possible to control the output (to direct the > report somewhere specific and also to only provide xml output). > > Also, is it possible to have the checkstyle entry inherit > downward (or does it have to be specifically included for each pom > where reporting is required) ? > > Thx > Andy > > -Original Message- > From: Janhavi Phirke [mailto:[EMAIL PROTECTED] > Sent: 19 June 2006 20:32 > To: Maven Users List > Subject: Re: Checkstyle plugin Maven 2 > > In the following code, tag is optional. If you want to > use your customized xml file, then u can specify it over there. > Otherwise, even if u don't specify that, it works fine. It takes the > default .xml file from checkstyle plugin from the local plugin > repository. > > On 6/20/06, Stefan Kleineikenscheidt <[EMAIL PROTECTED]> > wrote: > >> You set them in the pom.xml file. Should like that >> >> >> >> >> >> org.apache.maven.plugins >> maven-checkstyle-plugin >> 2.1 >> >> >> {$basedir}/src/main/config/checkstyle.xml >> >> >> >> >> >> >> >> Hth, >> -Stefan >> >> >> >> >> >> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> Sent: Monday, June 19, 2006 5:24 PM >> To: users@maven.apache.org >> Subject: Checkstyle plugin Maven 2 >> >> Does anyone know how the maven 2 checkstyle.properties are set ? >> In maven 1.x they were provided in a file checkstyle.properties Tx >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > 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] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Macker plugin maven 2
Thanks. Thought as much :-( Think I may have to have a go and write one myself. Though I am fairly new to maven 2 A -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: 20 June 2006 14:29 To: users@maven.apache.org Subject: Re: Macker plugin maven 2 since it's in maven-plugins/ and not org/apache/maven/plugins it's the maven 1 plugin and not the maven 2 plugin. [EMAIL PROTECTED] wrote: > Hi, > > Is there one ? On ibiblio there is reference 2 it in > > _http://www.ibiblio.org/maven2/maven-plugins/maven-macker-plugin/_ > > But I can't get it from a repository > > Cheers > Andy > > > -- > -- > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > > -- > -- > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Macker plugin maven 2
Title: Macker plugin maven 2 Hi, Is there one ? On ibiblio there is reference 2 it in http://www.ibiblio.org/maven2/maven-plugins/maven-macker-plugin/ But I can't get it from a repository Cheers Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Plugin configuration general question
Title: Plugin configuration general question Hi, In terms of plugin configuration, the surefire config at http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html Is quite useful. Where would the sma e exist for say checkstyle or anything else be found ? Thx in Advance Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Checkstyle plugin Maven 2
Thanks both. Is it possible to control the output (to direct the report somewhere specific and also to only provide xml output). Also, is it possible to have the checkstyle entry inherit downward (or does it have to be specifically included for each pom where reporting is required) ? Thx Andy -Original Message- From: Janhavi Phirke [mailto:[EMAIL PROTECTED] Sent: 19 June 2006 20:32 To: Maven Users List Subject: Re: Checkstyle plugin Maven 2 In the following code, tag is optional. If you want to use your customized xml file, then u can specify it over there. Otherwise, even if u don't specify that, it works fine. It takes the default .xml file from checkstyle plugin from the local plugin repository. On 6/20/06, Stefan Kleineikenscheidt <[EMAIL PROTECTED]> wrote: > > > You set them in the pom.xml file. Should like that > > > > > > org.apache.maven.plugins > maven-checkstyle-plugin > 2.1 > > > {$basedir}/src/main/config/checkstyle.xml > > > > > > > > Hth, > -Stefan > > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, June 19, 2006 5:24 PM > To: users@maven.apache.org > Subject: Checkstyle plugin Maven 2 > > Does anyone know how the maven 2 checkstyle.properties are set ? > In maven 1.x they were provided in a file checkstyle.properties Tx > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Maven 2.0.5
Thanks Carlos. Must be nice to work that way ;-) Just that 2157 is one that I am waiting on (having discovered it yesterday) Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: 19 June 2006 18:34 To: Maven Users List Subject: Re: Re: Maven 2.0.5 there is not. When a bunch of bugs are fixed we'll think about a new release. It's issues driven, not time. On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Pardon my stupidity but I can't see date for scheduled release though. > > Tx > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Checkstyle plugin Maven 2
Title: Checkstyle plugin Maven 2 Does anyone know how the maven 2 checkstyle.properties are set ? In maven 1.x they were provided in a file checkstyle.properties Tx Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: Maven 2.0.5
Pardon my stupidity but I can't see date for scheduled release though. Tx -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: 19 June 2006 15:38 To: users@maven.apache.org Subject: Re: Maven 2.0.5 They are using JIRA, which can display a road map. See project info > issue tracking on maven.apache.org. [EMAIL PROTECTED] wrote: > Hi, > > Does anyone have anyidea when 2.0.5 is due for release ? > Is there a release roadmap anywhere showing indicative dates for > future releases ? > > Thx > Andy > > > -- > -- > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > > -- > -- > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2.0.5
Title: Maven 2.0.5 Hi, Does anyone have anyidea when 2.0.5 is due for release ? Is there a release roadmap anywhere showing indicative dates for future releases ? Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Change versions
I personally have not used the project file for this - but my project has specifica requirements re UCM clearcase integration. Also I am new to this myself so kind of finding things out as I go -Original Message- From: Davies, Andrew-A Sent: 19 June 2006 12:56 To: 'Maven Users List' Subject: RE: Change versions Try using settings.xml your unique identifier 1.0 some-version-number Then in your pom.xml some-group ${some-version-number} some-artifact Alternatively, you could create a profiles.xml containign that profile. And the use mvn -P profilename Though there is a bug about inheritance of profiles due to e fixed in 2.0.5 so will need to be in all sub directories http://jira.codehaus.org/browse/MNG-2157 HTH Andy -Original Message- From: tulasi [mailto:[EMAIL PROTECTED] Sent: 19 June 2006 12:39 To: users@maven.apache.org Subject: Change versions Hi, My application containing parent directory and 5 sub modules. if change version of parent pom, should be change sub modules version How will i?. is any property need to set?. -- View this message in context: http://www.nabble.com/Change-versions-t1810848.html#a4934825 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Change versions
Try using settings.xml your unique identifier 1.0 some-version-number Then in your pom.xml some-group ${some-version-number} some-artifact Alternatively, you could create a profiles.xml containign that profile. And the use mvn -P profilename Though there is a bug about inheritance of profiles due to e fixed in 2.0.5 so will need to be in all sub directories http://jira.codehaus.org/browse/MNG-2157 HTH Andy -Original Message- From: tulasi [mailto:[EMAIL PROTECTED] Sent: 19 June 2006 12:39 To: users@maven.apache.org Subject: Change versions Hi, My application containing parent directory and 5 sub modules. if change version of parent pom, should be change sub modules version How will i?. is any property need to set?. -- View this message in context: http://www.nabble.com/Change-versions-t1810848.html#a4934825 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SOLVED mvn -P doesn't use profile
Title: SOLVED mvn -P doesn't use profile The profiles.xml file needs to be in every directory where there is output (e.g. war, jar, ear) Though this does seem a little bit of a waste of time considering that if you are building with a profile it would apply to ALL projects and hence IMHO should cascade from a root down. Or maybe I am missing something Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mvn -P doesn't use profile
Title: mvn -P doesn't use profile Hi, I have setup a profiles.xml file within my project root directory. When calling maven with -P switch, the properties set up don't seem to be used. Any ideas ? Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Including other xml files in Settings XML
Title: Including other xml files in Settings XML Hi has anyone tried / done this. My reasoning behind this is to get clearcase to then seed version numbers into a generated file which is included in settings for build purposes … This is in a generated file which is then included in settings.xml inject-rkyc-frmw-exception-version x.y x.y generated automatically from clearcase UCM branch information inject-rkyc-frmw-exception-version Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IBM WAS 6 M2 plugin
Cheers. Meant xmi sorry 4 confusion -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: 16 June 2006 15:15 To: Maven Users List Subject: RE: IBM WAS 6 M2 plugin The bnd files are generated by the developer and packaged in the ear/war. We have standard names for our websphere datasources, etc. I don't know what a wsi file is. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 16, 2006 9:07 AM > To: users@maven.apache.org > Subject: RE: IBM WAS 6 M2 plugin > > Thanks Mike. How do you get around bindingfile generation ? Do you > generate at deploy time automatically (wsi files, etc) ? > > > > -Original Message- > From: Mike Perham [mailto:[EMAIL PROTECTED] > Sent: 16 June 2006 14:48 > To: Maven Users List > Subject: RE: IBM WAS 6 M2 plugin > > We use Websphere Rapid Deploy. Just copy the generated EAR to the > Websphere Rapid Deploy directory. Works on both development machines > and automated test machines. > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 16, 2006 4:05 AM > > To: users@maven.apache.org > > Subject: IBM WAS 6 M2 plugin > > > > Hi, > > > > Does anyone know where I can get this (or if it even exists in the > > public domain) IBM must have written one for the RAD -> WAS 6 > > deployment / management > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > 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] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IBM WAS 6 M2 plugin
Thanks Mike. How do you get around bindingfile generation ? Do you generate at deploy time automatically (wsi files, etc) ? -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: 16 June 2006 14:48 To: Maven Users List Subject: RE: IBM WAS 6 M2 plugin We use Websphere Rapid Deploy. Just copy the generated EAR to the Websphere Rapid Deploy directory. Works on both development machines and automated test machines. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 16, 2006 4:05 AM > To: users@maven.apache.org > Subject: IBM WAS 6 M2 plugin > > Hi, > > Does anyone know where I can get this (or if it even exists in the > public domain) IBM must have written one for the RAD -> WAS 6 > deployment / management > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IBM WAS 6 M2 plugin
Hi, Does anyone know where I can get this (or if it even exists in the public domain) IBM must have written one for the RAD -> WAS 6 deployment / management Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cyclic references in M2 projects
I would strongly suggest refactoring as this is bad -Original Message- From: Lucas Opara [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 15:58 To: users@maven.apache.org Subject: Cyclic references in M2 projects Hello, I just migrated some of our J2EE projects to maven 2. Now I have the problem with dependencies, with Maven telling me that I have cyclic references between my projects. Is it possible to handle those cyclic references or do I have to do some refactoring? Eclipse just gives a warning when they are cyclic references, but it can still compile the code in the right order. Is Maven 2 capable of such a thing? Thanks, -Lucas Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: common jars between modules in EAR
I've managed to get something into the Manifest.mf Class-Path without it appearing in the WEB-INF/lib in M2 by placing the following in the war packaging pom ... com.ubs.datait.rkyc.cim.j2eeclient cim-j2eeclient ${rkyc-cim-version} compile cim-j2eeclient com.ubs.datait.rkyc.cim.j2eeclient true Along with your true HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 14:31 To: users@maven.apache.org Subject: RE: common jars between modules in EAR Well, yes by maven The ear and the war are set to generate a manifest: true after verification, the classpath of the war is empty... I think the reason is probably because the jar has being declared as 'provided' in the war. So the next question is how to declare this jar as dependency of the war and exclude it from the war in the same time. > -Original Message- > From: Jeff Jensen > Did you add the common jar to the manifest of the war? > > -Original Message- > From: Andre.Tran > I would like to build an ear with some war modules, and, of course, > its dependencies. > > For starting, the ear (simple_ear) has: > * an unique war (called simple_war) and > * a jar (that represents the common part in the future, called > common_jar. > So the structure is the following: > - pom.xml > - simple_ear > |- pom.xml > - simple_war > |- pom.xml > I declared in ear's pom: > * the webModule simple_war and > * the javaModule common_jar > They are also declared as dependencies. > In war's pom, the jar has being declared as provided dependency. > > I tested it on WAS 51. This does not worked. > The common_jar seemed to not be included in the classpath, even if I > removed the definition of defaultJavaBundleDir. > > To be sure that it is not the problem of declaration of the ear and > the war, I create a separate project where common parts are in every > war-s and the ear has only webmodule-s. In this case, it works. This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to make sure Foo.properties file copied to the same directory as Foo.class
Thanks Javed. Thought I might be missing something important as I have got 1 issue that I just can't solve and hence have resigned myself to "living with it" ! Building an enterprise distributed global app with multi site multi project dependencies. Integrating with Cruise Control, Clearcase UCM. Bit of a headache setting up M2 for that - especially as a newbie. Though the wealth of excellent documentation and exampels is coming to my rescue ;-) A -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: 14 June 2006 13:36 To: Maven Users List Subject: Re: how to make sure Foo.properties file copied to the same directory as Foo.class No normally specifying your properites or xml or other resources directly in the resources folder should have everything copied automatically but i had some cases where some files were not copied this is why i like to specify it in my POMs ;) cheers, Javed On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I didn't have to specify any explicit build includes (I presume that > because I followed standard dir structures it automatically got picked > up and included) > > Or is this bad form not to have explicit build directives regardless ? > - I am new to this myself. > > A > > -Original Message- > From: javed mandary [mailto:[EMAIL PROTECTED] > Sent: 14 June 2006 13:22 > To: Maven Users List > Subject: Re: how to make sure Foo.properties file copied to the same > directory as Foo.class > > Hi Kent, >thats pretty simple in your POM add the following > configuration: > > > > > src/main/java > > **/*.properties > > > > > > if as suggested by Andrew you place your properties file in resources > folder than your configuration would look like this: > > > > src/main/resources > > **/*.properties > > > > > > cheers, > Javed > > On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Why are you placing them in the same directory ? > > You should follow standard directory structure > > > > Src/main/java/ com/... For your java files and Src/main/resources/ > > com/... For your properties files > > > > -Original Message- > > From: Kent Tong [mailto:[EMAIL PROTECTED] > > Sent: 14 June 2006 02:31 > > To: users@maven.apache.org > > Subject: how to make sure Foo.properties file copied to the same > > directory as Foo.class > > > > Hi, > > > > My app contains a Foo.java file and a Foo.properties file in the > > same directory. I need to make sure the Foo.properties are "compiled" > > (copied) into the same directory as Foo.class, i.e., target/classes. > > How to do that? Thanks! > > > > -- > > Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT > > Dept, > > > CPTTM Authorized training for Borland, Cisco, Microsoft, Oracle, > > RedFlag & RedHat > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Visit our website at http://www.ubs.com > > > > This message contains confidential information and is intended only > > for the individual named. If you are not the named addressee you > > should not disseminate, distribute or copy this e-mail. Please > > notify > > > the sender immediately by e-mail if you have received this e-mail by > > mistake and delete this e-mail from your system. > > > > E-mail transmission cannot be guaranteed to be secure or error-free > > as > > > information could be intercepted, corrupted, lost, destroyed, arrive > > late or incomplete, or contain viruses. The sender therefore does > > not > > > accept liability for any errors or omissions in the contents of this > > message which arise as a result of e-mail transmission. If > > verification is required please request a hard-copy version. This > > message is provided for informational purposes and should not be > > construed as a solicitation or offer to buy or sell any securities > > or related financial instruments. > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > acc
RE: how to make sure Foo.properties file copied to the same directory as Foo.class
I didn't have to specify any explicit build includes (I presume that because I followed standard dir structures it automatically got picked up and included) Or is this bad form not to have explicit build directives regardless ? - I am new to this myself. A -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: 14 June 2006 13:22 To: Maven Users List Subject: Re: how to make sure Foo.properties file copied to the same directory as Foo.class Hi Kent, thats pretty simple in your POM add the following configuration: src/main/java **/*.properties if as suggested by Andrew you place your properties file in resources folder than your configuration would look like this: src/main/resources **/*.properties cheers, Javed On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Why are you placing them in the same directory ? > You should follow standard directory structure > > Src/main/java/ com/... For your java files and Src/main/resources/ > com/... For your properties files > > -Original Message- > From: Kent Tong [mailto:[EMAIL PROTECTED] > Sent: 14 June 2006 02:31 > To: users@maven.apache.org > Subject: how to make sure Foo.properties file copied to the same > directory as Foo.class > > Hi, > > My app contains a Foo.java file and a Foo.properties file in the same > directory. I need to make sure the Foo.properties are "compiled" > (copied) into the same directory as Foo.class, i.e., target/classes. > How to do that? Thanks! > > -- > Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT Dept, > CPTTM Authorized training for Borland, Cisco, Microsoft, Oracle, > RedFlag & RedHat > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to make sure Foo.properties file copied to the same directory as Foo.class
Hi, Why are you placing them in the same directory ? You should follow standard directory structure Src/main/java/ com/... For your java files and Src/main/resources/ com/... For your properties files -Original Message- From: Kent Tong [mailto:[EMAIL PROTECTED] Sent: 14 June 2006 02:31 To: users@maven.apache.org Subject: how to make sure Foo.properties file copied to the same directory as Foo.class Hi, My app contains a Foo.java file and a Foo.properties file in the same directory. I need to make sure the Foo.properties are "compiled" (copied) into the same directory as Foo.class, i.e., target/classes. How to do that? Thanks! -- Kent Tong, Msc, MCSE, SCJP, CCSA, Delphi Certified Manager of IT Dept, CPTTM Authorized training for Borland, Cisco, Microsoft, Oracle, RedFlag & RedHat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: War.bundle equivalent in maven 2
If I try that, I get compilation problems as I need some of the libraries at compilation time. My problem is that I need to make sure something ends up in WEB-INF/lib without being in the Class-Path of manifest.mf Have managed to do the other way in Class-Path but not in WEB-INF/lib with com.ubs.datait.rkyc.cim.busint cim-busint ${rkyc-version} compile cim-busint com.ubs.datait.rkyc.cim.busint true -Original Message- From: Ian Springer [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 14:54 To: Maven Users List Subject: RE: War.bundle equivalent in maven 2 In Maven 2, you create a separate pom of type war, and then all dependencies in that pom that are scoped at runtime (the default) are bundled in the war. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:30 AM To: users@maven.apache.org Subject: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x has now become in Maven 2 ? Thanks Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: dependentWarExcludes dependentWarIncludes maven-war-plugin
Thx. Does this work with a particular root directory in mind ? Can this be used instead of Maven 1.x ? A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 14:39 To: users@maven.apache.org Subject: RE: dependentWarExcludes dependentWarIncludes maven-war-plugin Hey Andrew, just add following in your configuration part of configuration (in build.maven-war-plugin) **/*.class,**/*.jar (or includes) regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsdag 13 juni 2006 15:31 To: users@maven.apache.org Subject: dependentWarExcludes dependentWarIncludes maven-war-plugin Hi, Can dependentWarExcludes be used to specfically exclude jars in a WEB-INF/lib directory ? Can dependentWarIncludes be used to specfically include jars in a WEB-INF/lib directory ? Are there any examples out there ? This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
dependentWarExcludes dependentWarIncludes maven-war-plugin
Title: dependentWarExcludes dependentWarIncludes maven-war-plugin Hi, Can dependentWarExcludes be used to specfically exclude jars in a WEB-INF/lib directory ? Can dependentWarIncludes be used to specfically include jars in a WEB-INF/lib directory ? Are there any examples out there ? Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
War.bundle equivalent in maven 2
Title: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x has now become in Maven 2 ? Thanks Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath
Title: Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the contents of WEB-INF/lib within the war Example project : - Ear file wrapping a jar, and a war file which in turn has a jar in it's WEB-INF/lib plus a manifest file class path referencing the jar held within ear file. This is useful for multiple war's in 1 ear. - -EAR - - - - frmw.jar - - - - ## - - # WebApp1 # - - # WEB-INF/lib # - - # x.jar # - - # # - - # # - - # Manifest.mf # - - # Class-Path: # - - # frmw.jar # - - ## - - - - Projects: - WebApp1 - frmw.jar - x.jar WebApp1 has dependency on frwm.jar and x.jar want to have frmw.jar appear as entry in Manifest.mf within war Class-Path: want to have x.jar appear in WEB-INF/lib but not as entry in manifest.mf Class-Path: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib
Title: M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the contents of WEB-INF/lib within the war Example project : - Ear file wrapping a jar, and a war file which in turn has a jar in it's WEB-INF/lib plus a manifest file class path referencing the jar held within ear file. This is useful for multiple war's in 1 ear. - -EAR - - - - frmw.jar - - - - ## - - # WebApp1 # - - # WEB-INF/lib # - - # x.jar # - - # # - - # # - - # Manifest.mf # - - # Class-Path: # - - # frmw.jar # - - ## - - - - Projects: - WebApp1 - frmw.jar - x.jar WebApp1 has dependency on frwm.jar and x.jar want to have frmw.jar appear as entry in Manifest.mf within war Class-Path: want to have x.jar appear in WEB-INF/lib but not as entry in manifest.mf Class-Path: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]