only notify user that checked in since last successful build
hi cruisecontrol could be configured to send e-mails about failed builds only to the users that checked in something since the last sucessful build. is it possible to acheive something like this using continuum? i have looked everwhere it seems. the getting started section or the faq of the continuum site does not mention anything about this sought after feature. mvh, markus
generate e-mailaddresses from SVN?
hi using cruisecontrol it was possible to generate the e-mailaddresses to which notifications on failed builds should be sent. that was typically done by combining the SVN username of the person that checking in something that did not compile, with a suffix, say @ourcompany.com. but i don't know how this is done in continuum? does anyone know if it is possible? mvh, markus
adding maven 2 projects
Hi there I'm trying to add a maven 2 project (with child modules) to continuum. The documentation says to provide a URL to the pom. I've tried to use the svn url to the pom, but it states that it is not a valid url, for example: http://server:8080/svn/trunk/pom.xml What type of URL does Continuum require? Kind Regards Oliver Loe
Re: classpath in jar manifest
On 5/11/06, George Zhao [EMAIL PROTECTED] wrote: We saw the same issue here (two Class-Path entries). But if we set addClasspath to false and put all the known classpath there, we can generate one Class-Path entry - not a pretty solution through. Anybody over there has other workaround for this issue(I believe it is a bug)? This appears to be fixed in the trunk of maven-jar-plugin. I'm not sure if the snapshot version has the fix in it. It wasn't until I installed a local build of the trunk that this problem went away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: incorrect war file structure
Jeff, You can try to do several workarounds. 1. Have resource folder (configurations) structure to be the same as you wish to be in the destination war file and put these resources not into war - configuration - webResources but into general build - resources part. During build these resources will be in the classpath and the war file will take them. 2. Have antrun plugin assigned for example to process-resources phase which will use copy ant task and copy all files you need. Best regards, Juri. -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 11:54 PM To: Maven Users List Subject: Re: incorrect war file structure On 8/13/06, Pete Marvin King [EMAIL PROTECTED] wrote: Hello Jeff, Sorry about that, can you try this 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunk plugins 2. cd plugins/maven-war-plugin 3. mvn install the steps above should do it. pete marvin Thanks Pete .Tried https://svn.apache.org/repos/asf/maven/plugins/trunk/plugins and that url seem not correct as I get the Bad URL passed to RA layer svn: URL ' https://svn.apache.org/repos/asf/maven/plugins/trunk/plugins; error. Couldn't you or someone build the 2.0.2-SNAPSHOT with the fix for altering the default path.That would be greatly appreciated. Thanks -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Profile NOT running
I have profile defined in POM.xml and I tried running mvn -P dev package or declaring activation tag in profile but profile never runs I still wonder is there a way to define this profile in profiles.xml and should works, since this change is for developmnt only and we don't want this feature in production profiles profile iddev/id build pluginManagement plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idclean/id phaseclean/phase configuration tasks delete dir=C:\bea\user_projects\domains\gpatwa_domain\autodeploy\vault/ /tasks /configuration goals goalrun/goal /goals /execution execution idpackage/id phasepackage/phase configuration tasks copy todir=C:\Apache_Software_Foundation\Tomcat_5.5\webapps\vault fileset dir=target/vault/ /copy /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /pluginManagement /build /profile /profiles Thanks Gopal -- View this message in context: http://www.nabble.com/Profile-NOT-running-tf2107699.html#a5809589 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Profile NOT running
After removing pluginManagement tag it worked but I still have some concerns I still wonder is there a way to define this profile in profiles.xml and should works, since this change is for developmnt only and we don't want this feature in production. I get compilation error when I define same profile content in profiles.xml OR Is there a better way to do this job, what my profile is doing it Thanks Gopal Error: Caused by: org.apache.maven.profiles.activation.ProfileActivationException: Cannot parse profiles.xml resource from directory: C:\gpatwa_perforce\gene va\keystone\vault-inventory\application at org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles(DefaultMavenProjectBuilder.java:1257) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:986) ... 17 more Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'build' (position: START_TAG seen .../id\r\n buil d... @8:20) at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfile(ProfilesXpp3Reader.java:620) at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.parseProfilesRoot(ProfilesXpp3Reader.java:664) at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(ProfilesXpp3Reader.java:1190) at org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader.read(ProfilesXpp3Reader.java:1201) at org.apache.maven.profiles.DefaultMavenProfilesBuilder.buildProfiles(DefaultMavenProfilesBuilder.java:74) at org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles(DefaultMavenProjectBuilder.java:1229) ... 18 more Gopal Patwa wrote: I have profile defined in POM.xml and I tried running mvn -P dev package or declaring activation tag in profile but profile never runs I still wonder is there a way to define this profile in profiles.xml and should works, since this change is for developmnt only and we don't want this feature in production profiles profile iddev/id build pluginManagement plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idclean/id phaseclean/phase configuration tasks delete dir=C:\bea\user_projects\domains\gpatwa_domain\autodeploy\vault/ /tasks /configuration goals goalrun/goal /goals /execution execution idpackage/id phasepackage/phase configuration tasks copy todir=C:\Apache_Software_Foundation\Tomcat_5.5\webapps\vault fileset dir=target/vault/ /copy /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /pluginManagement /build /profile /profiles Thanks Gopal -- View this message in context: http://www.nabble.com/Profile-NOT-running-tf2107699.html#a5809687 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: incorrect war file structure
On 8/15/06, Pete Marvin King [EMAIL PROTECTED] wrote: There's a space between trunk and plugins on the url, the last plugin is the destination directory 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunkspaceplugins 2. cd plugins/maven-war-plugin 3. mvn install I tried that also and got the BAD Url error message as well.I'm doing this from Eclipse , using the SVN plugin Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: incorrect war file structure
i see, then just use https://svn.apache.org/repos/asf/maven/plugins/trunk; Jeff Mutonho wrote: On 8/15/06, Pete Marvin King [EMAIL PROTECTED] wrote: There's a space between trunk and plugins on the url, the last plugin is the destination directory 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunkspaceplugins 2. cd plugins/maven-war-plugin 3. mvn install I tried that also and got the BAD Url error message as well.I'm doing this from Eclipse , using the SVN plugin Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: incorrect war file structure
On 8/15/06, Artamonov, Juri [EMAIL PROTECTED] wrote: Jeff, You can try to do several workarounds. 1. Have resource folder (configurations) structure to be the same as you wish to be in the destination war file and put these resources not into war - configuration - webResources but into general build - resources part. During build these resources will be in the classpath and the war file will take them. 2. Have antrun plugin assigned for example to process-resources phase which will use copy ant task and copy all files you need. Best regards, Juri. - I think I will go with 2 .I already have an ant script that's doing this. Thanks Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
hibernate hbm.xml file not found
Hi All, When I try to generate-sources for hibernate java files from xxx.hbm.xml from within maven using goalhbm2java/goal nothing is created. But, if I get (by hook or by crook) the xxx.hbm.xml file into target/classes then I am able to generate the java files. I believe this is because hibernate tool looks in hibernate classpath for the xxx.hbm.xml files. How do I include src/main/resources into the hibernate classpath or do I have to create an ant task to copy the xxx.hbm.xml file into target/classes in the generate-sources phase before executing hbm2java. Is there an alternate way or is this a bug ?? Could someone please point me in the right direction. Thanks Lakshman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: incorrect war file structure
On 8/15/06, Pete Marvin King [EMAIL PROTECTED] wrote: i see, then just use https://svn.apache.org/repos/asf/maven/plugins/trunk; :) , that back to where we started.The pom.xml sitting in the trunk folder has this : parent groupIdorg.apache.maven/groupId artifactIdmaven-parent/artifactId version4-SNAPSHOT/version relativePath../pom/maven/pom.xml/relativePath /parent and that's failing the build, with the error message : [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven ArtifactId: maven-parent Version: 4-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.maven:maven-parent:pom:4-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Pete, is it possible for you to build the 2.0.2-SNAPSHOT of the maven-war-plugin?In the mean time I'm going to use the antrun workaround suggested earlier by Juri -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
RE: Optional Goals Dependencies
However, now I only really need those goals to execute on the children. Is there a way to bind configure the goals in the parent but only have them execute in the children? The neatest way to do it would be to define a profile in the parent that switched off the goals you neded, and then override in the children to switch them back on selectively. I played with this a bit, but there are unfortunately still many issues outstanding (browse JIRA and you will see) to do with profile inheritance, and it didn't seem to work very well. I ended up with a solution that is quite particular to the problem we were discussing (installing third-party jars): I just use an antrun task to prepare the jar for installation, and use the available task in ant to decide whether the project has a jar to deploy. The parent projects do not, and the leafs gerenrall do. There are probably still other tricks you can play with local properties and profiles. -- View this message in context: http://www.nabble.com/Optional-Goals---Dependencies-tf2081628.html#a5810379 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
plugin executions ?
Hi All, Is there any way of specifying which execution to use when inheriting plugin executions form a parent pom. I have a department wide pom, which configures various plugins and executions for use across all our maven projects (just 1 at the moment, but will be about 15 soon). I need to be able to specify from the individual project pom which execution to use. For example i am using the exec-maven-plugin which is configured with 4 different executions, each with a unique id. I would like to be able to specify which of the 4 executions to use when using that plugin. Any ideas ? Thanks in advance Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Projectstructure
Hello Kai Uwe, my suggestion is a direcory structure of myApp |-- common |-- presentation |-- web In CVS only the module myApp was checked in. The whole project doesn't exists in the Eclipse workspace, In Eclipse I've created a new workspace and 3 new projects from the existing sources. The myApp contains no sources itself and (only the pom file) so I doesn't create an Eclipse project for it. Finally I had only one CVS module with all the sources and no duplications. ahh okay, hadn't known something about this option. To be sure, if we are takling about the same things, I have done following: - checked out my-app into the workspace - added common, presentation and web into eclipse as Projects (with existing project into workspace) Now I have no idea how to add the master POM.xml into my workspace. Could you give me an hint? The only redundancies I have in my project are the dependencies between the projects. This must be defined in the maven pom and the Eclipse project because of a bug or missing feature in the Eclipse plugin. I hope this lack will be fixed in the next version. BTW: The maven integration of Netbeans is much better if it could be an alternative for you. I thought about it, but we are using eclipse
Maven is lying to me!
Hi, I'm quite new to maven, and i'm having troubles with an intranet repository. I have a similar entry in my pom.xml distributionManagement repository idmavenrepo/id namemavenrepo/name urlfile:///server/dev/mavenrepo/url /repository /distributionManagement When I run mvn deploy, maven log shows that the artifact is installed locally AND at the configured intranet repository (it even shows the upload progress). But it's a lie!!! The artifact is not copied to \\server\dev\mavenrepo Any clue anyone? Kind Regards, Thiago Souza -- View this message in context: http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5812824 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Site:deploy execution
Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site:deploy execution
Sorry, as i'm new to maven, I have no idea... Why you replied my question with another question? This should be another post! Sebastien Pennec wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813014 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven is lying to me!
thiago wrote: Hi, I'm quite new to maven, and i'm having troubles with an intranet repository. I have a similar entry in my pom.xml distributionManagement repository idmavenrepo/id namemavenrepo/name urlfile:///server/dev/mavenrepo/url /repository /distributionManagement When I run mvn deploy, maven log shows that the artifact is installed locally AND at the configured intranet repository (it even shows the upload progress). But it's a lie!!! The artifact is not copied to \\server\dev\mavenrepo Any clue anyone? Kind Regards, Thiago Souza maybe it's not interpreting the location correctly and instead deploys to a local disk? try searching for the server/dev/mavenrepo on your local disk. No idea how to setup this url configuration. On linux the same url would definitely deploy to a local directory at /server/dev/mavenrepo Milos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site:deploy execution
Sebastien Pennec wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien check the command line options, one of them is to force maven not to process the project's modules during the build. I think it's -N but not completely sure. Milos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site:deploy execution
Actually, nabble connected the mails while I thought it would handle them as two threads. Sorry bout that... Sébastien thiago a écrit : Sorry, as i'm new to maven, I have no idea... Why you replied my question with another question? This should be another post! Sebastien Pennec wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site:deploy execution
Hello Milos, That's exactly what I wanted... although it's not really where I was looking for it :) Thanks, Sébastien Milos Kleint a écrit : Sebastien Pennec wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien check the command line options, one of them is to force maven not to process the project's modules during the build. I think it's -N but not completely sure. Milos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven is lying to me!
Milos Kleint-2 wrote: maybe it's not interpreting the location correctly and instead deploys to a local disk? try searching for the server/dev/mavenrepo on your local disk. No idea how to setup this url configuration. On linux the same url would definitely deploy to a local directory at /server/dev/mavenrepo Hi, Yeh, you're right, I checked my c:\ and I noticed the directory created there =) Ok, so how do I achieve this? How do I map a repository to a network share? Regards, Thiago Souza -- View this message in context: http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813159 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hibernate hbm.xml file not found
Hello Lakshman I think I answered this before in the following post: http://www.mail-archive.com/users@maven.apache.org/msg49367.html Regards Johann Reyes -Original Message- From: Lakshman Srilakshmanan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 3:48 AM To: Maven Users List Subject: hibernate hbm.xml file not found Hi All, When I try to generate-sources for hibernate java files from xxx.hbm.xml from within maven using goalhbm2java/goal nothing is created. But, if I get (by hook or by crook) the xxx.hbm.xml file into target/classes then I am able to generate the java files. I believe this is because hibernate tool looks in hibernate classpath for the xxx.hbm.xml files. How do I include src/main/resources into the hibernate classpath or do I have to create an ant task to copy the xxx.hbm.xml file into target/classes in the generate-sources phase before executing hbm2java. Is there an alternate way or is this a bug ?? Could someone please point me in the right direction. Thanks Lakshman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven is lying to me!
I was lied to also :-) The following worked for me on windows though. urlfile:///\\server\maven\repos\snapshot/url Regards, Arthur. thiago wrote: Milos Kleint-2 wrote: maybe it's not interpreting the location correctly and instead deploys to a local disk? try searching for the server/dev/mavenrepo on your local disk. No idea how to setup this url configuration. On linux the same url would definitely deploy to a local directory at /server/dev/mavenrepo Hi, Yeh, you're right, I checked my c:\ and I noticed the directory created there =) Ok, so how do I achieve this? How do I map a repository to a network share? Regards, Thiago Souza -- View this message in context: http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813558 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven is lying to me!
thiago wrote on Tuesday, August 15, 2006 2:27 PM: Milos Kleint-2 wrote: maybe it's not interpreting the location correctly and instead deploys to a local disk? try searching for the server/dev/mavenrepo on your local disk. No idea how to setup this url configuration. On linux the same url would definitely deploy to a local directory at /server/dev/mavenrepo Hi, Yeh, you're right, I checked my c:\ and I noticed the directory created there =) Ok, so how do I achieve this? How do I map a repository to a network share? Use a proper URL! file:// defines the file protocol file://localhost/ is the root adress on your local system file:/// is the short form of file://localhost/ file:/server/share/ addresses the share of server in a Windows network, which is a convenient form of file://localhost/\\server\share\, since the path from your local system to the server's share is \\server\share Got it? Any other mixture is a concession to user's habbits and may or may not be supported by the URL parser of your product/app/browser. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven is lying to me!
Thanks Jörg Schaible wrote: thiago wrote on Tuesday, August 15, 2006 2:27 PM: Milos Kleint-2 wrote: maybe it's not interpreting the location correctly and instead deploys to a local disk? try searching for the server/dev/mavenrepo on your local disk. No idea how to setup this url configuration. On linux the same url would definitely deploy to a local directory at /server/dev/mavenrepo Hi, Yeh, you're right, I checked my c:\ and I noticed the directory created there =) Ok, so how do I achieve this? How do I map a repository to a network share? Use a proper URL! file:// defines the file protocol file://localhost/ is the root adress on your local system file:/// is the short form of file://localhost/ file:/server/share/ addresses the share of server in a Windows network, which is a convenient form of file://localhost/\\server\share\, since the path from your local system to the server's share is \\server\share Got it? Any other mixture is a concession to user's habbits and may or may not be supported by the URL parser of your product/app/browser. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-is-lying-to-me%21-tf2108802.html#a5813804 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dependency scopes
Hello, I would like to ask a question regarding dependency scopes in Maven2. After reading the article Introduction to the Dependency Mechanism [1], I've got several questions that may have been answered previously. I apologize in advance if that is the case. The said article mentions the notion of runtime classpath. While I can see what compile and test classpaths mean, I fail to understand what a runtime classpath is, in particular how it differs from the test classpath. Moreover, the article defines provided scope as follows: provided - this is much like compile, but indicates you expect theJDK or a container to provide it. It is only available on the compilation classpath, and is not transitive. However, in a small project I've created to test dependency scopes, it seems that a dependency declared with the provided scope is available when compiling the source, compiling the test cases as well as when running them (the test cases). Thus, it looks like the provided scope is the same as the compile scope, except that the provided scope is not transitive. The difference between the runtime and test scopes is also not very clear to me. The small table which illustrates the effects of scopes on transitivity is not easy to grok. In particular, the explanation (quoted below) preceding the table does not define the direction of any of the dependencies. quote Each of the scopes affects transitive dependencies in different ways, as is demonstrated in the table below. If a dependency is set to the scope in the left column, dependencies with the scope across the top row will result in a dependency in the main project with the scope listed at the intersection. If no scope is listed, it means the dependency will be omitted. /quote Your enlightenment would be greatly appreciated, [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html DISCLAIMER This message is intended only for use by the person to whom it is addressed. It may contain information that is privileged and confidential. Its content does not constitute a formal commitment by Lombard Odier Darier Hentsch Group and any of its affiliates. If you are not the intended recipient of this message, kindly notify the sender immediately and destroy this message. Thank You. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Site:deploy execution
mvn -N site:deploy On 8/15/06, Sebastien Pennec [EMAIL PROTECTED] wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande propagated to sub-modules. Is there a way to prevent its execution? Thanks! Sébastien -- Sébastien Pennec [EMAIL PROTECTED] Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 : using assembly plugin to copy part of the repository
I have a pom.xml with various dependencies included in it. I want, in the output JAR file, to include a directory that contains a subsection of the repository from those dependencies. I can nearly get there, by using the assembly descriptor (at the end), but I have 2 problems 1) I want to use the directory the M2 repo would use - the example below is creating a directory com.cswgroup.kms.kes.config when I really want com/cswgroup/kms/kes/config - is there a way of getting at ${groupId} with / separators ? 2) I would like to include the .pom descriptors as well. Is there a way of specifying this with the assembly plugin, or should I look at rolling my own MOJO ? assembly iddirectory/id formats formatjar/format /formats dependencySets dependencySet includes includecom.cswgroup.kms.kes.config:config-kms/include /includes outputFileNameMapping${groupId}/${artifactId}/${version}/${artifactId}-${version}.${extension}/outputFileNameMapping outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly
Re: Dependency scopes
Runtime - contains things that you don't need at compile but you do need for your app to actually run. You might compile against JMS but require ActiveMQ at runtime (i.e. a JMS engine). Test - contains test specific classes. Junit, mocks, a lightweight database like HSQLDB, etc. [EMAIL PROTECTED] wrote on 08/15/2006 08:32:26 AM: Hello, I would like to ask a question regarding dependency scopes in Maven2. After reading the article Introduction to the Dependency Mechanism [1], I've got several questions that may have been answered previously. I apologize in advance if that is the case. The said article mentions the notion of runtime classpath. While I can see what compile and test classpaths mean, I fail to understand what a runtime classpath is, in particular how it differs from the test classpath. Moreover, the article defines provided scope as follows: provided - this is much like compile, but indicates you expect theJDK or a container to provide it. It is only available on the compilation classpath, and is not transitive. However, in a small project I've created to test dependency scopes, it seems that a dependency declared with the provided scope is available when compiling the source, compiling the test cases as well as when running them (the test cases). Thus, it looks like the provided scope is the same as the compile scope, except that the provided scope is not transitive. The difference between the runtime and test scopes is also not very clear to me. The small table which illustrates the effects of scopes on transitivity is not easy to grok. In particular, the explanation (quoted below) preceding the table does not define the direction of any of the dependencies. quote Each of the scopes affects transitive dependencies in different ways, as is demonstrated in the table below. If a dependency is set to the scope in the left column, dependencies with the scope across the top row will result in a dependency in the main project with the scope listed at the intersection. If no scope is listed, it means the dependency will be omitted. /quote Your enlightenment would be greatly appreciated, [1] http://maven.apache.org/guides/introduction/introduction-to- dependency-mechanism.html DISCLAIMER This message is intended only for use by the person to whom it is addressed. It may contain information that is privileged and confidential. Its content does not constitute a formal commitment by Lombard Odier Darier Hentsch Group and any of its affiliates. If you are not the intended recipient of this message, kindly notify the sender immediately and destroy this message. Thank You. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help building and deploying a war with JSTL in it
Hi, I have a web app built with Maven. I'm not the maven expert here, but he's out of the office for several days. He set things up to use multiple configurations. The local one I use for my own unit testing is doing fine but one for our main test server is not. When I try to run a war, I get a jasper exception from tomcat because the URI for jstl/core cannot be found. My repository has a JSTL directory, with both the jstl and jstl-standard jars in it. My project.xml has a dependency for jstl. The jstl jar, but NOT the jstl-standard jar shows up in the WEB-INF/lib directory after I build the war. What do I need to check or change to make this work? Thanks. Ken Kenneth D. Litwak Software Engineer III IMT Azusa Pacific University 901 E. Alosta Azusa, CA 91702 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Projectstructure
Hello, it's not required to put the subprojects in the directory of the root project. You can place them all in separate directories like Eclipse does and reference to it by relative path. I think you have a directory structure like wokspace |-- myApp |-- common ... so you have to create a pom.xml in myApp with ... modules module../common/module ... /modules ... I think this will solve your problem. If common, presentation and web are independent of myApp it could be a better solution to reference them as dependency and let maven do the rest Mit freundlichen Grüßen / Best Regards Kai Uwe Bachmann Am 15.08.2006 um 13:56 schrieb Kaiser, Hans: Hello Kai Uwe, my suggestion is a direcory structure of myApp |-- common |-- presentation |-- web In CVS only the module myApp was checked in. The whole project doesn't exists in the Eclipse workspace, In Eclipse I've created a new workspace and 3 new projects from the existing sources. The myApp contains no sources itself and (only the pom file) so I doesn't create an Eclipse project for it. Finally I had only one CVS module with all the sources and no duplications. ahh okay, hadn't known something about this option. To be sure, if we are takling about the same things, I have done following: - checked out my-app into the workspace - added common, presentation and web into eclipse as Projects (with existing project into workspace) Now I have no idea how to add the master POM.xml into my workspace. Could you give me an hint? The only redundancies I have in my project are the dependencies between the projects. This must be defined in the maven pom and the Eclipse project because of a bug or missing feature in the Eclipse plugin. I hope this lack will be fixed in the next version. BTW: The maven integration of Netbeans is much better if it could be an alternative for you. I thought about it, but we are using eclipse - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
using javadoc overview and maven plugin
Hello. I am calling the javadoc plugin from within a pom.xml file like so : build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration overviewc:\\working\\tuscany07252006\\java\\samples\\sdo\\src\\main\\java\\overview.html/overview /configuration /plugin /plugins /build I would like to specify a relative path to my project ( i.esrc\\main\java\\overview.html ) for the overview page. However, this does not seem to be working. How should I correctly specify an overview page when calling javadoc plugin from within a pom.xml ? thanks very much for the help, Robbie -- * * * Charlie * * * Check out some pics of little Charlie at http://www.flickr.com/photos/[EMAIL PROTECTED]/sets/ * * * Addresss * * * 1914 Overland Drive Chapel Hill NC 27517 * * * Number * * * 919-225-1553
Re: Descriptions of Stock Archetypes?
Oh, yeah, that is what I was looking for, thanks! Just seeing the directory structure is very helpful. Jamie On 8/2/06, franz see [EMAIL PROTECTED] wrote: Hi Jamie, You can try and check this out, http://people.apache.org/~oching/maven-archetype-plugin/ . This is a documentation of the maven-archetype-plugin, however, this has not yet been released. It is still being reviewed. But nonetheless, this might contain some information that you are looking for such as the list of available archetypes provided by Apache's Maven 2, and some examples as to how to use them. Furthermore, if you have some comments regarding the documentation, your inputs are more than welcomed ^_^ - Franz -- View this message in context: http://www.nabble.com/Descriptions-of-Stock-Archetypes--tf2040504.html#a5626094 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Projectstructure
Hello, it's not required to put the subprojects in the directory of the root project. You can place them all in separate directories like Eclipse does and reference to it by relative path. I think you have a directory structure like wokspace |-- myApp |-- common ... so you have to create a pom.xml in myApp with ... modules module../common/module ... /modules ... no project structure is workspace |-- my-app (is also the CVS-module) |-- presentation |-- common |-- web |-- pom.xml (the master pom) I think this will solve your problem. If common, presentation and web are independent of myApp it could be a better solution to reference them as dependency and let maven do the rest I will try the relative paths by adding the master pom to a subdir. Anyway, would be a possibility to setup an environment for eclipse, with the given structure?
Re: [m2] Configuring the scp executable
I apologize in advance for any animosity this post may generate. This is a subject that has come up time and time again on a number of mailing lists, and frankly it's getting annoying. First, Maven is not a Unix tool, not did it grow up in the Unix World. It is a Java tool, and has been since day one (as is its predecessor, Ant). This means that it will be run on a number of different operating systems, not just UNIX. What does this mean for processing files and paths? 1) Files can have spaces in the filename 2) The file seperation character depends on the underlying operating system 3) The path seperation character depends on the underlying operating system I would consider any code which fails to take into consideration these simple truths as defective. Forcing Windows users to mangle their filenames in order to satisfy UNIX-centric assumptions is not the answer. Fixing the code is. Thank you, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory DTS Distributed Server Services JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Andrew Kreps [EMAIL PROTECTED] il.comTo Maven Users List 08/14/2006 06:43 users@maven.apache.org PM cc Subject Please respond to Re: [m2] Configuring the scp Maven Usersexecutable List [EMAIL PROTECTED] he.org On 8/14/06, Daniel Serodio [EMAIL PROTECTED] wrote: Exit code 1 - 'c:\Program' is not recognized as a command, application or batch file. Have you tried the age old trick of changing long filenames to their short counterparts? C:\Program Files is usually also accessable by using C:\progra~1, which avoids the space character problem you appear to be having. Seeing as maven grew up in the Unix world, you may also want to try escaping the spaces (\ ) or using forward slashes instead of back slashes for the directories. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 and AspectJ issue
Hi, I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is working fine (classes are being woven correctly). But when surefire:test runs, the aspects codes are not being ran. Here's my current setup: plugin groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId executions execution goals goalcompile/goal /goals configuration source1.5/source aspectLibraries aspectLibrary groupIdcortex/groupId artifactId cortex-retriever-ops-base /artifactId /aspectLibrary /aspectLibraries /configuration /execution /executions /plugin Aspects are in this cortex-retriever-ops-base library. Any clue anyone? Kind Regards, Thiago Souza -- View this message in context: http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: adding maven 2 projects
supported url are http, https, ftp and file (if allowed in continuum conf file) Emmanuel Oliver a écrit : Hi there I'm trying to add a maven 2 project (with child modules) to continuum. The documentation says to provide a URL to the pom. I've tried to use the svn url to the pom, but it states that it is not a valid url, for example: http://server:8080/svn/trunk/pom.xml What type of URL does Continuum require? Kind Regards Oliver Loe
Re: profile activation deactivation
I am having the same problem. Initially I put the profile combinations into a 'master-pom' but want to move this definition to the global settings to eliminate a site-specific pom. The activeByDefault does work at the pom/master-pom level, but I can't make it work at the settings.xml or profiles.xml level. Any new information? Jim Adam Hardy-4 wrote: I have the following profiles [1] in my settings.xml, in order that the 'developer' profile will filter out the integration tests via a profile section in one project's pom, while the normal profile (for continuous integration on another machine without my settings.xml) will not see the filter and will therefore run them. However occasionally I do want to run the integration tests but I can't deactivate my 'developer' profile. Yet from the mailing archives [2] I understand that the activeByDefault profile should automatically DE-activate when I execute: mvn -Pnormal test Yet this doesn't happen. Is my understanding incorrect? [1] profiles profile iddeveloper/id activationactiveByDefaulttrue/activeByDefault/activation repositories ... etc /profile profile idnormal/id repositories etc /profile /profiles [2] http://marc.theaimsgroup.com/?l=turbine-maven-userm=114014964303554w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/profile-activation---deactivation-tf2050383.html#a5820137 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: only notify user that checked in since last successful build
This feature isn't available yet. It will a feature of continuum 1.1 Emmanuel [EMAIL PROTECTED] a écrit : hi cruisecontrol could be configured to send e-mails about failed builds only to the users that checked in something since the last sucessful build. is it possible to acheive something like this using continuum? i have looked everwhere it seems. the getting started section or the faq of the continuum site does not mention anything about this sought after feature. mvh, markus
Re: generate e-mailaddresses from SVN?
Actually, continuum can send mail only to notifiers defined on the project. In 1.1, you can choose if you want to use the actual mode or send mail to latest committers Emmanuel [EMAIL PROTECTED] a écrit : hi using cruisecontrol it was possible to generate the e-mailaddresses to which notifications on failed builds should be sent. that was typically done by combining the SVN username of the person that checking in something that did not compile, with a suffix, say @ourcompany.com. but i don't know how this is done in continuum? does anyone know if it is possible? mvh, markus
Creating UCM view from continuum?
How do we create ucm view using continuum ??? i was able to create a maven 2 project thru continuum from clearcase, but when i tried to do rebase on that stream, i'm getting error its like View is not UCM View Any one has any idea on this , please Thanks, Raghurajan Gurunathan - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
[m2] mvn for midlets
I want to build midlets using maven2. I cannot get the correct dependencies for the Wireless Toolkit jars to be seen by the compiler. Can anyone point me at a real pom for building a midlet? I've googled for hours to no avail. Many thanks, Benedict
Re: adding maven 2 projects
I was having trouble configuring a maven 2 project in continuum because I thought that you should be able to configure it similarly to an ant project. There I could tell continuum the location of the build.xml in the scm. But with maven 2 I was only able to configure a project by copying the current pom.xml to the file system and referencing it there. I used the http protocol. After the project was configured it seemed to know about the scm configuration and then seemed to pick-up new versions of the pom.xml from the scm. Gail Oliver wrote: Hi there I'm trying to add a maven 2 project (with child modules) to continuum. The documentation says to provide a URL to the pom. I've tried to use the svn url to the pom, but it states that it is not a valid url, for example: http://server:8080/svn/trunk/pom.xml What type of URL does Continuum require? Kind Regards Oliver Loe
Re: M2 and AspectJ issue
Working for me just like that. Try running w/ -X for debug output and look for anything odd. Also, you can check target/classesbuilddef.lst and target/test-classesbuilddef.lst and verify the -aspectpath has your jar on it. On 8/15/06, thiago [EMAIL PROTECTED] wrote: Hi, I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is working fine (classes are being woven correctly). But when surefire:test runs, the aspects codes are not being ran. Here's my current setup: plugin groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId executions execution goals goalcompile/goal /goals configuration source1.5/source aspectLibraries aspectLibrary groupIdcortex/groupId artifactId cortex-retriever-ops-base /artifactId /aspectLibrary /aspectLibraries /configuration /execution /executions /plugin Aspects are in this cortex-retriever-ops-base library. Any clue anyone? Kind Regards, Thiago Souza -- View this message in context: http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build can't get Heap Space
Running a build it gets nowhere and gives me a message: Error occurred during initialization of VM Could not reserve enough space for object heap VM, I assume is Virtual Machine Can anyone help me with this one? Wayne Naccari (205) 437-6464 - This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system.
Re: [m2] mvn for midlets
Hello Benedict, wanted to do same... after googling found this link http://mojo.codehaus.org/j2me-maven-plugin/howto.html HTH marco On 8/15/06, Benedict Heal [EMAIL PROTECTED] wrote: I want to build midlets using maven2. I cannot get the correct dependencies for the Wireless Toolkit jars to be seen by the compiler. Can anyone point me at a real pom for building a midlet? I've googled for hours to no avail. Many thanks, Benedict
Graphical View of Dependencies
Is there a good graphic tool to visualize jar dependencies? Pin Koh *** Confidentiality Notice *** This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information. This information is intended solely for use by the individual or entity to whom it is addressed. If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.
Re: [m2] Configuring the scp executable
[EMAIL PROTECTED] wrote: I apologize in advance for any animosity this post may generate. This is a subject that has come up time and time again on a number of mailing lists, and frankly it's getting annoying. First, Maven is not a Unix tool, not did it grow up in the Unix World. It is a Java tool, and has been since day one (as is its predecessor, Ant). This means that it will be run on a number of different operating systems, not just UNIX. What does this mean for processing files and paths? 1) Files can have spaces in the filename 2) The file seperation character depends on the underlying operating system 3) The path seperation character depends on the underlying operating system I would consider any code which fails to take into consideration these simple truths as defective. Forcing Windows users to mangle their filenames in order to satisfy UNIX-centric assumptions is not the answer. Fixing the code is. While I do come from a Unix World (Linux, actually), and really dislike Windows, I whole-heartedly agree with you. Even more when you consider that Unix filenames _can_ contain spaces, and that mangling the filenames didn't work. Thank you, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory DTS Distributed Server Services JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Andrew Kreps [EMAIL PROTECTED] il.comTo Maven Users List 08/14/2006 06:43 users@maven.apache.org PM cc Subject Please respond to Re: [m2] Configuring the scp Maven Usersexecutable List [EMAIL PROTECTED] he.org On 8/14/06, Daniel Serodio [EMAIL PROTECTED] wrote: Exit code 1 - 'c:\Program' is not recognized as a command, application or batch file. Have you tried the age old trick of changing long filenames to their short counterparts? C:\Program Files is usually also accessable by using C:\progra~1, which avoids the space character problem you appear to be having. Seeing as maven grew up in the Unix world, you may also want to try escaping the spaces (\ ) or using forward slashes instead of back slashes for the directories. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
aspectj-maven-plugin verbosity
I've noticed the M2 version of the aspectj plugin is a lot louder than the M1 one. It lists every file as it compiles regardless if verbose is set or not. The major difference I see is that M2 uses ajc's bridge classes while M1 uses the iajc ant task. Is there a way to get M2's aspectj plugin to be a bit quieter? Not a huge deal of course, it seems ajc likes to talk. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: adding maven 2 projects - invalid url
I am having a similar problem, but need to specify the url, as i have couple of modules specified in the top level pom. http://code.sharefare.com/trunk/pom.xml - this is the url am giiving, which is working fine from any browser, but continum says it's invalid URL any input -- View this message in context: http://www.nabble.com/adding-maven-2-projects-tf2108593.html#a5822632 Sent from the Continuum - Users forum at Nabble.com.
[m2] Debugging ScpExternalWagon: fireSessionDebug ?
I'm trying to understand what's happening inside ScpExternalWagon. Looking at its source code, I noticed a bunch of calls to fireSessionDebug (eg, ``fireSessionDebug( *Executing command: * + cl.toString() ); ´´), but even when I run Maven with -X, no Executing command is output. How can I see the output of fireSessionDebug? Thanks in advance, Daniel Serodio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] Best way to sftp a file?
Hi, what is the best way to simply FTP an artifact to a server in a specified dir? Cargo is for containers, so I think that's not it. Wagon seems the likely answer, but the pages are broken so I can't read about it (http://maven.apache.org/wagon/ clicked from the links on the Maven main page; please fix!! :-). Is Wagon the right answer? Artifact deploy always creates the pom/jar/war/ear dir structure, so that doesn't work. Other ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jar Dependency Graphical View
Is there a good tool to generate dependency graph and view it graphically? I am sure this question has been asked. Pardon me. If there is a good way to search through the archive, do let me know. Thanks Pin Koh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] Best way to sftp a file?
Yes you can use Wagon to do it. i don't know why the site is broken :-( You can have a look a the artifact plugin in m1 to see how to use it. Arnaud On 8/16/06, Jeff Jensen [EMAIL PROTECTED] wrote: Hi, what is the best way to simply FTP an artifact to a server in a specified dir? Cargo is for containers, so I think that's not it. Wagon seems the likely answer, but the pages are broken so I can't read about it (http://maven.apache.org/wagon/ clicked from the links on the Maven main page; please fix!! :-). Is Wagon the right answer? Artifact deploy always creates the pom/jar/war/ear dir structure, so that doesn't work. Other ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Packaging my tld file
Where do I need to put my tld file to get it packaged in my jar? This is the jar that defines the tag classes, rather than the web app that uses them, so I believe that it needs to go into the META-INF in the jar file... Thanks, Alex
Re: [m1] Best way to sftp a file?
Thanks Arnaud. I have the ear:deploy goal working using Artifact. By your comment I infer the config is the same for Wagon as Artifact. How to I run Wagon/what are the goals? Quoting Arnaud HERITIER [EMAIL PROTECTED]: Yes you can use Wagon to do it. i don't know why the site is broken :-( You can have a look a the artifact plugin in m1 to see how to use it. Arnaud On 8/16/06, Jeff Jensen [EMAIL PROTECTED] wrote: Hi, what is the best way to simply FTP an artifact to a server in a specified dir? Cargo is for containers, so I think that's not it. Wagon seems the likely answer, but the pages are broken so I can't read about it (http://maven.apache.org/wagon/ clicked from the links on the Maven main page; please fix!! :-). Is Wagon the right answer? Artifact deploy always creates the pom/jar/war/ear dir structure, so that doesn't work. Other ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help building and deploying a war with JSTL in it
Hi Ken, I have the following dependency im my pom... dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version scopecompile/scope typetld/type /dependency And i add the following to my jsp pages... %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Maven takes care of the rest form me. In the war file under WEB-INF i have a tdl directory that has the c-1.1.2.tld file in it. Maybe supply your pom and I might beable to help you further. Ben On 8/15/06, Kenneth Litwak [EMAIL PROTECTED] wrote: Hi, I have a web app built with Maven. I'm not the maven expert here, but he's out of the office for several days. He set things up to use multiple configurations. The local one I use for my own unit testing is doing fine but one for our main test server is not. When I try to run a war, I get a jasper exception from tomcat because the URI for jstl/core cannot be found. My repository has a JSTL directory, with both the jstl and jstl-standard jars in it. My project.xml has a dependency for jstl. The jstl jar, but NOT the jstl-standard jar shows up in the WEB-INF/lib directory after I build the war. What do I need to check or change to make this work? Thanks. Ken Kenneth D. Litwak Software Engineer III IMT Azusa Pacific University 901 E. Alosta Azusa, CA 91702 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] Best way to sftp a file?
In all deploy/install goals (jar, ear, war, ...) we use artifact tags defined in the plugin. https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/artifact/plugin.jelly These tags use directly wagon to deploy the artifact and the pom : https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java Arnaud On 8/16/06, Jeff Jensen [EMAIL PROTECTED] wrote: Thanks Arnaud. I have the ear:deploy goal working using Artifact. By your comment I infer the config is the same for Wagon as Artifact. How to I run Wagon/what are the goals? Quoting Arnaud HERITIER [EMAIL PROTECTED]: Yes you can use Wagon to do it. i don't know why the site is broken :-( You can have a look a the artifact plugin in m1 to see how to use it. Arnaud On 8/16/06, Jeff Jensen [EMAIL PROTECTED] wrote: Hi, what is the best way to simply FTP an artifact to a server in a specified dir? Cargo is for containers, so I think that's not it. Wagon seems the likely answer, but the pages are broken so I can't read about it (http://maven.apache.org/wagon/ clicked from the links on the Maven main page; please fix!! :-). Is Wagon the right answer? Artifact deploy always creates the pom/jar/war/ear dir structure, so that doesn't work. Other ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding hibernate generated resources to JAR?
Dear Sean, Would generating these HIBERNATE XDOCLET into src/main/ressources would be an option? Worked perfect for me. Thierry Le 20 juin 06 à 19:55, Sean McNamara a écrit : Thanks Mike. I didn't realize we were setting the output path for the generated hibernate files since /target/resources seemed like it could be a reasonable default. Changed that to create them in /target/classes, and the jar looks good. Does that mean there isn't a standard area for generated resources under /target, and that generated files should always be created in the classes dir? Thanks again. - Original Message From: Mike Perham [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Tuesday, June 20, 2006 12:36:58 PM Subject: RE: Adding hibernate generated resources to JAR? We just output to target/classes: build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdxdoclet-maven-plugin/artifactId executions execution phasetest-compile/phase goals goalxdoclet/goal /goals configuration tasks hibernatedoclet destdir=${project.build.outputDirectory} excludedtags=@version,@author,@todo,@see,@desc verbose=true fileset dir=${project.build.sourceDirectory} include name=**/domain/*.java / /fileset hibernate version=3.0 destdir=${project.build.outputDirectory} / /hibernatedoclet /tasks /configuration /execution /executions /plugin /plugins /build -Original Message- From: Sean McNamara [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 11:54 AM To: users@maven.apache.org Subject: Adding hibernate generated resources to JAR? Can someone point me in the right direction here: I'm building a jar that makes use of hibernate. The hibernate class descriptors are created in /target/resources, but are not included in the jar. I'm guessing I need to add a configuration for the maven-resources-plugin to add /target/resources as a resource patch, but I'm not finding the docs for that plugin (they appear to be empty on the maven plugins doc site.) Any tips appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 and AspectJ issue
Hi, Everything is doing fine. No weird behavior with -X enabled, -aspectpath contains the jar with the aspects, this last one is compiled with the aspectj plugin too and aspectjrt.jar is in classpath always. It's just that when surefire:test is ran the aspects codes are completely ignored. I can assure that aspects are being applied cause when showWeaveInfo is enabled the aj compiler says so. I can also see the generated code using that eclipse class viewer when no source is attached. Any clue? (getting a little bit desperate here =) ) Kind Regards, Thiago Souza Nick Veys wrote: Working for me just like that. Try running w/ -X for debug output and look for anything odd. Also, you can check target/classesbuilddef.lst and target/test-classesbuilddef.lst and verify the -aspectpath has your jar on it. On 8/15/06, thiago [EMAIL PROTECTED] wrote: Hi, I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is working fine (classes are being woven correctly). But when surefire:test runs, the aspects codes are not being ran. Here's my current setup: plugin groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId executions execution goals goalcompile/goal /goals configuration source1.5/source aspectLibraries aspectLibrary groupIdcortex/groupId artifactId cortex-retriever-ops-base /artifactId /aspectLibrary /aspectLibraries /configuration /execution /executions /plugin Aspects are in this cortex-retriever-ops-base library. Any clue anyone? Kind Regards, Thiago Souza -- View this message in context: http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5823316 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jar Dependency Graphical View
On 8/15/06, Pin Ngee Koh [EMAIL PROTECTED] wrote: Is there a good tool to generate dependency graph and view it graphically? The Dependencies report gives you a tree view of all dependencies of a project, it's not an image but it is a dep graph. I am sure this question has been asked. Pardon me. If there is a good way to search through the archive, do let me know. Thanks http://www.nabble.com/Maven---Users-f178.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse
When using eclipse for multi-module projects: If I am working on 2 modules at the same time, is there anyway to have eclipse resolve dependencies without having to install them to the maven repository? When using the m2 plugin, is there an easy way to add a local dependency/parent/or submodule? When using the m2 plugin, do I have to configure all the goals I need to run per module? Since the basedir has to be set it seems like you have to configure all your modules and all the goals you want to run. __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext. 3309 Dial Toll Free: 800-415-5946 Mobile Phone: 512-293-7279 Fax: 512-329-0086 [EMAIL PROTECTED] www.epsiia.com http://www.epsiia.com/ __
Graphical View of Dependencies
Is there a good graphic tool to visualize jar dependencies? Pin Koh *** Confidentiality Notice *** This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information. This information is intended solely for use by the individual or entity to whom it is addressed. If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments.
Re: [m2] Configuring the scp executable
[EMAIL PROTECTED] wrote: I apologize in advance for any animosity this post may generate. This is a subject that has come up time and time again on a number of mailing lists, and frankly it's getting annoying. First, Maven is not a Unix tool, not did it grow up in the Unix World. It is a Java tool, and has been since day one (as is its predecessor, Ant). This means that it will be run on a number of different operating systems, not just UNIX. What does this mean for processing files and paths? 1) Files can have spaces in the filename 2) The file seperation character depends on the underlying operating system 3) The path seperation character depends on the underlying operating system I would consider any code which fails to take into consideration these simple truths as defective. Forcing Windows users to mangle their filenames in order to satisfy UNIX-centric assumptions is not the answer. Fixing the code is. While I do come from a Unix World (Linux, actually), and really dislike Windows, I whole-heartedly agree with you. Even more when you consider that Unix filenames _can_ contain spaces, and that mangling the filenames didn't work. Thank you, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory DTS Distributed Server Services JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Andrew Kreps [EMAIL PROTECTED] il.comTo Maven Users List 08/14/2006 06:43 users@maven.apache.org PM cc Subject Please respond to Re: [m2] Configuring the scp Maven Usersexecutable List [EMAIL PROTECTED] he.org On 8/14/06, Daniel Serodio [EMAIL PROTECTED] wrote: Exit code 1 - 'c:\Program' is not recognized as a command, application or batch file. Have you tried the age old trick of changing long filenames to their short counterparts? C:\Program Files is usually also accessable by using C:\progra~1, which avoids the space character problem you appear to be having. Seeing as maven grew up in the Unix world, you may also want to try escaping the spaces (\ ) or using forward slashes instead of back slashes for the directories. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse part 2
I'm also having weird compile issues. If I run the m2 plugin with the compile goal everything works fine. But the eclipse auto builder complains about a class from my other module that I am depend on. The strange thing is that even though it shows up in the errors, the class still seems to get built and appears in the target directory. -Original Message- From: Douglas Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 5:47 PM To: 'Maven Users List' Subject: eclipse When using eclipse for multi-module projects: If I am working on 2 modules at the same time, is there anyway to have eclipse resolve dependencies without having to install them to the maven repository? When using the m2 plugin, is there an easy way to add a local dependency/parent/or submodule? When using the m2 plugin, do I have to configure all the goals I need to run per module? Since the basedir has to be set it seems like you have to configure all your modules and all the goals you want to run. __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext. 3309 Dial Toll Free: 800-415-5946 Mobile Phone: 512-293-7279 Fax: 512-329-0086 [EMAIL PROTECTED] www.epsiia.com http://www.epsiia.com/ __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Projectstructure
Kaiser, Hans wrote: workspace |-- my-app (is also the CVS-module) |-- presentation |-- common |-- web |-- pom.xml (the master pom) Eclipse does not support nested projects, so that structure won't work (or at least won't work well in an Eclipse-friendly way). It is best to have a separate Eclipse project for each module. And by best, I mean it is the only sane choice, even though this Eclipse limitation drives me mad. :-) To be able to edit the top-level pom.xml, you must move it into another peer module. Let's call it master. You will need to adjust the paths to the modules in the master pom. presentation will change to ../presentation, etc. my-app |-- presentation |-- common |-- web |-- master (the master pom.xml is in this directory) Then setup an Eclipse workspace, and checkout the presentation, common, web, and master modules as Eclipse projects. Done. Personally, I prefer to checkout the project from the root (my-app) outside of Eclipse, and create an Eclipse workspace that DOES NOT overlap my project working directories. Then I create a new Eclipse project for each module by pointing Eclipse to the existing directories in the my-app working directory tree. I use a bunch of different tools when working on projects, so I don't want the working files to be owned by Eclipse (and stashed away in a workspace somewhere). This arrangement also allows you to commit changes to more than one module in the same transaction, though you have to use something other than Eclipse to do the commit. And you could even keep the pom.xml file at the top level and avoid creating the master directory -- however, in doing so you lose the ability to edit the pom.xml in Eclipse, so I still use the master directory technique anyway. -Max - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Graphical View of Dependencies
You might check out http://www.artima.com/forums/flat.jsp?forum=106thread=155342 and (a thread about JarAnalyzer) and see if that will do what you're looking for. -joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Koh, Pin (STL) Sent: Tuesday, August 15, 2006 2:20 PM To: users@maven.apache.org Subject: Graphical View of Dependencies Is there a good graphic tool to visualize jar dependencies? Pin Koh *** Confidentiality Notice *** This email, its electronic document attachments, and the contents of its website linkages may contain confidential health information. This information is intended solely for use by the individual or entity to whom it is addressed. If you have received this information in error, please notify the sender immediately and arrange for the prompt destruction of the material and any accompanying attachments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 : using assembly plugin to copy part of the repository
1) I want to use the directory the M2 repo would use - the example below is creating a directory com.cswgroup.kms.kes.config when I really want com/cswgroup/kms/kes/config - is there a way of getting at ${groupId} with / separators ? Can't help you on this one. Also can't really see the reason for it... 2) I would like to include the .pom descriptors as well. Is there a way of specifying this with the assembly plugin, or should I look at rolling my own MOJO ? All jar files include the pom in the META-INF/maven folder structure. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help building and deploying a war with JSTL in it
Hi Ben, Thanks for your suggestions. Here's my file. I'm not familiar with the term POM that everyone else seems to be using but this is the xml file with dependencies in it. Thanks. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, August 15, 2006 3:23 PM To: Maven Users List Subject: Re: Help building and deploying a war with JSTL in it Hi Ken, I have the following dependency im my pom... dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version scopecompile/scope typetld/type /dependency And i add the following to my jsp pages... %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Maven takes care of the rest form me. In the war file under WEB-INF i have a tdl directory that has the c-1.1.2.tld file in it. Maybe supply your pom and I might beable to help you further. Ben On 8/15/06, Kenneth Litwak [EMAIL PROTECTED] wrote: Hi, I have a web app built with Maven. I'm not the maven expert here, but he's out of the office for several days. He set things up to use multiple configurations. The local one I use for my own unit testing is doing fine but one for our main test server is not. When I try to run a war, I get a jasper exception from tomcat because the URI for jstl/core cannot be found. My repository has a JSTL directory, with both the jstl and jstl-standard jars in it. My project.xml has a dependency for jstl. The jstl jar, but NOT the jstl-standard jar shows up in the WEB-INF/lib directory after I build the war. What do I need to check or change to make this work? Thanks. Ken Kenneth D. Litwak Software Engineer III IMT Azusa Pacific University 901 E. Alosta Azusa, CA 91702 - 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] ?xml version=1.0 encoding=UTF-8? project !-- the version of maven's project object model -- pomVersion3/pomVersion !-- project id, name and version -- idstudent-schedule/id nameGraduate Student Schedule/name packagestudentSchedule/package currentVersion0.1/currentVersion !-- project details -- organization nameAzusa Pacific University/name url/url logo/logo /organization shortDescription Project Description /shortDescription description This is the Project Description /description !-- project info, docs, and source -- urlhttp://devel.apu.edu/StudentSchedule//url issueTrackingUrlhttps://devel.apu.edu:8000/jira//issueTrackingUrl siteAddressdevel.apu.edu/siteAddress !-- any mailing lists for the project -- mailingLists/ !-- who the developers are for the project -- developers/ !-- jar files the project is dependent on -- dependencies dependency idjunit/id version3.8.1/version /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.8/version properties war.bundletrue/war.bundle /properties /dependency dependency idservletapi/id version2.3/version /dependency dependency idcasclient/id version2.0.10/version properties war.bundletrue/war.bundle /properties /dependency !-- APU DB -- dependency idapu-db/id version0.2/version properties war.bundletrue/war.bundle /properties /dependency dependency groupIdcommons-dbcp/groupId artifactIdcommons-dbcp/artifactId version1.2.1/version properties /properties /dependency dependency groupIdcommons-pool/groupId artifactIdcommons-pool/artifactId version1.2/version properties /properties /dependency dependency idifxjdbc/id version2.21.JC4/version properties war.bundletrue/war.bundle /properties /dependency dependency groupIdpostgresql/groupId artifactIdpostgresql/artifactId version7.4-jdbc3/version properties war.bundletrue/war.bundle /properties /dependency !-- APU UTIL -- dependency idapu-util/id versionlatest/version properties war.bundletrue/war.bundle /properties /dependency dependency idjldap/id version2004.05.18/version properties war.bundletrue/war.bundle /properties /dependency !-- APU UTIL -- !-- Begin APU Registration dependencies -- dependency idapu-registration/id version2.1/version properties war.bundletrue/war.bundle /properties /dependency
RE: Help building and deploying a war with JSTL in it
Oops. Sorry for sending a file to the list. Ken -Original Message- From: Kenneth Litwak [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 4:47 PM To: Maven Users List Subject: RE: Help building and deploying a war with JSTL in it Hi Ben, Thanks for your suggestions. Here's my file. I'm not familiar with the term POM that everyone else seems to be using but this is the xml file with dependencies in it. Thanks. Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, August 15, 2006 3:23 PM To: Maven Users List Subject: Re: Help building and deploying a war with JSTL in it Hi Ken, I have the following dependency im my pom... dependency groupIdtaglibs/groupId artifactIdc/artifactId version1.1.2/version scopecompile/scope typetld/type /dependency And i add the following to my jsp pages... %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % Maven takes care of the rest form me. In the war file under WEB-INF i have a tdl directory that has the c-1.1.2.tld file in it. Maybe supply your pom and I might beable to help you further. Ben On 8/15/06, Kenneth Litwak [EMAIL PROTECTED] wrote: Hi, I have a web app built with Maven. I'm not the maven expert here, but he's out of the office for several days. He set things up to use multiple configurations. The local one I use for my own unit testing is doing fine but one for our main test server is not. When I try to run a war, I get a jasper exception from tomcat because the URI for jstl/core cannot be found. My repository has a JSTL directory, with both the jstl and jstl-standard jars in it. My project.xml has a dependency for jstl. The jstl jar, but NOT the jstl-standard jar shows up in the WEB-INF/lib directory after I build the war. What do I need to check or change to make this work? Thanks. Ken Kenneth D. Litwak Software Engineer III IMT Azusa Pacific University 901 E. Alosta Azusa, CA 91702 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: eclipse
If you run 'mvn eclipse:eclipse' from the top level of your project (as opposed to running it individually for each module), the maven eclipse plugin will create project dependencies rather than dependencies on the jar files in the repository. I would start by checking to see if you currently have project dependencies or if you have dependencies on jars. -Max Douglas Ferguson wrote: When using eclipse for multi-module projects: If I am working on 2 modules at the same time, is there anyway to have eclipse resolve dependencies without having to install them to the maven repository? When using the m2 plugin, is there an easy way to add a local dependency/parent/or submodule? When using the m2 plugin, do I have to configure all the goals I need to run per module? Since the basedir has to be set it seems like you have to configure all your modules and all the goals you want to run. __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext. 3309 Dial Toll Free: 800-415-5946 Mobile Phone: 512-293-7279 Fax: 512-329-0086 [EMAIL PROTECTED] www.epsiia.com http://www.epsiia.com/ __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] eclipse:eclipse and eclipse 3.2 projects within a project support.
With Eclipse 3.2 I was lead to believe you could create projects within projects, so that I could checkout a maven project that contains modules and wire that up in Eclipse correctly. Instead of manually checking out the modules as I did under Eclipse 3.1. I am able to manually add the project in Eclipse via File - Import - General - Existing Projects into Workspace and use the module directoy as the value for Select root directory. The project then appears in the Projects list for importing. If I select the project root then there are no projects to choose from. I thought that the snapshot version of the eclipse:eclipse plugin had the functionality to do this for me, but it is not working how I expect. I assume I am doing something wrong. Should mvn eclipse:eclipse at the project root do what I expect? Any help appreciated. Bae - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Proximity Demo Update
Hi All, Proximity DEMO site on http://proximity.abstracthorizon.org:12000/px-webapp/ is updated with current SVN version. Much of improvements are made in code, both cleanup and new features added. One of major improvements are the plugin like itemInspector configuration. This enabled to index JAR/ZIP directories and files. Also, the whole metadata handling code is cleaned up, and the base set of properties supported by Proximity are extended (lastScanTime, file hashes, etc). Finally, the webapp is updated to reflect the new changes, note the Expand Properties button on Browse Files view and expanded Search capabilites RC4 release (final RC) is targeted to the end of the week. Have fun! ~t~
install cruise control plugin for maven 2.0
can anyone please tell me which version of cruisecontrol is supported by maven 2.0