RE: issue with mvn clean install
Just in case that doesn't solve it, I'm always suspicious of folder names with spaces in them. I've never felt 100% confident they would work with all tools. -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 2:42 AM To: Maven Users List Subject: Re: issue with mvn clean install Yep, that looks like the cause to me. if ${basedir} is mapping to ".", then when maven tries to delete the "output directory" it would end up deleting the "Project A" dir, just as shown. Try removing the outputDirectory elemnt from the pom (so it defaults to its normal value). Cheers, Simon On Thu, 2006-04-27 at 11:12 +0200, Tom Joad wrote: > Why do you have to set explicitly ${basedir} On project A pom.xml for > different location. > Try to give relative path so without ${basedir} > Tom. > > 2006/4/27, RobJac <[EMAIL PROTECTED]>: > > > > Yes I do. This is how my Project A pom.xml looks like > > > > http://maven.apache.org/POM/4.0.0"; > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/maven-v4_0_0.xsd";> > > 4.0.0 > > Project A > > Project A > > jar > > 1.0 > > Maven Quick Start Archetype > > > > Main > > Main > > 1.0 > > > > > > > > antlr > > antlr > > 2.7.5H3 > > provided > > > > > > > > > > ${basedir} > > classes > > ${project.artifactId} > > test-classes > > src > > test > > > > > > ${basedir}/resources > > > > > > src > > false > > > > **/*.java > > > > > > > > > > > > > > test > > > > > > > > > > org.apache.maven.plugins > > maven-compiler-plugin > > > > 1.5 > > 1.5 > > > > > > > > > > > > > > target/site > > > > > > -- > > View this message in context: > > http://www.nabble.com/issue-with-mvn-clean-install-t1516559.html#a4117154 > > 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] > - 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]
Timestamp
I have been looking in the docs and have been unable to find this. I want to capture the build date and time. Is there a variable that is set in Maven to the current time? Thanks...Kevin __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Explain multi-module support in M2
Hi Clifton, Note that there are two different concepts here. (a) A "parent pom" is a pom whose attributes are inherited by any pom whose tag points at it. (b) A "module pom" uses tags to point at directories containing pom files. Whenever the "module pom" is specified, the phase/goal is executed for that pom AND every pom pointed to by it. The module poms are first inspected to determine from their dependencies the correct order to invoke them; the maven component that generates the correctly-ordered set of modules is referred to as a "reactor". [NB: I just made up the term "module pom"; maybe there's an official term]. Often a single file fills both roles, but they can be separate. When a pom points at a parent, it can specify a (groupId,artifactId) in which case the parent pom is fetched from the maven repository. This allows a module to be built even when the "parent" has not been checked out locally; very useful. A pom can also specify a relativePath; if the specified file actually exists locally it is used in preference. This makes development easier as it's possible for changes to the parent pom to take effect without running "mvn install" on it. There are no limits at all imposed on your directory here; a child can point to any parent it wants. A tag simply specifies a directory. Paths like "widgets/widget1" are fine. I suspect that "../widget1" would also work but haven't tried it. Assuming it does, there are no limitations on the layout. There is no mechanism that ensures that when you execute a goal in module Z, its dependencies are all rebuilt; the latest versions of all dependencies are just fetched from repositories. To rebuild everything, you execute a phase/target using the "module pom". Regards, Simon On Thu, 2006-04-27 at 14:15 -0400, Clifton Craig wrote: > Hello all, > > I'm relatively new to Maven2 and I'd like somebody to explain the > multi-module > support in a little more detail. We have some projects that we're managing > with M2. I'm not sure that I want to use multi-module support because it > seems a little restrictive as explained on the site. However, I'm afraid that > I may need some of the features from mult-module support. Let me clarify. > Take the following example: Projects A, B, C, and D. B, C, and D all depend > on A. C and D depend on B. The one problem (due to my lack of understanding) > I have is that for multi-module support to work, as I understand it, I would > need to reflect the module dependencies in the directory structure of the > modules. This means a module folder would need to sit atop of its dependency > module folders. In my example there is no clean way (short of using > replicating modules or icky non-x-platform symbolic links) to acheive the > relationship in the directory structure. So it makes better sense to layout > all modules as peers including parent modules and folders with parent pom > files. I'm not sure if this is supported or I'm not understanding the > workings correctly. > > The other problem I have is that if my prior explanation is not accurate how > would we make the association evident in child modules to their parents? In > other words, assume I have all modules A-D laid out as peers on the > filesystem. Also assume that there is a global module, E, that contains > settings that are inherited by the others A-D. (E is also a peer.) If I'm > working in the folder for B and decide to run "mvn test" or "mvn deploy", how > then does it know to look into the peer folder for E for inherited settings? > It seems to me that either some sort of reference need to be made to the > location of E or E would need to be installed first before testing or > deploying B. I'm sure I have some things misunderstood but could somebody > clear things up for me? > > --- > Clifton C. Craig, Software Engineer > Intelligent Computer Systems - A Division of GBG > [EMAIL PROTECTED] > [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: Building and requiring jboss jars
Installing the file into your repository will certainly duplicate the jar on your system. You will have one copy of it in your m2 repo and one copy in your jboss lib. Disk space is cheap so I've never concerned myself too much with this. To better understand scope, you should review the documentation, specifically the Dependency Scope section: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html And I see no reason why you could not use a settings.xml value for the path, if you wanted to. Wayne On 4/28/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: So to restate - this duplicates this jar on your system, correct? And as far as goes, couldn't that path be a variable that is pulled out of people's profile in their settings.xml? We try to enforce installation instructions of various third party items. The use case I want to be prepared to solve is the one where someone is testing out a NEW version of some tool (say an appserver), they should be able to say in the profile, here is the new location and may scope could pick that up? Also, in what context is scope used? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 4:58 PM To: Maven Users List Subject: Re: Building and requiring jboss jars You can use system with a /your/file/path/here.jar in that dependency. However this is not portable, as every developer could potentially have that jar in a different place in their file system, so good luck maintaining it. As I've said before, I really don't suggest scope system. Its very easy to use install:install-file to install the Jar into your local Maven repo and use "normal" scopes like provided etc. So I generally suggest that approach instead. Wayne On 4/28/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: > Hello again, I have a quick question about building with things like > jboss/weblogic. > > So if the developer requires an appserver specific jar in their > classpath for a particular maven build, how does that get in the > .m2/repository directory? > > In the ant world, we'd have created a classpath pointing to the location > of the jboss/weblogic installation directory and included "lib" or what > not. > > What I don't want is watching maven copy down jars that already exist on > the system (or moving those from the jboss dir to the .m2/repository > directory). > > Any thoughts guys? > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Building and requiring jboss jars
So to restate - this duplicates this jar on your system, correct? And as far as goes, couldn't that path be a variable that is pulled out of people's profile in their settings.xml? We try to enforce installation instructions of various third party items. The use case I want to be prepared to solve is the one where someone is testing out a NEW version of some tool (say an appserver), they should be able to say in the profile, here is the new location and may scope could pick that up? Also, in what context is scope used? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 4:58 PM To: Maven Users List Subject: Re: Building and requiring jboss jars You can use system with a /your/file/path/here.jar in that dependency. However this is not portable, as every developer could potentially have that jar in a different place in their file system, so good luck maintaining it. As I've said before, I really don't suggest scope system. Its very easy to use install:install-file to install the Jar into your local Maven repo and use "normal" scopes like provided etc. So I generally suggest that approach instead. Wayne On 4/28/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: > Hello again, I have a quick question about building with things like > jboss/weblogic. > > So if the developer requires an appserver specific jar in their > classpath for a particular maven build, how does that get in the > .m2/repository directory? > > In the ant world, we'd have created a classpath pointing to the location > of the jboss/weblogic installation directory and included "lib" or what > not. > > What I don't want is watching maven copy down jars that already exist on > the system (or moving those from the jboss dir to the .m2/repository > directory). > > Any thoughts guys? > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Ant Tasks and Multiple artifacts in one POM
Dennis, Actually I am doing that in my parent pom.xml: I just wish that the ant properties that get set in the maven.project.pom could be referenced in the other poms. Cheers, Jeff Dennis Lundberg-2 wrote: > > jmaxwell wrote: >> Dan, >> >> I might just cheat and use xslts to create the poms (not pretty). >> >> I hate breaking the DRY (Don't Repeat Yourself) rule. >> >> I do wish that the ant task evaluated ant properties in the poms. >> At least in this way I could set the value in one place (build.properties >> or >> parent pom). >> >> Then you could have a pom similar to this: >> >> >> 4.0.0 >> ${mymodule.groupId} >> ${mymodule.name} >> ${mymodule.version} >> ${mymodule.version}-lib >> zip >> > > You could do it the other way around. If you define your pom as a > reference in your ant script like this: > > > Then you can reference the values from it as ant properties like this: >The version is ${maven.project.version} > >> dan tran wrote: >>> the alternative ( my be not desirable by you ) is to create one maven >>> project to call your ant's build which >>> creates multiple artifacts? >>> >>> -Dan >>> >>> >>> On 4/28/06, jmaxwell <[EMAIL PROTECTED]> wrote: Dan, I am using the "Maven 2.0.4 Tasks for Ant". Cheers, Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4147709 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4148199 >> Sent from the Maven - Users forum at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > -- > Dennis Lundberg > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4148489 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Ant Tasks and Multiple artifacts in one POM
jmaxwell wrote: Dan, I might just cheat and use xslts to create the poms (not pretty). I hate breaking the DRY (Don't Repeat Yourself) rule. I do wish that the ant task evaluated ant properties in the poms. At least in this way I could set the value in one place (build.properties or parent pom). Then you could have a pom similar to this: 4.0.0 ${mymodule.groupId} ${mymodule.name} ${mymodule.version} ${mymodule.version}-lib zip You could do it the other way around. If you define your pom as a reference in your ant script like this: Then you can reference the values from it as ant properties like this: The version is ${maven.project.version} dan tran wrote: the alternative ( my be not desirable by you ) is to create one maven project to call your ant's build which creates multiple artifacts? -Dan On 4/28/06, jmaxwell <[EMAIL PROTECTED]> wrote: Dan, I am using the "Maven 2.0.4 Tasks for Ant". Cheers, Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4147709 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4148199 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Ant Tasks and Multiple artifacts in one POM
Dan, I might just cheat and use xslts to create the poms (not pretty). I hate breaking the DRY (Don't Repeat Yourself) rule. I do wish that the ant task evaluated ant properties in the poms. At least in this way I could set the value in one place (build.properties or parent pom). Then you could have a pom similar to this: 4.0.0 ${mymodule.groupId} ${mymodule.name} ${mymodule.version} ${mymodule.version}-lib zip dan tran wrote: > > the alternative ( my be not desirable by you ) is to create one maven > project to call your ant's build which > creates multiple artifacts? > > -Dan > > > On 4/28/06, jmaxwell <[EMAIL PROTECTED]> wrote: >> >> >> Dan, >> >> I am using the "Maven 2.0.4 Tasks for Ant". >> >> Cheers, >> >> Jeff >> -- >> View this message in context: >> http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4147709 >> Sent from the Maven - Users forum at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4148199 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deploying site generated files
The SCP error message "invalid server's version string" seems to indicate that SSH was unable to connect to the SSH server, or there was something wrong during the SSH handshake. SCP is "Secure CoPy" which requires SSH to be installed on the server. If you don't have it installed already, you'll need to install it before proceeding. And as Justin noticed, you have configured SCP to connect to port 8080 which is most likely invalid. Wayne On 4/28/06, Edelson, Justin <[EMAIL PROTECTED]> wrote: Just a guess, but 8080 is probably the web server port, not the SSH/SCP port, which is 22 by default. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:36 PM To: Maven Users List Subject: deploying site generated files I would like to move or deploy the site generated file to my web server (JBoss) that is on the same server as my build (mvn) server. I would like to allow others to view the site files from the web server. Can this be done? I have tried the scp. I get an error...: [INFO] [site:deploy] Session error: com.jcraft.jsch.JSchException: invalid server's version string scp://JSTAGE.com:8080/WWW/ - Session: Disconnecting scp://JSTAGE.com:8080/WWW/ - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: invalid server's version string In my pom: website scp://JSTAGE.com:8080/WWW/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying site generated files
Just a guess, but 8080 is probably the web server port, not the SSH/SCP port, which is 22 by default. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:36 PM To: Maven Users List Subject: deploying site generated files I would like to move or deploy the site generated file to my web server (JBoss) that is on the same server as my build (mvn) server. I would like to allow others to view the site files from the web server. Can this be done? I have tried the scp. I get an error...: [INFO] [site:deploy] Session error: com.jcraft.jsch.JSchException: invalid server's version string scp://JSTAGE.com:8080/WWW/ - Session: Disconnecting scp://JSTAGE.com:8080/WWW/ - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: invalid server's version string In my pom: website scp://JSTAGE.com:8080/WWW/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
deploying site generated files
I would like to move or deploy the site generated file to my web server (JBoss) that is on the same server as my build (mvn) server. I would like to allow others to view the site files from the web server. Can this be done? I have tried the scp. I get an error...: [INFO] [site:deploy] Session error: com.jcraft.jsch.JSchException: invalid server's version string scp://JSTAGE.com:8080/WWW/ - Session: Disconnecting scp://JSTAGE.com:8080/WWW/ - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: invalid server's version string In my pom: website scp://JSTAGE.com:8080/WWW/
Re: Problem with long path name?
AFAIK it's a limitation of Windows On 4/28/06, Punkin Head <[EMAIL PROTECTED]> wrote: I have a path name that is 140+ characters long it seems to be causing a problem. Here is the error: svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup' and try again svn: Can't open file '{path}\.svn\tmp\text-base\{class}.js.svn-base': The system cannot find the path specified. Can anyone help with this? We're using Continuum 1.0.3 with Maven 2.0.4 on WinXP. Thanks, -- Adam Altemus -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride
Re: Maven Ant Tasks and Multiple artifacts in one POM
the alternative ( my be not desirable by you ) is to create one maven project to call your ant's build which creates multiple artifacts? -Dan On 4/28/06, jmaxwell <[EMAIL PROTECTED]> wrote: Dan, I am using the "Maven 2.0.4 Tasks for Ant". Cheers, Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4147709 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] ant task problem
See if this helps http://jira.codehaus.org/browse/MANTRUN-49 The work around is to pass classpath string to your taskdef -Dan On 4/28/06, mjohnsonaz74 <[EMAIL PROTECTED]> wrote: Although this answer is a bit after the question, I thought I'd post here for any future problems that might be related here. I had this same problem and it's caused by classpath issues between Maven and Ant. I actually had to modify a portion of the plugin source to get it to work right, but I digress. I believe your specific problem can be addressed by creating a system level dependency to the tools.jar file in the %JAVA_HOME% directory for your system. Try adding this dependency to your POM.xml and see if it helps. sun.jdk tools 1.4.2 system ${java.home}/../lib/tools.jar -- MJ -- View this message in context: http://www.nabble.com/-m2-ant-task-problem-t886291.html#a4147688 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] ejbgen fork issue
I'm trying to run an task using the antrun plugin. Here is the task as copied from my ant build. Now, this works just fine when I call ant from the command line, but it fails when I try to execute it using the antrun plugin. The error message states that "fork" is not a valid attribute of . Now the ejbgen website recommends using the "fork" attribute to prevent and funny errors (ironic). Also, the task executes perfectly when run from the command line. So, this tells me that there is an issue with either Maven or the plugin(no surprise). Has anyone else had this issue? How can I get to run from Maven using the antrun plugin? My taskdef is below for all interested... --MJ -- View this message in context: http://www.nabble.com/-m2-ejbgen-fork-issue-t1526891.html#a4147794 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Ant Tasks and Multiple artifacts in one POM
Dan, I am using the "Maven 2.0.4 Tasks for Ant". Cheers, Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4147709 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] ant task problem
Although this answer is a bit after the question, I thought I'd post here for any future problems that might be related here. I had this same problem and it's caused by classpath issues between Maven and Ant. I actually had to modify a portion of the plugin source to get it to work right, but I digress. I believe your specific problem can be addressed by creating a system level dependency to the tools.jar file in the %JAVA_HOME% directory for your system. Try adding this dependency to your POM.xml and see if it helps. sun.jdk tools 1.4.2 system ${java.home}/../lib/tools.jar -- MJ -- View this message in context: http://www.nabble.com/-m2-ant-task-problem-t886291.html#a4147688 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building and requiring jboss jars
You can use system with a /your/file/path/here.jar in that dependency. However this is not portable, as every developer could potentially have that jar in a different place in their file system, so good luck maintaining it. As I've said before, I really don't suggest scope system. Its very easy to use install:install-file to install the Jar into your local Maven repo and use "normal" scopes like provided etc. So I generally suggest that approach instead. Wayne On 4/28/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: Hello again, I have a quick question about building with things like jboss/weblogic. So if the developer requires an appserver specific jar in their classpath for a particular maven build, how does that get in the .m2/repository directory? In the ant world, we'd have created a classpath pointing to the location of the jboss/weblogic installation directory and included "lib" or what not. What I don't want is watching maven copy down jars that already exist on the system (or moving those from the jboss dir to the .m2/repository directory). Any thoughts guys?
Problem with long path name?
I have a path name that is 140+ characters long it seems to be causing a problem. Here is the error: svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup' and try again svn: Can't open file '{path}\.svn\tmp\text-base\{class}.js.svn-base': The system cannot find the path specified. Can anyone help with this? We're using Continuum 1.0.3 with Maven 2.0.4 on WinXP. Thanks, -- Adam Altemus
Building and requiring jboss jars
Hello again, I have a quick question about building with things like jboss/weblogic. So if the developer requires an appserver specific jar in their classpath for a particular maven build, how does that get in the .m2/repository directory? In the ant world, we'd have created a classpath pointing to the location of the jboss/weblogic installation directory and included "lib" or what not. What I don't want is watching maven copy down jars that already exist on the system (or moving those from the jboss dir to the .m2/repository directory). Any thoughts guys?
RE : RE : conditional executions of plugin
Thanks for the NOTE. I understand now this : http://jira.codehaus.org/browse/MNG-2206 (I think I understand ;-) Could you put some comment on it ? (will this possible one day) In some use cases, I need this. Exemple, I want to set sgbdPwd(s) with different profiles : - profile dev - profile integration - profile test - profile production For security reasons, I don't do it in the pom (because it's in svn). But I like to put in $HOME/.m2/settings.xml. As I understand I don't have workaround ? -Olivier -Message d'origine- De : John Casey [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 21:02 À : Maven Users List Objet : Re: RE : conditional executions of plugin You would have to use profiles defined within the POM itself, and inside of those define the plugins you want to control. When the profile is activated, the corresponding plugins will be added to the build, and voila! NOTE: profiles defined outside the POM cannot configure plugins, as this would lead to a non-portable build. HTH, John On 4/28/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Thanks for your reply, > > But may be i'm missing something here, i already use profiles.xml in > my project, but i don't know we can control plugin execution based on > that ... and i'm really not sure > > Can u please give some more information on this > > what i wanted to do is in pom.xml based on property i want to execute > only few plugins, not all ofthem in pom > > > > > > > Thanks, > Raghu > > > > > > "Olivier Lamy" <[EMAIL PROTECTED]> > 04/28/2006 01:28 PM > Please respond to "Maven Users List" > > > To: "'Maven Users List'" > cc: > Subject:RE : conditional executions of plugin > > > Look > http://maven.apache.org/guides/introduction/introduction-to-profiles.h > tm > l > > - Olivier > > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 28 avril 2006 20:22 > À : Maven Users List > Objet : conditional executions of plugin > > > Hi All, > > > Is there a way to execute some plugin on some life-cycle phase based > on condition > > Like in ant > So i want to execute some plugin for eg. lets say maven compiler > plugin only if its finds a property "compile.now" is that possible in > maven 2? > > > > > > > Thanks, > Raghu > > > > This e-mail, any attachments and the information contained therein > ("this > message") are confidential and intended solely for the use of the > addressee(s). If you have received this message in error please send it > back to the sender and delete it. Unauthorized publication, use, > dissemination or disclosure of this message, either in whole or in part is > strictly prohibited. > > -- > > Ce message électronique et tous les fichiers joints ainsi que les > informations contenues dans ce message ( ci après "le message" ), sont > confidentiels et destinés exclusivement à l'usage de la personne à > laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci > de le renvoyer à son émetteur et de le détruire. Toutes diffusion, > publication, totale ou partielle ou divulgation sous quelque forme que se > soit non expressément autorisées de ce message, sont interdites. > > -- > --- > > > - > 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 Ant Tasks and Multiple artifacts in one POM
are you talking about maven-ant-plugin? -D On 4/28/06, jmaxwell <[EMAIL PROTECTED]> wrote: I am currently using the maven ant tasks (and loving it) to build a multiple module CORBA based application but I have one issue: When I build I need to generate multiple artifacts: MyModule-lib.zip (stores ccp libs,corba idls, and includes) MyModule.jar (java client) MyModuleHelp.jar (help system) MyModule-bin.zip (native server binaries) I would prefer to have one pom per module instead of a pom per each artifact. Is this possible using the ant tasks? Going to (maven) native is not an option at my client (yet). MAVENIZE! Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4144455 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ejb-client jar troubles...
EJB POM -- pom.xml com.arca.surveillance 3.6.0-BONDS-SNAPSHOT 4.0.0 com.arca.surveillance.ejb surveillance-ejb ejb Surveillance EJB 3.6.0-BONDS-SNAPSHOT install org.codehaus.mojo xdoclet-maven-plugin generate-sources xdoclet maven-ejb-plugin true **/ejb/*.class true com.arca.surveillance.core surveillance-core 3.6.0-BONDS-SNAPSHOT geronimo-spec geronimo-spec-ejb 2.1-rc4 provided javax.servlet servlet-api 2.4 provided deployed WAR POM pom.xml com.arca.surveillance 3.6.0-BONDS-SNAPSHOT 4.0.0 com.arca.surveillance.web surveillance-web war Surveillance WEB 3.6.0-BONDS-SNAPSHOT war:install com.arca.surveillance.ejb surveillance-ejb 3.6.0-BONDS-SNAPSHOT ejb-client com.arca core-ejb 1.0 ejb-client com.arca.surveillance.core surveillance-core 3.6.0-BONDS-SNAPSHOT struts struts 1.1 com.arca common-web 3.5.1.b stxx stxx 1.3 javax.servlet servlet-api 2.4 provided geronimo-spec geronimo-spec-ejb 2.1-rc4 provided deployed - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users List Sent: Friday, April 28, 2006 2:33:33 PM Subject: Re: ejb-client jar troubles... Attaching things does not work on this list. You'll need to resend with the contents of your files in-line with your email message. Wayne On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > Artifact is name with foo-1.0-client.jar in the repository. It's only on > packaging that it seems to change it's name. > > Attaching the POMs for both the EJB and the WAR. > > Thanks! > > - Original Message > From: Tom Huybrechts <[EMAIL PROTECTED]> > To: Maven Users List ; Sean McNamara <[EMAIL > PROTECTED]> > Sent: Friday, April 28, 2006 12:03:24 PM > Subject: Re: ejb-client jar troubles... > > How is the artifact named in the repository ? > Can you post the POMs of the ejb-client artifact and of the artifact > that depends on it ? > > Tom > > On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > > Sorry for the repeat question, but still looking for an answer. > > > > When specifying a dependency on an ejb using the ejb-client type, the > > jarfile is being packaged as foo-ejb-1.0.client-ejb rather than > > foo-ejb-1.0-client.jar. > > > > Is there a way to change this behavior? > > > > Thanks. > > > > > > > > - > > 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: ejb-client jar troubles...
Attaching things does not work on this list. You'll need to resend with the contents of your files in-line with your email message. Wayne On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: Artifact is name with foo-1.0-client.jar in the repository. It's only on packaging that it seems to change it's name. Attaching the POMs for both the EJB and the WAR. Thanks! - Original Message From: Tom Huybrechts <[EMAIL PROTECTED]> To: Maven Users List ; Sean McNamara <[EMAIL PROTECTED]> Sent: Friday, April 28, 2006 12:03:24 PM Subject: Re: ejb-client jar troubles... How is the artifact named in the repository ? Can you post the POMs of the ejb-client artifact and of the artifact that depends on it ? Tom On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > Sorry for the repeat question, but still looking for an answer. > > When specifying a dependency on an ejb using the ejb-client type, the jarfile is being packaged as foo-ejb-1.0.client-ejb rather than foo-ejb-1.0-client.jar. > > Is there a way to change this behavior? > > Thanks. > > > > - > 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: RE : conditional executions of plugin
You would have to use profiles defined within the POM itself, and inside of those define the plugins you want to control. When the profile is activated, the corresponding plugins will be added to the build, and voila! NOTE: profiles defined outside the POM cannot configure plugins, as this would lead to a non-portable build. HTH, John On 4/28/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Thanks for your reply, But may be i'm missing something here, i already use profiles.xml in my project, but i don't know we can control plugin execution based on that ... and i'm really not sure Can u please give some more information on this what i wanted to do is in pom.xml based on property i want to execute only few plugins, not all ofthem in pom Thanks, Raghu "Olivier Lamy" <[EMAIL PROTECTED]> 04/28/2006 01:28 PM Please respond to "Maven Users List" To: "'Maven Users List'" cc: Subject:RE : conditional executions of plugin Look http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l - Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 20:22 À : Maven Users List Objet : conditional executions of plugin Hi All, Is there a way to execute some plugin on some life-cycle phase based on condition Like in ant
RE : conditional executions of plugin
Thanks for your reply, But may be i'm missing something here, i already use profiles.xml in my project, but i don't know we can control plugin execution based on that ... and i'm really not sure Can u please give some more information on this what i wanted to do is in pom.xml based on property i want to execute only few plugins, not all ofthem in pom Thanks, Raghu "Olivier Lamy" <[EMAIL PROTECTED]> 04/28/2006 01:28 PM Please respond to "Maven Users List" To: "'Maven Users List'" cc: Subject:RE : conditional executions of plugin Look http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l - Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 20:22 À : Maven Users List Objet : conditional executions of plugin Hi All, Is there a way to execute some plugin on some life-cycle phase based on condition Like in ant
RE : conditional executions of plugin
Look http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l - Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 20:22 À : Maven Users List Objet : conditional executions of plugin Hi All, Is there a way to execute some plugin on some life-cycle phase based on condition Like in ant
Re: creating and using source archive
I created a new feature request in the JIRA instance for Maven 2 (http://jira.codehaus.org/browse/MNG-2248). You guys can add comments to it if you want to. This is the first time I've created a JIRA log so I hope I did it right. On 4/27/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Discussions like these are great, but please make sure they result in a JIRA Enhancement request (or two) so the Maven Dev group can track, discuss, and perhaps even implement them. Otherwise the issues raised in these conversations will never be addressed. And I'll generally agree that sources and javadocs should be grabbed when they are available, with configuration available to disable this functionality, or vice-versa. Wayne On 4/27/06, jdigger <[EMAIL PROTECTED]> wrote: > > I agree with both Jamie and Aaron -- getting the sources and/or javadocs if > they are available should definately be a part of the standard "grab" that > downloading from a repository should do. > > -Jim Moore > > > Aaron Freeman wrote: > > > > I agree with Jamie. Since the ability to build javadoc and source jars > > is a built in part of the maven deploy plugin, it doesn't make sense > > that the only way to get maven to download them is using an eclipse > > specific plugin. What if people want to use these source files for > > other things or with other editors (like IDEA or NetBeans), then this > > functionality would have to be reimplemented. So, just as Jamie said, > > I think the piece that downloads the POMs and binaries should have a > > switch that will make it download the sources and javadocs (in the XML > > or as a -D option like on the eclipse plugin). > > > -- > View this message in context: http://www.nabble.com/creating-and-using-source-archive-t1512274.html#a4121026 > 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]
conditional executions of plugin
Hi All, Is there a way to execute some plugin on some life-cycle phase based on condition Like in ant
Re: creating and using source archive
I don't really agree that downloading sources&javadoc should be standard, but I do think it should be possible. I hacked the eclipse plugin into something that can download sources&javadocs on demand for the dependencies of a given project and will upload it to JIRA tomorrow. Tom On 4/27/06, jdigger <[EMAIL PROTECTED]> wrote: I agree with both Jamie and Aaron -- getting the sources and/or javadocs if they are available should definately be a part of the standard "grab" that downloading from a repository should do. -Jim Moore Aaron Freeman wrote: > > I agree with Jamie. Since the ability to build javadoc and source jars > is a built in part of the maven deploy plugin, it doesn't make sense > that the only way to get maven to download them is using an eclipse > specific plugin. What if people want to use these source files for > other things or with other editors (like IDEA or NetBeans), then this > functionality would have to be reimplemented. So, just as Jamie said, > I think the piece that downloads the POMs and binaries should have a > switch that will make it download the sources and javadocs (in the XML > or as a -D option like on the eclipse plugin). > -- View this message in context: http://www.nabble.com/creating-and-using-source-archive-t1512274.html#a4121026 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]
RE: Problem with Eclipse plugin
You can specify the proxy information when you configure the External Tools entry for the Maven2 build of this project in Eclipse. In the External Tools window, select the goal that you want to run, then add parameters proxyHost and proxyPort with the appropriate values in the parameter box. These properties will be passed along to the Maven plugin when it is invoked. --Kevin -Original Message- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 12:10 PM To: Maven Users List Subject: Re: Problem with Eclipse plugin I run eclipse 3.1.1 on windows 2000 and windows>preferences>internet>proxy settings you put your company proxy settings. On my Linux mandriva 10. , i launch eclipse by command line with system properties eclipse -vmargs -Dhttp.proxyHost=MYPROXYHOST -Dhttp.proxyPort=MYPROXYNUMBER Tom. 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > You're right, I'm behind a proxy... You mention a plugin to manage the proxy > connection in Eclipse, where can I find it? > > Thanks a lot > Jose > > 2006/4/25, Tom Joad <[EMAIL PROTECTED]>: > > > > Hi Jose, > > It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the > > case > > > > As said Eugene Kuleshov one of plugin developers Unfortunately there > > are still no support for settings.xml, including > > proxy configuration. and i think your proble comes from it. > >For now you can use system properties -Dhttp.proxyHost= and > > -Dhttp.proxyPort= > > Could you try to launch eclipse via commnand line with these two > > parameters > > Or adding eclipse plugin to manage proxy connexion. > > > > Tom. > > 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > I'm using 0.0.5... do you have more information about this issue? > > > > > > Thanks > > > Jose > > > > > > 2006/4/24, Tom Joad <[EMAIL PROTECTED]>: > > > > > > > > Hello, > > > > Which version of the plugin do you use? It is a known issue of version > > > > 0.0.4 resolved > > > > with 0.0.5 . > > > > Tom. > > > > > > > > > > > > > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > > Hi there, > > > > > > > > > > After reading about the Eclipse plugin I decided to give it a try. I > > > > > installed it, and tried to run a maven goal, but the execution seems > > to > > > > > hang. After enabling debug output in the preferences I get this in > > the > > > > > console: > > > > > > > > > > [DEBUG] Found 0 components to load on start > > > > > [DEBUG] Building Maven user-level plugin registry from: > > 'C:\Documents > > > > and > > > > > Settings\jgonzalez\.m2\plugin-registry.xml' > > > > > [DEBUG] Building Maven global-level settings from: > > > > > 'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml' > > > > > [DEBUG] Building Maven user-level settings from: 'C:\Documents and > > > > > Settings\jgonzalez\.m2\settings.xml' > > > > > [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' > > for > > > > > project: null:netflux-core:jar:null > > > > > > > > > > After this, the execution seems to hang. Any ideas? > > > > > > > > > > TIA, best regards > > > > > Jose > > > > > > > > > > > > > > > > > > - > > > > 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: How to install sources
I could not find documentation per se but think I've figured out how to do it. If you incorporate this into your POM (master or otherwise), it will regenerate source JARs when reaching the "package" goal and install the source JAR along with the runtime JAR when reaching either the "install" (to local repository) or "deploy" (to remote, shared repository) goals:... ... -^-rdj-^- Lee Meador-3 wrote: > > There is no information on how to use the maven-source-plugin at the link > given. It just shows the name and the config properties. > > There is no mention of the word "performRelease" at the POM document whose > link is given. > > Does someone know of a place that documents these things? > -- View this message in context: http://www.nabble.com/How-to-install-sources-t1049892.html#a4144741 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] maven-source-plugin package jar maven-deploy-plugin deploy
Maven Ant Tasks and Multiple artifacts in one POM
I am currently using the maven ant tasks (and loving it) to build a multiple module CORBA based application but I have one issue: When I build I need to generate multiple artifacts: MyModule-lib.zip (stores ccp libs,corba idls, and includes) MyModule.jar (java client) MyModuleHelp.jar (help system) MyModule-bin.zip (native server binaries) I would prefer to have one pom per module instead of a pom per each artifact. Is this possible using the ant tasks? Going to (maven) native is not an option at my client (yet). MAVENIZE! Jeff -- View this message in context: http://www.nabble.com/Maven-Ant-Tasks-and-Multiple-artifacts-in-one-POM-t1525854.html#a4144455 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ejb-client jar troubles...
Artifact is name with foo-1.0-client.jar in the repository. It's only on packaging that it seems to change it's name. Attaching the POMs for both the EJB and the WAR. Thanks! - Original Message From: Tom Huybrechts <[EMAIL PROTECTED]> To: Maven Users List ; Sean McNamara <[EMAIL PROTECTED]> Sent: Friday, April 28, 2006 12:03:24 PM Subject: Re: ejb-client jar troubles... How is the artifact named in the repository ? Can you post the POMs of the ejb-client artifact and of the artifact that depends on it ? Tom On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > Sorry for the repeat question, but still looking for an answer. > > When specifying a dependency on an ejb using the ejb-client type, the jarfile > is being packaged as foo-ejb-1.0.client-ejb rather than > foo-ejb-1.0-client.jar. > > Is there a way to change this behavior? > > Thanks. > > > > - > 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: ejb-client jar troubles...
How is the artifact named in the repository ? Can you post the POMs of the ejb-client artifact and of the artifact that depends on it ? Tom On 4/28/06, Sean McNamara <[EMAIL PROTECTED]> wrote: Sorry for the repeat question, but still looking for an answer. When specifying a dependency on an ejb using the ejb-client type, the jarfile is being packaged as foo-ejb-1.0.client-ejb rather than foo-ejb-1.0-client.jar. Is there a way to change this behavior? Thanks. - 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: Dependencies with source codes
Use sources should also work to download sources... (assuming they have been uploaded, of course!) Same with javadoc which will pull Javadocs. Wayne On 4/28/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: I like to have the sources just for developing and debugging purpose. For better understanding. I don't want to build the sources if that was your intention. Also I would like to create automatically eclipse .classpath files that maps all dependency jar files and their sources. Ingo Kenney Westerhof schrieb: > On Fri, 28 Apr 2006, [ISO-8859-15] Ingo Düppe wrote: > > No, but you can add a dependency on the sources by providing > java-source in the dependency, if i'm not mistaken. > > You can force a download of all sources by running > mvn eclipse:eclipse -Declipse.downloadSources=true > > What do you want to use the sources for? > > -- Kenney > > > >> Hi, >> >> is it possible to define within the maven 2 ant-tasks or pom.xml that >> all dependencies should be downloaded with source codes if available. >> >> Regards, >> >> Ingo >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- > Kenney Westerhof > http://www.neonics.com > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc Scrambles UTF-8 source files when generating UTF-8 HTML
Something similar was reported here: http://jira.codehaus.org/browse/MPXDOC-184 maybe you find a useful comment there. If you don't get it fixed, can you try to trim down a simple test project and attach it to a JIRA issue? Cheers, -Lukas Lance Bader wrote: I am using Maven 1.1-beta-2 and maven-xdoc-plugin-1.9.2 on a Windows XP workstation. When I attempt to build UTF-8 encoded HTML from UTF-8 XML source files, every special character is scrambled. I haven't done the analysis, but I would guess that every multi-byte character is being treated like a group of single byte characters. We are using the Maven xDoc plug-in to generate our on-line user guide. We sent the English XML source and I18N properties file to be translated into 9 languages. The returned files are UTF-8 encoded. Each source file begins. I build each language tree seperately and then combine the output trees into a single web site. In my project properties, I specify maven.xdoc.includeProjectDocumentation=no maven.xdoc.date=navigation-bottom maven.xdoc.jsl=file:${basedir}/src/site.jsl maven.docs.outputencoding=UTF-8 maven.docs.src=${basedir}/src/xdoc/en maven.faq.src=${basedir}/src/xdoc/en/Faq maven.xdoc.bundle.src=${basedir}/src/i18nBundles maven.xdoc.bundle=wasce maven.xdoc.locale.default=en maven.docs.dest=${maven.build.dir}/docs/en When I want to generate a site in a different language, I override the properties on the maven command line like this: -Dmaven.docs.src=${basedir}/src/xdoc/xx -Dmaven.faq.src=${basedir}/src/xdoc/xx/Faq -Dmaven.xdoc.locale.default=xx -Dmaven.docs.dest=${maven.build.dir}/docs/xx where xx is replaced with the language to be generated (de es fr it ko pt_BR ru zh_CN zh_TW) In my UTF-8 enabled editor, the source files appear to be properly encoded. Firefox and the Internet Explorer both agree that the HTML is UTF-8 encoded. The characters are scrambled. What am I doing wrong? Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xDoc i18n does not honor KEY attribute in tag in element in navigation.xml
Thanks for reporting this, I created a JIRA issue: http://jira.codehaus.org/browse/MPXDOC-194 -Lukas Lance Bader wrote: I am using Maven 1.1-beta-2 and maven-xdoc-plugin-1.9.2 on a Windows XP workstation. I made changed my navigation.xml file to use i18n support, removing all the NAME attributes and adding KEY attributes to reference values in the properties files. tags within the element are displayed correctly, but tags within the element result in empty strings. Here is the excerpt from my naviagtion.xml file and the matching english properties file. http://www.ibm.com/software/webservers/appserv/community/"; /> http://www.ibm.com/software/webservers/appserv/community/support/"; /> Nav.0.Purchase_support = Purchase support Nav.0.Product_support = Product support Nav.0.User_Documentation = User Documentation I suspect something needs to be added to site.jsl, but I need big clue to fix it. Truly, Lance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ejb-client jar troubles...
Sorry for the repeat question, but still looking for an answer. When specifying a dependency on an ejb using the ejb-client type, the jarfile is being packaged as foo-ejb-1.0.client-ejb rather than foo-ejb-1.0-client.jar. Is there a way to change this behavior? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies with source codes
I like to have the sources just for developing and debugging purpose. For better understanding. I don't want to build the sources if that was your intention. Also I would like to create automatically eclipse .classpath files that maps all dependency jar files and their sources. Ingo Kenney Westerhof schrieb: On Fri, 28 Apr 2006, [ISO-8859-15] Ingo Düppe wrote: No, but you can add a dependency on the sources by providing java-source in the dependency, if i'm not mistaken. You can force a download of all sources by running mvn eclipse:eclipse -Declipse.downloadSources=true What do you want to use the sources for? -- Kenney Hi, is it possible to define within the maven 2 ant-tasks or pom.xml that all dependencies should be downloaded with source codes if available. Regards, Ingo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies with source codes
On Fri, 28 Apr 2006, [ISO-8859-15] Ingo Düppe wrote: No, but you can add a dependency on the sources by providing java-source in the dependency, if i'm not mistaken. You can force a download of all sources by running mvn eclipse:eclipse -Declipse.downloadSources=true What do you want to use the sources for? -- Kenney > Hi, > > is it possible to define within the maven 2 ant-tasks or pom.xml that > all dependencies should be downloaded with source codes if available. > > Regards, > > Ingo > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Use of snapshot repository
On Fri, 28 Apr 2006, Tom Joad wrote: When snapshots are deployed to a remote repository they never get '-SNAPSHOT' in the filenames, but rather a timestamp followed by a build number. So jdbc-maven-plugin-0.1-20060116.042625-1.jar IS a snapshot. Btw to enable the snapshot repo add this to your settings.xml: default snapshots Maven Plugin Repository http://snapshots.maven.codehaus.org/maven2 default true daily false never snapshots Maven Snapshot Repository http://snapshots.maven.codehaus.org/maven2 true daily false never default -- Kenney > Hello all, > How to conf settings.xml or pom.xml to use > http://snapshots.maven.codehaus.org/maven2/ > a (the) maven public snapshot repository. > Does maven automatically resolve artifact version where version is > for instance 0.1-SNAPSHOT for Org.codehaus.mojo.jdbc-maven-plugin and > under 0.1-SNAPSHOT directory > we have jdbc-maven-plugin-0.1-20060116.042625-1.jar but not > jdbc-maven-plugin-0.1-SNAPHOT . > Thanks in advance. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: weird issue with custom lifecycle and multiple modules
would you mind generalizing these two projects as much as you need to, then zipping them up and attaching them to a new issue in: http://jira.codehaus.org/browse/MNG I haven't heard of that one before, but I can say that extension loading is a somewhat weak point in Maven right now, and I wouldn't be surprised if this was a bug. Thanks, John On 4/28/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote: Hi all, I have a multiple module project. parent \- mysar (packaging sar - provided by the jboss-sar-maven-plugin) \- myplugin (packaging eclipse-plugin - provided by a homemade plugin). Both have the relevant plugin defined in their build section with true. If i add the 2 modules in parent in given order, then both get build correctly. There are no dependencies between the two, so this is also the order in which they are built. I get a mysar-1.0-SNAPSHOT.sar and a myplugin-1.0-SNAPSHOT.jar (since the extension for eclipse-plugin is defines as just jar). When I build both separately, I get the same result. But when I reverse the order of the modules, the plugin gets extension eclipse-plugin instead of jar! The sar is built correctly. I can fix this by moving the maven plugin that defines the eclipse-plugin lifecycle to parent. Does anybody have any idea what's going on here ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dependencies with source codes
Hi, is it possible to define within the maven 2 ant-tasks or pom.xml that all dependencies should be downloaded with source codes if available. Regards, Ingo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Use of snapshot repository
Hello all, How to conf settings.xml or pom.xml to use http://snapshots.maven.codehaus.org/maven2/ a (the) maven public snapshot repository. Does maven automatically resolve artifact version where version is for instance 0.1-SNAPSHOT for Org.codehaus.mojo.jdbc-maven-plugin and under 0.1-SNAPSHOT directory we have jdbc-maven-plugin-0.1-20060116.042625-1.jar but not jdbc-maven-plugin-0.1-SNAPHOT . Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse plugin
For commons jci the eclipse plugin give me the following errors ... Reading /jakarta-commons-jci/compilers/eclipse/pom.xml Local repository folder "" does not exist Project build error Parent: org.apache.commons:commons-jci:jar:1.0-SNAPSHOT of project: org.apache.commons:commons-jci-eclipse has wrong packaging: jar. Must be 'pom'. ... Reading /jakarta-commons-jci/tests/pom.xml Local repository folder "" does not exist required artifacts missing: org.apache.commons:commons-jci-eclipse:jar:1.0-SNAPSHOT org.apache.commons:commons-jci-groovy:jar:1.0-SNAPSHOT org.apache.commons:commons-jci-janino:jar:1.0-SNAPSHOT org.apache.commons:commons-jci-core:jar:1.0-SNAPSHOT for the artifact: org.apache.commons:commons-jci-tests-1.0-SNAPSHOT.jar Project build error Duplicate project ID found in /Users/tcurdt/dev/jakarta-commons-jci/tests/pom.xml ... Could someone please help to decipher what that is actually supposed to mean? Wrong packaging? - The parent packaging is 'pom'! Duplicate project id? - How? Where? Why? Missing artifacts? - They are modules! ...it builds just fine from the command line. cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: First "Maven Getting Started Guide" example
You'll have to ask the Velocity team about that, its their code. I'm sure the Velocity version changed between M2.0.4 and M2.0.2 and so there's this new/additional [ERROR] message now. Perhaps a future version of M2 will remove that error message as a side-effect of upgrading the Velocity components yet again. Wayne On 4/28/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Thanks, i only wondered why i get an [ERROR] with 2.0.4 where i got none wirh 2.0.2 Or the other way round: is it possible to get rid of this with newer jars or configuration changes? Greetings Franz Max Cooper schrieb: > That build succeeded. > > I ran the same command that you did to see if I would get the same > error message logged (about VM_global_library.vm), and I did. I got > the same error message, and my build also succeeded. > > I think your Maven installation is working as it should. Mine works > the same way, and I haven't had any trouble with mine. > > -Max > > Franz Fehringer wrote: >> Hello, >> >> I have problems to get the first example from the "Maven Getting >> Started Guide" working, namely >> mvn -e -X archetype:create -DgroupId=de.isogmbh.iso-app >> -DartifactId=iso-app >> Basically i get >> [ERROR] ResourceManager : unable to find resource >> 'VM_global_library.vm' in any resource loader. >> I use version 2.0.4 on WIN2KSP4 with JDK 1.5.0_06. >> When i got this problem with version 2.0.2 i resolved it with set >> CLASSPATH=. (it seemed to me that some jars from the former CLASSPATH >> were in the way). >> But now i get this error even with an empty CLASSPATH or one >> containing only a single dot. >> My settings.xml is >> >> >> //winpc229/supply/Maven2/Repository >> >> >> true >> http >> proxy >> 81 >> >> >> >> >> The complete debug/error output is below. >> I hope that someone can help me (and that this is not a FAQ). >> >> Thanks and greetings >> >> Franz >> >> + Error stacktraces are turned on. >> Maven version: 2.0.4 >> [DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente >> und Einstellungen\feh\.m2\plugin-registry.xml' >> [DEBUG] Building Maven global-level plugin registry from: >> 'C:\Programme\maven-2.0.4\conf\plugin-registry.xml' >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'archetype'. >> [DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-3 from >> repository central >> [DEBUG] Retrieving parent-POM: >> org.apache.maven.plugins:maven-plugin-parent::2.0-beta-1 for project: >> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3 >> from the repository. >> [INFO] >> >> >> [INFO] Building Maven Default Project >> [INFO]task-segment: [archetype:create] (aggregator-style) >> [INFO] >> >> >> [DEBUG] >> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3:runtime >> (selected for runtime) >> [DEBUG] Retrieving parent-POM: >> org.apache.maven:maven-archetype::1.0-alpha-3 for project: >> org.apache.maven:maven-archetype-core:jar:1.0-alpha-3 from the >> repository. >> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for >> project: null:maven-archetype:pom:1.0-alpha-3 from the repository. >> [DEBUG] >> org.apache.maven:maven-archetype-core:jar:1.0-alpha-3:runtime >> (selected for runtime) >> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: >> plexus:plexus-utils:jar:1.0.3 from the repository. >> [DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime) >> [DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for >> project: plexus:plexus-container-default:jar:1.0-alpha-6 from the >> repository. >> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: >> plexus:plexus-containers:pom:1.0.2 from the repository. >> [DEBUG] plexus:plexus-container-default:jar:1.0-alpha-6:runtime >> (selected for runtime) >> [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime >> (selected for runtime) >> [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) >> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: >> plexus:plexus-utils:jar:1.0.2 from the repository. >> [DEBUG] plexus:plexus-utils:jar:1.0.2:runtime (removed - nearer >> found: 1.0.3) >> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for >> project: org.apache.maven:maven-model:jar:2.0-beta-1 from the >> repository. >> [DEBUG] org.apache.maven:maven-model:jar:2.0-beta-1:runtime >> (selected for runtime) >> [DEBUG] Retrieving parent-POM: plexus:plexus-components::1.0 for >> project: plexus:plexus-velocity:jar:1.0 from the repository. >> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0 for project: >> plexus:plexus-components:pom:1.0 from the repository. >> [DEBUG] plexus:plexus-velocity:jar:1.0:runtime (selected
xDoc i18n does not honor KEY attribute in tag in element in navigation.xml
I am using Maven 1.1-beta-2 and maven-xdoc-plugin-1.9.2 on a Windows XP workstation. I made changed my navigation.xml file to use i18n support, removing all the NAME attributes and adding KEY attributes to reference values in the properties files. tags within the element are displayed correctly, but tags within the element result in empty strings. Here is the excerpt from my naviagtion.xml file and the matching english properties file. http://www.ibm.com/software/webservers/appserv/community/"; /> http://www.ibm.com/software/webservers/appserv/community/support/"; /> Nav.0.Purchase_support = Purchase support Nav.0.Product_support = Product support Nav.0.User_Documentation = User Documentation I suspect something needs to be added to site.jsl, but I need big clue to fix it. Truly, Lance
weird issue with custom lifecycle and multiple modules
Hi all, I have a multiple module project. parent \- mysar (packaging sar - provided by the jboss-sar-maven-plugin) \- myplugin (packaging eclipse-plugin - provided by a homemade plugin). Both have the relevant plugin defined in their build section with true. If i add the 2 modules in parent in given order, then both get build correctly. There are no dependencies between the two, so this is also the order in which they are built. I get a mysar-1.0-SNAPSHOT.sar and a myplugin-1.0-SNAPSHOT.jar (since the extension for eclipse-plugin is defines as just jar). When I build both separately, I get the same result. But when I reverse the order of the modules, the plugin gets extension eclipse-plugin instead of jar! The sar is built correctly. I can fix this by moving the maven plugin that defines the eclipse-plugin lifecycle to parent. Does anybody have any idea what's going on here ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xDoc Scrambles UTF-8 source files when generating UTF-8 HTML
I am using Maven 1.1-beta-2 and maven-xdoc-plugin-1.9.2 on a Windows XP workstation. When I attempt to build UTF-8 encoded HTML from UTF-8 XML source files, every special character is scrambled. I haven't done the analysis, but I would guess that every multi-byte character is being treated like a group of single byte characters. We are using the Maven xDoc plug-in to generate our on-line user guide. We sent the English XML source and I18N properties file to be translated into 9 languages. The returned files are UTF-8 encoded. Each source file begins. I build each language tree seperately and then combine the output trees into a single web site. In my project properties, I specify maven.xdoc.includeProjectDocumentation=no maven.xdoc.date=navigation-bottom maven.xdoc.jsl=file:${basedir}/src/site.jsl maven.docs.outputencoding=UTF-8 maven.docs.src=${basedir}/src/xdoc/en maven.faq.src=${basedir}/src/xdoc/en/Faq maven.xdoc.bundle.src=${basedir}/src/i18nBundles maven.xdoc.bundle=wasce maven.xdoc.locale.default=en maven.docs.dest=${maven.build.dir}/docs/en When I want to generate a site in a different language, I override the properties on the maven command line like this: -Dmaven.docs.src=${basedir}/src/xdoc/xx -Dmaven.faq.src=${basedir}/src/xdoc/xx/Faq -Dmaven.xdoc.locale.default=xx -Dmaven.docs.dest=${maven.build.dir}/docs/xx where xx is replaced with the language to be generated (de es fr it ko pt_BR ru zh_CN zh_TW) In my UTF-8 enabled editor, the source files appear to be properly encoded. Firefox and the Internet Explorer both agree that the HTML is UTF-8 encoded. The characters are scrambled. What am I doing wrong? Lance
RE: Error transferring file
Thank you so much. I used -o option and it seems to be working now. From: John Casey [mailto:[EMAIL PROTECTED] Sent: Fri 4/28/2006 8:26 AM To: Maven Users List Subject: Re: Error transferring file Well, you could probably do two things: 1. try using offline mode for your builds. This is done by adding -o to your command line. 2. try using maven-proxy to setup an internally cached repository, and then configure your settings.xml to use that proxy as a mirror of 'central' (ibiblio). I believe there is documentation for this in http://maven.apache.org/guides/index.html HTH, John On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > > OK, but this time, I am unable to build complete project(it has 70 > submodules). Yesterday, I changed scope of some dependencies to "provided" > from "compile", Now, problem is coming more so unable to build whole > project. > > Is there anyway, I could avoid contacting Ibiblio as files are already > downloaded. Later, we can again enable to get latest ones. > > Thanks, > Vijay > > > > > From: Alexandre Poitras [mailto:[EMAIL PROTECTED] > Sent: Fri 4/28/2006 8:14 AM > To: Maven Users List > Subject: Re: Error transferring file > > > > Ibiblio sometimes is overloaded. > > On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > > Could any body suggest me why sometimes, I get error transferring file. > If I build again, it builds without any problem. For example, I got below > given error: > > > > [INFO] [resources:resources] > > [INFO] Using default encoding to copy filtered resources. > > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > > [WARNING] Unable to get resource from repository central ( > http://repo1.maven.org > > /maven2) > > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > > [INFO] > > > [ERROR] BUILD ERROR > > [INFO] > > > [INFO] Error building POM (may not be this project's POM). > > > > Project ID: admin:admin > > Reason: Error getting POM for 'admin:admin' from the repository: Error > transferr > > ing file > > admin:admin:pom:1.0 > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > I tried to build again, it built without any problem. It keeps happening > as my project has about 70 submodules. > > > > Please suggest any solution. > > > > Thanks, > > > > Vijay > > > > - > > 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: Error transferring file
Another thing that can help you when you don't use Maven offline is changing the snapshot repository update policy (in your settings.xml or pom.xml) to something like daily. I think by default it is set to "always" in the super pom. On 4/28/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: Use "mvn -o ...". It tells Maven to run offline, On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > OK, but this time, I am unable to build complete project(it has 70 submodules). Yesterday, I changed scope of some dependencies to "provided" from "compile", Now, problem is coming more so unable to build whole project. )> > Is there anyway, I could avoid contacting Ibiblio as files are already downloaded. Later, we can again enable to get latest ones. > > Thanks, > Vijay > > > > > From: Alexandre Poitras [mailto:[EMAIL PROTECTED] > Sent: Fri 4/28/2006 8:14 AM > To: Maven Users List > Subject: Re: Error transferring file > > > > Ibiblio sometimes is overloaded. > > On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > > Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: > > > > [INFO] [resources:resources] > > [INFO] Using default encoding to copy filtered resources. > > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > > [WARNING] Unable to get resource from repository central (http://repo1.maven.org > > /maven2) > > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > > [INFO] > > [ERROR] BUILD ERROR > > [INFO] > > [INFO] Error building POM (may not be this project's POM). > > > > Project ID: admin:admin > > Reason: Error getting POM for 'admin:admin' from the repository: Error transferr > > ing file > > admin:admin:pom:1.0 > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. > > > > Please suggest any solution. > > > > Thanks, > > > > Vijay > > > > - > > 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: Error transferring file
Well, you could probably do two things: 1. try using offline mode for your builds. This is done by adding -o to your command line. 2. try using maven-proxy to setup an internally cached repository, and then configure your settings.xml to use that proxy as a mirror of 'central' (ibiblio). I believe there is documentation for this in http://maven.apache.org/guides/index.html HTH, John On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: OK, but this time, I am unable to build complete project(it has 70 submodules). Yesterday, I changed scope of some dependencies to "provided" from "compile", Now, problem is coming more so unable to build whole project. Is there anyway, I could avoid contacting Ibiblio as files are already downloaded. Later, we can again enable to get latest ones. Thanks, Vijay From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Fri 4/28/2006 8:14 AM To: Maven Users List Subject: Re: Error transferring file Ibiblio sometimes is overloaded. On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > [WARNING] Unable to get resource from repository central ( http://repo1.maven.org > /maven2) > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > [INFO] > [ERROR] BUILD ERROR > [INFO] > [INFO] Error building POM (may not be this project's POM). > > Project ID: admin:admin > Reason: Error getting POM for 'admin:admin' from the repository: Error transferr > ing file > admin:admin:pom:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. > > Please suggest any solution. > > Thanks, > > Vijay > > - > 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: Error transferring file
Well, you can always use the "mvn -o" option to tell it that you are working "offline". -K On 4/28/06 8:16 AM, "Vijay Shanker" <[EMAIL PROTECTED]> wrote: > OK, but this time, I am unable to build complete project(it has 70 > submodules). Yesterday, I changed scope of some dependencies to "provided" > from "compile", Now, problem is coming more so unable to build whole project. > > Is there anyway, I could avoid contacting Ibiblio as files are already > downloaded. Later, we can again enable to get latest ones. > > Thanks, > Vijay > > > > > From: Alexandre Poitras [mailto:[EMAIL PROTECTED] > Sent: Fri 4/28/2006 8:14 AM > To: Maven Users List > Subject: Re: Error transferring file > > > > Ibiblio sometimes is overloaded. > > On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: >> Could any body suggest me why sometimes, I get error transferring file. If I >> build again, it builds without any problem. For example, I got below given >> error: >> >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom >> [WARNING] Unable to get resource from repository central >> (http://repo1.maven.org >> /maven2) >> Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom >> [INFO] >> >> [ERROR] BUILD ERROR >> [INFO] >> >> [INFO] Error building POM (may not be this project's POM). >> >> Project ID: admin:admin >> Reason: Error getting POM for 'admin:admin' from the repository: Error >> transferr >> ing file >> admin:admin:pom:1.0 >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> I tried to build again, it built without any problem. It keeps happening as >> my project has about 70 submodules. >> >> Please suggest any solution. >> >> Thanks, >> >> Vijay >> >> - >> 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] -- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of Information Services The University of Kansas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error transferring file
Use "mvn -o ...". It tells Maven to run offline, On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: OK, but this time, I am unable to build complete project(it has 70 submodules). Yesterday, I changed scope of some dependencies to "provided" from "compile", Now, problem is coming more so unable to build whole project. Is there anyway, I could avoid contacting Ibiblio as files are already downloaded. Later, we can again enable to get latest ones. Thanks, Vijay From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Fri 4/28/2006 8:14 AM To: Maven Users List Subject: Re: Error transferring file Ibiblio sometimes is overloaded. On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > [WARNING] Unable to get resource from repository central (http://repo1.maven.org > /maven2) > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > [INFO] > [ERROR] BUILD ERROR > [INFO] > [INFO] Error building POM (may not be this project's POM). > > Project ID: admin:admin > Reason: Error getting POM for 'admin:admin' from the repository: Error transferr > ing file > admin:admin:pom:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. > > Please suggest any solution. > > Thanks, > > Vijay > > - > 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: Error transferring file
OK, but this time, I am unable to build complete project(it has 70 submodules). Yesterday, I changed scope of some dependencies to "provided" from "compile", Now, problem is coming more so unable to build whole project. Is there anyway, I could avoid contacting Ibiblio as files are already downloaded. Later, we can again enable to get latest ones. Thanks, Vijay From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Fri 4/28/2006 8:14 AM To: Maven Users List Subject: Re: Error transferring file Ibiblio sometimes is overloaded. On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Could any body suggest me why sometimes, I get error transferring file. If I > build again, it builds without any problem. For example, I got below given > error: > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Error building POM (may not be this project's POM). > > Project ID: admin:admin > Reason: Error getting POM for 'admin:admin' from the repository: Error > transferr > ing file > admin:admin:pom:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > I tried to build again, it built without any problem. It keeps happening as > my project has about 70 submodules. > > Please suggest any solution. > > Thanks, > > Vijay > > - > 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: Error transferring file
By the way, an internal corporation repository and Maven-Proxy should fix this or at least reduce tremendouslythe number of time it happens. On 4/28/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: Ibiblio sometimes is overloaded. On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom > [WARNING] Unable to get resource from repository central (http://repo1.maven.org > /maven2) > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom > [INFO] > [ERROR] BUILD ERROR > [INFO] > [INFO] Error building POM (may not be this project's POM). > > Project ID: admin:admin > Reason: Error getting POM for 'admin:admin' from the repository: Error transferr > ing file > admin:admin:pom:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. > > Please suggest any solution. > > Thanks, > > Vijay > > - > 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: Error transferring file
Ibiblio sometimes is overloaded. On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: admin:admin Reason: Error getting POM for 'admin:admin' from the repository: Error transferr ing file admin:admin:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. Please suggest any solution. Thanks, Vijay - 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: RE : Prevent Inheritance
In your parent POM, try: [...] false HTH, John On 4/28/06, Olivier Lamy <[EMAIL PROTECTED]> wrote: http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin @inherited -Olivier -Message d'origine- De : Wilfred Springer [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 13:05 À : Maven Users List Objet : Prevent Inheritance Hi all, Is there any way to prevent a plugin in your plugins section to be inherited by submodules? Thanks, Wilfred Wilfred Springer | Software Architect | TomTom | [EMAIL PROTECTED] | +31 646 720 990 This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error transferring file
Could any body suggest me why sometimes, I get error transferring file. If I build again, it builds without any problem. For example, I got below given error: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: admin:admin Reason: Error getting POM for 'admin:admin' from the repository: Error transferr ing file admin:admin:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) I tried to build again, it built without any problem. It keeps happening as my project has about 70 submodules. Please suggest any solution. Thanks, Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2BookIsOut
You can reregister and get it again. From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Fri 4/28/2006 7:45 AM To: Maven Users List Subject: RE: Maven2BookIsOut I registered my email to get the book, but the download didn't work. Now it just gives me an "expired" page. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:00 AM To: 'Maven Users List' Subject: RE: Maven2BookIsOut > -Original Message- > From: Rob Dickens [mailto:[EMAIL PROTECTED] > Sent: vendredi 28 avril 2006 12:32 > To: Maven Users List > Subject: Re: Maven2BookIsOut > > Hi. Use the 'released' link at the top of the page. > > The bottom link has an extraneous trailing dot! I've just fixed it, thanks. -Vincent > On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: > > > Tried to access the book, but got the following : > > 403 - Forbidden > > > > Is this not for everyone to download ? > > Regards, Jaikumar ___ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set - 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: Maven2BookIsOut
You need to register for every download. On 4/28/06, David Jackman <[EMAIL PROTECTED]> wrote: > I registered my email to get the book, but the download didn't work. Now it > just gives me an "expired" page. > > -Original Message- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 5:00 AM > To: 'Maven Users List' > Subject: RE: Maven2BookIsOut > > > > > -Original Message- > > From: Rob Dickens [mailto:[EMAIL PROTECTED] > > Sent: vendredi 28 avril 2006 12:32 > > To: Maven Users List > > Subject: Re: Maven2BookIsOut > > > > Hi. Use the 'released' link at the top of the page. > > > > The bottom link has an extraneous trailing dot! > > I've just fixed it, thanks. > > -Vincent > > > On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: > > > > > Tried to access the book, but got the following : > > > 403 - Forbidden > > > > > > Is this not for everyone to download ? > > > Regards, Jaikumar > > > > > > > ___ > Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement > vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et > suivez l'actualité en temps réel. > Rendez-vous sur http://fr.yahoo.com/set > > - > 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: Doubt in using wagon plugin
Small mistake On 4/28/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > The exception messages are still in french but I think you can figure > out what it means: > http://ez-files.net/download.php?file=b0faa260600c0f4f9e4a97be7ce0d496 > > You need to change the ID field so it fits your server ID (defined in > settings.xml). To install this mojo, use the mojo plugin. To use it, > just specify an url parameter and an archiveName parameter either inve archiveName should be nomArchive. > your pom or on the command line. I haven't tried using it with FTP > just WebDav (WebDav support has some bugs in Maven btw) but it should > work > > Don't be afraid to ask if you need more help. > > On 4/27/06, RobJac <[EMAIL PROTECTED]> wrote: > > > > Hi Alexandre, > > could you please send me the upload plugin? > > -- > > View this message in context: > > http://www.nabble.com/Doubt-in-using-wagon-plugin-t1506734.html#a4115982 > > 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]
Re: Doubt in using wagon plugin
The exception messages are still in french but I think you can figure out what it means: http://ez-files.net/download.php?file=b0faa260600c0f4f9e4a97be7ce0d496 You need to change the ID field so it fits your server ID (defined in settings.xml). To install this mojo, use the mojo plugin. To use it, just specify an url parameter and an archiveName parameter either in your pom or on the command line. I haven't tried using it with FTP just WebDav (WebDav support has some bugs in Maven btw) but it should work Don't be afraid to ask if you need more help. On 4/27/06, RobJac <[EMAIL PROTECTED]> wrote: > > Hi Alexandre, > could you please send me the upload plugin? > -- > View this message in context: > http://www.nabble.com/Doubt-in-using-wagon-plugin-t1506734.html#a4115982 > 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]
RE: Maven2BookIsOut
I registered my email to get the book, but the download didn't work. Now it just gives me an "expired" page. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:00 AM To: 'Maven Users List' Subject: RE: Maven2BookIsOut > -Original Message- > From: Rob Dickens [mailto:[EMAIL PROTECTED] > Sent: vendredi 28 avril 2006 12:32 > To: Maven Users List > Subject: Re: Maven2BookIsOut > > Hi. Use the 'released' link at the top of the page. > > The bottom link has an extraneous trailing dot! I've just fixed it, thanks. -Vincent > On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: > > > Tried to access the book, but got the following : > > 403 - Forbidden > > > > Is this not for everyone to download ? > > Regards, Jaikumar ___ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set - 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]
Powered by Maven: domingo, xsddoc, gui4j
Hello, you may want to add the following projects to the list of teh 'powered by' section of Maven: - domingo (http://domingo.sourceforge.net/), a simple, consistent, object-oriented easy-to-use interface to the Lotus Notes/Domino Java-API - xsddoc (http://xframe.sourceforge.net/xsddoc/), an XML Schema documentation generator - gui4j (http://www.gui4j.org/), a framework for describing Java Swing GUIs in XML All projects are currently built with Maven 1.x and are planned to migrate to Maven 2.0. Best regards, Kurt Riede - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Release Plugin Removes Dependencies
http://jira.codehaus.org/browse/MRELEASE-74 http://jira.codehaus.org/browse/MRELEASE-64 Push vote. -Olivier -Message d'origine- De : Brian Ashburn [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 14:20 À : users@maven.apache.org Objet : Release Plugin Removes Dependencies I have a project that I use to contain all of my configuration specific information for client releases like HBM files, Spring configurations, and so on. This project is the one that I use to build and deploy my database. It contains a few different profiles for running ant tasks around the hibernate tools (since I couldn't get the hibernate plugins working real well with Maven 2). The problem that I have is that when I run "mvn release:prepare" it removes the depencies from my plugins in the profiles. It also removes the configurations for my notifiers under scm. Does anyone know if there is an issue already entered for this, or a workaround to keep it from happening? I have been very pleased with the release plugin so far. Thanks for your help. Brian Ashburn This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Maven
I think Simon is right, have you setted your proxy correctly? On 4/27/06, ajayasahoo <[EMAIL PROTECTED]> wrote: > > Hi alan, > > I did try with -U option and get back the same error. > > Thx, > Ajaya > -- > View this message in context: > http://www.nabble.com/New-to-Maven-t1512971.html#a4123451 > 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]
Release Plugin Removes Dependencies
I have a project that I use to contain all of my configuration specific information for client releases like HBM files, Spring configurations, and so on. This project is the one that I use to build and deploy my database. It contains a few different profiles for running ant tasks around the hibernate tools (since I couldn't get the hibernate plugins working real well with Maven 2). The problem that I have is that when I run "mvn release:prepare" it removes the depencies from my plugins in the profiles. It also removes the configurations for my notifiers under scm. Does anyone know if there is an issue already entered for this, or a workaround to keep it from happening? I have been very pleased with the release plugin so far. Thanks for your help. Brian Ashburn
RE : [M2] : maven-release-plugin - about what ?
Look at this great link : http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versi oning_-_Best_Practices -Olivier -Message d'origine- De : Michael Meyer [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 14:14 À : Maven Users List Objet : Re: [M2] : maven-release-plugin - about what ? Hi Jaikumar, the functionality of the release plugin is described here: http://maven.apache.org/plugins/maven-release-plugin/introduction.html The plugin assumes that you use a scm system like Subversion or cvs and have got an internal repository in your company for releases. Assume your project has got version 1.2-SNAPSHOT and you think its time to make this version of the project available to others. So you run the release plugin. The plugin will add a tag to your scm (for example 1.2), will create the artifact (for example my-project-1.2.jar) and will upload the artifact to your internal repository. It will also create additional pom and checksum files in your internal repository. Others can now use your released version as dependency in their project. Hope this helps. If I missed the point of the question i apologise ;-) Cheers, michael Sharma, Jaikumar schrieb: > Dear Maven Users. > > What is the purpose of maven-release-plugin ? what features basically > it provides ? I did not find right info about this plugin on Maven > website. Thanks for your help! > > Regards, Jaikumar > > - - - - - - - DISCLAIMER- - - - - - - - > Unless indicated otherwise, the information contained in this message > is privileged and confidential, and is intended only for the use of > the > addressee(s) named above and others who have been specifically authorized to > receive it. If you are not the intended recipient, you are hereby notified > that any dissemination, distribution or copying of this message and/or > attachments is strictly prohibited. The company accepts no liability for any > damage caused by any virus transmitted by this email. Furthermore, the > company does not warrant a proper and complete transmission of this > information, nor does it accept liablility for any delays. If you have > received this message in error, please contact the sender and delete the > message. Thank you. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] : maven-release-plugin - about what ?
Hi Jaikumar, the functionality of the release plugin is described here: http://maven.apache.org/plugins/maven-release-plugin/introduction.html The plugin assumes that you use a scm system like Subversion or cvs and have got an internal repository in your company for releases. Assume your project has got version 1.2-SNAPSHOT and you think its time to make this version of the project available to others. So you run the release plugin. The plugin will add a tag to your scm (for example 1.2), will create the artifact (for example my-project-1.2.jar) and will upload the artifact to your internal repository. It will also create additional pom and checksum files in your internal repository. Others can now use your released version as dependency in their project. Hope this helps. If I missed the point of the question i apologise ;-) Cheers, michael Sharma, Jaikumar schrieb: Dear Maven Users. What is the purpose of maven-release-plugin ? what features basically it provides ? I did not find right info about this plugin on Maven website. Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven AspectJ Plugin 4.0 for Maven 1.x released
Sure, and if you file an issue on it in the mojo jira on the aspectj component, you will be able to see when i'm done :) /K On 28/04/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > Could you document that on the website of the plugin? We are not on Maven 2 > yet, but we would like to be soon. It would be nice to have that > information. > > regards, > > Wim > > 2006/4/28, Kaare Nilsen <[EMAIL PROTECTED]>: > > > > Well.. yes and no :) > > It does not mess with the clover pr se, because the clover maven2 > > plugin creates a new folder for the instrumented sources, and runs the > > test against that one, but, and a big but. You then have to compile > > the instrumented sources with the aspectJ plugin if you depend on > > aspects in your domain code, or tests for that matter. > > > > /Kaare > > > > > > On 27/04/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > > Does it work with the m2 clover plugin? I'm afraid I am out of ideas for > > > http://jira.codehaus.org/browse/MPCLOVER-47. > > > > > > -Lukas > > > > > > > > > Kaare Nilsen wrote: > > > > There is one at mojo :) > > > > > > > > http://mojo.codehaus.org/aspectj-maven-plugin/ > > > > > > > > /Kaare > > > > > > > > On 27/04/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > > > > > >>Congrats on the release! Any plans for a M2 version? > > > >> > > > >>2006/4/27, Lukas Theussl <[EMAIL PROTECTED]>: > > > >> > > > >>>We are pleased to announce the Maven AspectJ Plugin 4.0 release! > > > >>> > > > >>>http://maven.apache.org/maven-1.x/plugins/aspectj/ > > > >>> > > > >>> > > > >>> > > > > > >>>=== > > > >>> > > > >>>Changes in this version include: > > > >>> > > > >>> New Features: > > > >>> > > > >>>o New property maven.aspectj.dest to define output folder for > > > >>> aspectj:compile goal. Fixes MPASPECTJ-15. Thanks to Alexey > > Dashkevich. > > > >>>o Add a report for the plugin. Fixes MPASPECTJ-23. Thanks to Shinobu > > Kawai > > > >>> Yoshida. > > > >>>o Added maven.aspectj.failonerror property. Fixes MPASPECTJ-24. > > Thanks to > > > >>> Shinobu Kawai. > > > >>> > > > >>> Fixed bugs: > > > >>> > > > >>>o Unable to weave only sources defined in argument files. New > > property > > > >>> maven.aspectj.src.argfilesOnly. Fixes MPASPECTJ-14. Thanks to > > Alexey > > > >>> Dashkevich. > > > >>> > > > >>> Changes: > > > >>> > > > >>>o Upgraded to AspectJ 1.5.0 Fixes MPASPECTJ-21. > > > >>>o Add support for iajc's messageHolderClassattribute and added > > > >>> maven.dependency.classpath to the iajc's taskdef so that custom > > message > > > >>> holder classes will be found at execution time. Fixes > > MPASPECTJ-19. > > > >>> > > > >>> > > > > > >>>=== > > > >>> > > > >>> > > > >>>To automatically install the plugin, type the following on a single > > line: > > > >>> > > > >>>maven plugin:download > > > >>> > > > >>>-Dmaven.repo.remote=http://www.ibiblio.org/maven, > > > >>>http://cvs.apache.org/repository/ > > > >>> -DgroupId=maven > > > >>> -DartifactId=maven-aspectj-plugin > > > >>> -Dversion=4.0 > > > >>> > > > >>>For a manual installation, you can download the plugin here: > > > >>> > > > >>> > > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-aspectj-plugin-4.0.jar > > > >>> > > > >>> > > > >>>Have fun! > > > >>>-The Maven AspectJ Plugin development team > > > >>> > > > >>>- > > > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >>>For additional commands, e-mail: [EMAIL PROTECTED] > > > >>> > > > >>> > > > >> > > > >> > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven AspectJ Plugin 4.0 for Maven 1.x released
Could you document that on the website of the plugin? We are not on Maven 2 yet, but we would like to be soon. It would be nice to have that information. regards, Wim 2006/4/28, Kaare Nilsen <[EMAIL PROTECTED]>: > > Well.. yes and no :) > It does not mess with the clover pr se, because the clover maven2 > plugin creates a new folder for the instrumented sources, and runs the > test against that one, but, and a big but. You then have to compile > the instrumented sources with the aspectJ plugin if you depend on > aspects in your domain code, or tests for that matter. > > /Kaare > > > On 27/04/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > Does it work with the m2 clover plugin? I'm afraid I am out of ideas for > > http://jira.codehaus.org/browse/MPCLOVER-47. > > > > -Lukas > > > > > > Kaare Nilsen wrote: > > > There is one at mojo :) > > > > > > http://mojo.codehaus.org/aspectj-maven-plugin/ > > > > > > /Kaare > > > > > > On 27/04/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > > > >>Congrats on the release! Any plans for a M2 version? > > >> > > >>2006/4/27, Lukas Theussl <[EMAIL PROTECTED]>: > > >> > > >>>We are pleased to announce the Maven AspectJ Plugin 4.0 release! > > >>> > > >>>http://maven.apache.org/maven-1.x/plugins/aspectj/ > > >>> > > >>> > > >>> > > > >>>=== > > >>> > > >>>Changes in this version include: > > >>> > > >>> New Features: > > >>> > > >>>o New property maven.aspectj.dest to define output folder for > > >>> aspectj:compile goal. Fixes MPASPECTJ-15. Thanks to Alexey > Dashkevich. > > >>>o Add a report for the plugin. Fixes MPASPECTJ-23. Thanks to Shinobu > Kawai > > >>> Yoshida. > > >>>o Added maven.aspectj.failonerror property. Fixes MPASPECTJ-24. > Thanks to > > >>> Shinobu Kawai. > > >>> > > >>> Fixed bugs: > > >>> > > >>>o Unable to weave only sources defined in argument files. New > property > > >>> maven.aspectj.src.argfilesOnly. Fixes MPASPECTJ-14. Thanks to > Alexey > > >>> Dashkevich. > > >>> > > >>> Changes: > > >>> > > >>>o Upgraded to AspectJ 1.5.0 Fixes MPASPECTJ-21. > > >>>o Add support for iajc's messageHolderClassattribute and added > > >>> maven.dependency.classpath to the iajc's taskdef so that custom > message > > >>> holder classes will be found at execution time. Fixes > MPASPECTJ-19. > > >>> > > >>> > > > >>>=== > > >>> > > >>> > > >>>To automatically install the plugin, type the following on a single > line: > > >>> > > >>>maven plugin:download > > >>> > > >>>-Dmaven.repo.remote=http://www.ibiblio.org/maven, > > >>>http://cvs.apache.org/repository/ > > >>> -DgroupId=maven > > >>> -DartifactId=maven-aspectj-plugin > > >>> -Dversion=4.0 > > >>> > > >>>For a manual installation, you can download the plugin here: > > >>> > > >>> > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-aspectj-plugin-4.0.jar > > >>> > > >>> > > >>>Have fun! > > >>>-The Maven AspectJ Plugin development team > > >>> > > >>>- > > >>>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 : Prevent Inheritance
http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin @inherited -Olivier -Message d'origine- De : Wilfred Springer [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 avril 2006 13:05 À : Maven Users List Objet : Prevent Inheritance Hi all, Is there any way to prevent a plugin in your plugins section to be inherited by submodules? Thanks, Wilfred Wilfred Springer | Software Architect | TomTom | [EMAIL PROTECTED] | +31 646 720 990 This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Prevent Inheritance
Hi all, Is there any way to prevent a plugin in your plugins section to be inherited by submodules? Thanks, Wilfred Wilfred Springer | Software Architect | TomTom | [EMAIL PROTECTED] | +31 646 720 990
RE: Maven2BookIsOut
> -Original Message- > From: Rob Dickens [mailto:[EMAIL PROTECTED] > Sent: vendredi 28 avril 2006 12:32 > To: Maven Users List > Subject: Re: Maven2BookIsOut > > Hi. Use the 'released' link at the top of the page. > > The bottom link has an extraneous trailing dot! I've just fixed it, thanks. -Vincent > On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: > > > Tried to access the book, but got the following : > > 403 - Forbidden > > > > Is this not for everyone to download ? > > Regards, Jaikumar ___ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2BookIsOut
Hi. Use the 'released' link at the top of the page. The bottom link has an extraneous trailing dot! Rob On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: Tried to access the book, but got the following : 403 - Forbidden Is this not for everyone to download ? Regards, Jaikumar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2BookIsOut
Hi Jai, try this http://www.theserverside.com/news/thread.tss?thread_id=40126 Anshuman On 4/28/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: > > Tried to access the book, but got the following : >403 - Forbidden > > Is this not for everyone to download ? > Regards, Jaikumar > > > -Original Message- > From: Rob Dickens [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 3:23 PM > To: Maven Users List > Subject: Maven2BookIsOut > > > http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2BookIsOut > > Many thanks for this! > > Rob > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - - - - - - - DISCLAIMER- - - - - - - - > Unless indicated otherwise, the information contained in this message is > privileged and confidential, and is intended only for the use of the > addressee(s) named above and others who have been specifically authorized > to > receive it. If you are not the intended recipient, you are hereby notified > that any dissemination, distribution or copying of this message and/or > attachments is strictly prohibited. The company accepts no liability for > any > damage caused by any virus transmitted by this email. Furthermore, the > company does not warrant a proper and complete transmission of this > information, nor does it accept liablility for any delays. If you have > received this message in error, please contact the sender and delete the > message. Thank you. > >
RE: Maven2BookIsOut
Tried to access the book, but got the following : 403 - Forbidden Is this not for everyone to download ? Regards, Jaikumar -Original Message- From: Rob Dickens [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 3:23 PM To: Maven Users List Subject: Maven2BookIsOut http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2BookIsOut Many thanks for this! Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
[M2] : maven-release-plugin - about what ?
Dear Maven Users. What is the purpose of maven-release-plugin ? what features basically it provides ? I did not find right info about this plugin on Maven website. Thanks for your help! Regards, Jaikumar - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
Maven2BookIsOut
http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2BookIsOut Many thanks for this! Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] more than 1
Hello you cas use build-helper-maven-plugin like following ... org.codehaus.mojo build-helper-maven-plugin add-source generate-sources add-source PATHTOOTHERSOURCE ... 2006/4/28, Geoffrey De Smet <[EMAIL PROTECTED]>: > maven-build-helper-plugin at mojo.codehaus.org > > [EMAIL PROTECTED] wrote: > > Hi, > > > > is it possible to define more than one ? > > > > > > could anybody give me a hint ? > > > > > > TIA > > > > Martin > > > > > > > > > > > > > > > > > > ++ > > Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten > > bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner > > Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der > > Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des > > Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den > > Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. > > Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert > > und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen > > wird. > > ++ > > This communication is confidential and is intended solely for the > > addressee(s). If you are not the intended recipient(s), his/her assistant, > > or authorized recipient, any form of disclosure, reproduction, distribution > > or any use of this communication or the information in it, is strictly > > prohibited and may be unlawful. In this case, please notify the sender > > immediately and destroy the e-mail. Electronic communication via the > > Internet by e-mail may be manipulated and/or read by third parties, thus we > > exclude any liability whatsoever for this e-mail. > > ++ > > > > -- > With kind regards, > Geoffrey De Smet > > > - > 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] more than 1
maven-build-helper-plugin at mojo.codehaus.org [EMAIL PROTECTED] wrote: Hi, is it possible to define more than one ? could anybody give me a hint ? TIA Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++ -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven AspectJ Plugin 4.0 for Maven 1.x released
Well.. yes and no :) It does not mess with the clover pr se, because the clover maven2 plugin creates a new folder for the instrumented sources, and runs the test against that one, but, and a big but. You then have to compile the instrumented sources with the aspectJ plugin if you depend on aspects in your domain code, or tests for that matter. /Kaare On 27/04/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > Does it work with the m2 clover plugin? I'm afraid I am out of ideas for > http://jira.codehaus.org/browse/MPCLOVER-47. > > -Lukas > > > Kaare Nilsen wrote: > > There is one at mojo :) > > > > http://mojo.codehaus.org/aspectj-maven-plugin/ > > > > /Kaare > > > > On 27/04/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > >>Congrats on the release! Any plans for a M2 version? > >> > >>2006/4/27, Lukas Theussl <[EMAIL PROTECTED]>: > >> > >>>We are pleased to announce the Maven AspectJ Plugin 4.0 release! > >>> > >>>http://maven.apache.org/maven-1.x/plugins/aspectj/ > >>> > >>> > >>> > >>>=== > >>> > >>>Changes in this version include: > >>> > >>> New Features: > >>> > >>>o New property maven.aspectj.dest to define output folder for > >>> aspectj:compile goal. Fixes MPASPECTJ-15. Thanks to Alexey Dashkevich. > >>>o Add a report for the plugin. Fixes MPASPECTJ-23. Thanks to Shinobu Kawai > >>> Yoshida. > >>>o Added maven.aspectj.failonerror property. Fixes MPASPECTJ-24. Thanks to > >>> Shinobu Kawai. > >>> > >>> Fixed bugs: > >>> > >>>o Unable to weave only sources defined in argument files. New property > >>> maven.aspectj.src.argfilesOnly. Fixes MPASPECTJ-14. Thanks to Alexey > >>> Dashkevich. > >>> > >>> Changes: > >>> > >>>o Upgraded to AspectJ 1.5.0 Fixes MPASPECTJ-21. > >>>o Add support for iajc's messageHolderClassattribute and added > >>> maven.dependency.classpath to the iajc's taskdef so that custom message > >>> holder classes will be found at execution time. Fixes MPASPECTJ-19. > >>> > >>> > >>>=== > >>> > >>> > >>>To automatically install the plugin, type the following on a single line: > >>> > >>>maven plugin:download > >>> > >>>-Dmaven.repo.remote=http://www.ibiblio.org/maven, > >>>http://cvs.apache.org/repository/ > >>> -DgroupId=maven > >>> -DartifactId=maven-aspectj-plugin > >>> -Dversion=4.0 > >>> > >>>For a manual installation, you can download the plugin here: > >>> > >>>http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-aspectj-plugin-4.0.jar > >>> > >>> > >>>Have fun! > >>>-The Maven AspectJ Plugin development team > >>> > >>>- > >>>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: New to Site
i had realised that after i had posted the query. Sorry I did not post it in the forum after noticing it -- View this message in context: http://www.nabble.com/New-to-Site-t1517682.html#a4136703 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] more than 1
Hi, is it possible to define more than one ? could anybody give me a hint ? TIA Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++
Re: Maven2 and CVS
Fair enough, but I tried to specify the password in the URL (ugly I know, but just for the test). I suspect that maven-release-plugin does not pass the password to cvs command. BTW, I managed to build the 2.0-beta-4-SNAPSHOT; it was OutOfMemory error and I remedied it by inreasing the heap. But this is even worse. Same problem, but in addition it does not prompt me for a tag now. Never mind. The new version however has outputted the cvs command and it turns out it does not have the password in it, even if I supply it on the URL. I'll try the registry trick anyway Thanks Maciej From: Emmanuel Venisse <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: Maven Users List Subject: Re: Maven2 and CVS Date: Fri, 28 Apr 2006 09:59:36 +0200 ok, it's what I thought :-) cvsnt doesn't use .cvspass file. With cvsnt, you need to run manually 'cvs login' command and it will store password in windows registry. Maven-SCM use .cvspass like standard cvs and it can't use the windows registry. Emmanuel Maciej Mastalarczuk a écrit : Thanks for reply The OS is XP professional and CVS is CVSNT 2.0.51.d and I did try the colon with nothing after it and it didn't make any difference. I am however almost sure the culprit is maven-release-plugin (2.0-beta-3), which depends on broken scm plugins. I tried to check out the trunk and build it as the dependencies appear to be fixed there but it fails unit tests :-( Is there a downloadable version of maven-release-plugin that works with CVS? The plugin documentation website says there should be version 2.0-beta-4-SNAPSHOT, but I cannot find such tag anywahere. Regards Maciej From: Emmanuel Venisse <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: Maven Users List Subject: Re: Maven2 and CVS Date: Fri, 28 Apr 2006 09:01:07 +0200 what is your OS? What is your cvs version? Emmanuel Maciej Mastalarczuk a écrit : Hi, Did anybody have any luck in trying to release something to CVS with Maven2? I had no problems doing this with subversion, but CVS plugins appear to be somewhat broken. No matter what I do I get the following message: (...) [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to /CVSRepo for user someuser (...) I tried to specify the password in the URL and in .cvspass file (which is automatically created after specifying it in the url) and always get this message. Why is it ingoring the password?? Here is my test URL: I can't see anything wrong with it: scm:cvs:pserver:someuser:[EMAIL PROTECTED]:/CVSRepo:TestProject When I use say Eclipse's plugin to get to CVS everything works fine (the repository, username and password are OK). Thanks in advance. Any help would be appreciated. Maciej _ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au - 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] _ 1000s of Sexy Singles online now at Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22031&_t=751140432&_m=EXT - 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] _ Like your next flight on us? Velocity NAB Credit Card http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DNAT030%2E23080%2E0%26clk%3D1%26creativeID%3D34301&_t=754983092&_r=emailtagline&_m=EXT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 and CVS
ok, it's what I thought :-) cvsnt doesn't use .cvspass file. With cvsnt, you need to run manually 'cvs login' command and it will store password in windows registry. Maven-SCM use .cvspass like standard cvs and it can't use the windows registry. Emmanuel Maciej Mastalarczuk a écrit : Thanks for reply The OS is XP professional and CVS is CVSNT 2.0.51.d and I did try the colon with nothing after it and it didn't make any difference. I am however almost sure the culprit is maven-release-plugin (2.0-beta-3), which depends on broken scm plugins. I tried to check out the trunk and build it as the dependencies appear to be fixed there but it fails unit tests :-( Is there a downloadable version of maven-release-plugin that works with CVS? The plugin documentation website says there should be version 2.0-beta-4-SNAPSHOT, but I cannot find such tag anywahere. Regards Maciej From: Emmanuel Venisse <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: Maven Users List Subject: Re: Maven2 and CVS Date: Fri, 28 Apr 2006 09:01:07 +0200 what is your OS? What is your cvs version? Emmanuel Maciej Mastalarczuk a écrit : Hi, Did anybody have any luck in trying to release something to CVS with Maven2? I had no problems doing this with subversion, but CVS plugins appear to be somewhat broken. No matter what I do I get the following message: (...) [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to /CVSRepo for user someuser (...) I tried to specify the password in the URL and in .cvspass file (which is automatically created after specifying it in the url) and always get this message. Why is it ingoring the password?? Here is my test URL: I can't see anything wrong with it: scm:cvs:pserver:someuser:[EMAIL PROTECTED]:/CVSRepo:TestProject When I use say Eclipse's plugin to get to CVS everything works fine (the repository, username and password are OK). Thanks in advance. Any help would be appreciated. Maciej _ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au - 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] _ 1000s of Sexy Singles online now at Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22031&_t=751140432&_m=EXT - 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: Maven2 and CVS
Thanks for reply The OS is XP professional and CVS is CVSNT 2.0.51.d and I did try the colon with nothing after it and it didn't make any difference. I am however almost sure the culprit is maven-release-plugin (2.0-beta-3), which depends on broken scm plugins. I tried to check out the trunk and build it as the dependencies appear to be fixed there but it fails unit tests :-( Is there a downloadable version of maven-release-plugin that works with CVS? The plugin documentation website says there should be version 2.0-beta-4-SNAPSHOT, but I cannot find such tag anywahere. Regards Maciej From: Emmanuel Venisse <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: Maven Users List Subject: Re: Maven2 and CVS Date: Fri, 28 Apr 2006 09:01:07 +0200 what is your OS? What is your cvs version? Emmanuel Maciej Mastalarczuk a écrit : Hi, Did anybody have any luck in trying to release something to CVS with Maven2? I had no problems doing this with subversion, but CVS plugins appear to be somewhat broken. No matter what I do I get the following message: (...) [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to /CVSRepo for user someuser (...) I tried to specify the password in the URL and in .cvspass file (which is automatically created after specifying it in the url) and always get this message. Why is it ingoring the password?? Here is my test URL: I can't see anything wrong with it: scm:cvs:pserver:someuser:[EMAIL PROTECTED]:/CVSRepo:TestProject When I use say Eclipse's plugin to get to CVS everything works fine (the repository, username and password are OK). Thanks in advance. Any help would be appreciated. Maciej _ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au - 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] _ 1000s of Sexy Singles online now at Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22031&_t=751140432&_m=EXT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Some simple questions from a Maven 2.0 n00b
Exactly. I also use the dependencies plugin to copy all dependent jars to the lib dir. The finishing touch is a manual copy of this lib dir and the built jar to the deploy dir ;-) Kees On 4/28/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Note however that this won't work if you have any dependencies that > aren't on your classpath somewhere. Your jar will run but you'll error > out very quickly due to JVM failure to find classes. ;-) > > Basically, there is no completely trivial way to solve this problem > that I'm aware of. But instead lots of little things you can do to > help get your project running. > > Wayne > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
parent version element in installed pom isn't being expanded
When I do an install of a pom that has a parent where the parent version element is specified via a property, the property isn't being expanded in the generated installed or deployed pom. Eg: ... ${env.version} In the generated installed pom it is still specified as ${env.version} instead of the expanded value. At least in the version case, this is quite undesirable. And having to edit every pom and hard code a new version for every build would not be very pleasant as well as error prone (at least for a project with many sub projects as I have). Any suggestions are appreciated? Thanks, Jpl
RE: Deployment of war file using JBOSS
Anshuman, BTW you didn't answer my question: "It would be nice to understand why you are confused as this is not good and I'd like to improve the site as much as possible. Let us know and also please do not hesitate to use the Cargo mailing list (http://archive.codehaus.org/cargo/) as Cargo is not a project hosted by the Maven team." Could you please let me know what's confusing and how we could improve it please? Thanks -Vincent > -Original Message- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: vendredi 28 avril 2006 08:50 > To: 'Maven Users List' > Subject: RE: Deployment of war file using JBOSS > > Hi Anshuman, > > > -Original Message- > > From: Anshuman Srivastava [mailto:[EMAIL PROTECTED] > > Sent: vendredi 28 avril 2006 06:37 > > To: Maven Users List > > Subject: Re: Deployment of war file using JBOSS > > > > Hi Vincent > > Thanks for your concern.My problem is that I have already installed > > jboss-4.0.4 so I dont need to install it from a zip file.Where do I need > > to > > put this entry -- > > > > > > > > > > jboss4x > > c:/boss-4.0.4 > > > > > > > > > > local > > > > > > active.DMS > > DMS > > war > > > > > > > > > > > > > > > > > > I tried to put it after ,before , between and > > but everytime it is giving me error that -"Reason: Parse error > > reading POM. Reason: Unrecognised tag: 'configuration' (position: > > START_TAG > > seen ...\r\n\t ... @163:18)" > > > > I believe that i need to put some plugin entry for jboss-4.0.4and > > distribution management section for deployment. > > Nope. You're configuring the cargo plugin and thusn, as usual, you need to > put that plugin config in as shown on the link I gave you: > http://cargo.codehaus.org/Maven2+plugin :-) > > [snip] > > -Vincent ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger. Appelez le monde entier à partir de 0,012 /minute ! Téléchargez sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 and CVS
what is your OS? What is your cvs version? Emmanuel Maciej Mastalarczuk a écrit : Hi, Did anybody have any luck in trying to release something to CVS with Maven2? I had no problems doing this with subversion, but CVS plugins appear to be somewhat broken. No matter what I do I get the following message: (...) [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to /CVSRepo for user someuser (...) I tried to specify the password in the URL and in .cvspass file (which is automatically created after specifying it in the url) and always get this message. Why is it ingoring the password?? Here is my test URL: I can't see anything wrong with it: scm:cvs:pserver:someuser:[EMAIL PROTECTED]:/CVSRepo:TestProject When I use say Eclipse's plugin to get to CVS everything works fine (the repository, username and password are OK). Thanks in advance. Any help would be appreciated. Maciej _ realestate.com.au: the biggest address in property http://ninemsn.realestate.com.au - 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]