Re: Maven release plugin question

2011-05-05 Thread Yaakov Chaikin
the reactor artifactId to dlm-cwa, all worked just fine. Thanks everyone for the help. -Yaakov. On Wed, May 4, 2011 at 1:22 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: I think I kind of understand what's going on, but not sure how to solve it. What's going is that maven is treating my

Re: Maven release plugin question

2011-05-04 Thread Yaakov Chaikin
and developerConnection I tried specifying just https://dev.envieta.com:8443/svn/dlm, but it still didn't work... Any ideas? Thanks for you help! -Yaakov. On Tue, May 3, 2011 at 2:59 PM, Wendy Smoak wsm...@gmail.com wrote: On Tue, May 3, 2011 at 2:45 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Did I

Re: Maven release plugin question

2011-05-04 Thread Yaakov Chaikin
No, that was just my bad copy/paste. -Yaakov. On Wed, May 4, 2011 at 4:30 AM, Marc Rohlfs pomar...@googlemail.com wrote: developerConnectionscm:svn:https://dev.envieta.com:8443/svn/dlm}/developerConnection                                                                   ^ Could it be this

Re: Maven release plugin question

2011-05-04 Thread Yaakov Chaikin
maven understand that? -Yaakov. On Wed, May 4, 2011 at 11:56 AM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: svn info shows this: $ svn info Path: . URL: https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa Repository Root: https://dev.envieta.com:8443/svn/dlm I tried a few configurations

Re: Maven release plugin question

2011-05-03 Thread Yaakov Chaikin
Thanks! That put me on the right path and I think it's working now. Just for the sake of others reading this later... If you have dependencies that have to specify a version in the reactor or child modules, just use ${project.version} instead of ${parent.version}. Also, you have to make sure to

Re: Maven release plugin question

2011-05-03 Thread Yaakov Chaikin
14:42:06 EDT 2011 [INFO] Final Memory: 15M/36M [INFO] * On Tue, May 3, 2011 at 12:23 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Thanks! That put me on the right path and I think it's working

Re: Maven release plugin question

2011-05-03 Thread Yaakov Chaikin
?? -Yaakov. On Tue, May 3, 2011 at 2:42 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Hmm... Perhaps, I spoke too soon. Everything goes well during dry run, but committing doesn't work. Any ideas? * [INFO] Executing: cmd.exe /X /C svn --non-interactive commit

Maven release plugin question

2011-05-02 Thread Yaakov Chaikin
Hi all, I've used the maven release plugin for a long time, but I have always used it in situations when the room POM was the parent POM at the same time. Now, I am a project where that's not an option, but they still want to use the maven release plugin. Instead, their structure is as follows:

Using mvn release:prepare, mvn release:branch with non-reactor parent pom.xml

2011-01-04 Thread Yaakov Chaikin
Hi, Our project has a parent pom that's located as a sister module to all the other modules and the root pom is the rector pom that defines different profiles of different sets of modules to build. So, here is roughly our structure: pom.xml (rector pom.xml which references parent pom.xml for its

Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
Hi all, Tried Googling, but nothing that useful came up... I am pretty sure it's possible to do this though... I have a multi-module project and one of the modules is a standalone executable with dependencies on other modules as well as other 3rd party libraries. I need to run an assembly such

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
for: http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ /Anders On Fri, Feb 19, 2010 at 14:57, Yaakov Chaikin yaakov.chai...@gmail.comwrote: Hi all, Tried Googling, but nothing that useful came up... I am pretty sure it's possible to do this though... I have

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
/includeBaseDirectory dependencySets dependencySet outputDirectory//outputDirectory /dependencySet /dependencySets /assembly Aleksey. 19.02.2010 18:07, Yaakov Chaikin пишет: Thanks, but what I am really looking for is jar + dependencies in lib folder type of outcome. Is there a way to tweak what

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
, Feb 19, 2010 at 4:20 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Thanks! I'll try that out. Yaakov. On Fri, Feb 19, 2010 at 9:18 AM, Aleksey Didik di...@magenta-technology.ru wrote: The way to put jar + dependencies jars in one folder is: assembly idbundle/id

Re: Using property name/value to activate profile

2009-11-12 Thread Yaakov Chaikin
(instead of overriding the property value), like tis: mvn install -Ptheprofilename /Anders On Thu, Nov 12, 2009 at 00:28, Yaakov Chaikin yaakov.chai...@gmail.comwrote: On Wed, Nov 11, 2009 at 6:19 PM, Tony Chemit che...@codelutin.com wrote: Le Wed, 11 Nov 2009 18:07:31 -0500, Yaakov Chaikin

Re: Using property name/value to activate profile

2009-11-12 Thread Yaakov Chaikin
On Thu, Nov 12, 2009 at 10:06 AM, Wayne Fay wayne...@gmail.com wrote: Ok, I'll share what exactly is going on with everyone else... The maven docs says this about activating profiles through a property: Just to be clear... you emailed this list BEFORE looking at the documentation?? Next

-DskipTests=true gets ignored

2009-11-12 Thread Yaakov Chaikin
Ok, Checked documentation, googled. Still not understanding why the following is happening. I have a multi-module project. In the root pom.xml, I have: properties skipTeststrue/skipTests properties In my child pom.xml I have the following: properties

Re: -DskipTests=true gets ignored

2009-11-12 Thread Yaakov Chaikin
-DskipTests=true is getting overridden by the property in your pom.xml. Yaakov Chaikin wrote: Ok, Checked documentation, googled. Still not understanding why the following is happening. I have a multi-module project. In the root pom.xml, I have: properties   skipTeststrue/skipTests

Re: -DskipTests=true gets ignored

2009-11-12 Thread Yaakov Chaikin
activated, you can run the tests... mvn -Prun-tests clean install Yaakov Chaikin wrote: Right... I figured that... But why? Isn't something on the command-line supposed to trump it all? Any suggestions on how to correct this? Thanks, Yaakov. On Thu, Nov 12, 2009 at 5:23 PM, David C

Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
Hi, I am clearly not understanding how properties propagate in maven... I have a multi-module project where I have a root pom.xml (packagingpom/packaging) and a number of child modules. In my root pom.xml I have this: properties createDbfalse/createDb /properties In one of the my child

Re: Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
Hmm... Just tried specifying createDbfalse/createDb in my settings.xml and it STILL does NOT activate any profiles! Anyone has any idea of what's going on here? Thanks in advance for your help. Yaakov. On Wed, Nov 11, 2009 at 5:44 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Hi, I am

Re: Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
are some examples. * So, it's ONLY system properties which this applies to! Bummer! :-( Yaakov. On Wed, Nov 11, 2009 at 6:07 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Hmm... Just tried specifying createDbfalse/createDb in my settings.xml and it STILL does NOT activate any profiles

Re: Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
On Wed, Nov 11, 2009 at 6:19 PM, Tony Chemit che...@codelutin.com wrote: Le Wed, 11 Nov 2009 18:07:31 -0500, Yaakov Chaikin yaakov.chai...@gmail.com a écrit : Hmm... Just tried specifying createDbfalse/createDb in my settings.xml and it STILL does NOT activate any profiles! Anyone has any

Re: Aspectj jars refuse to get imported

2009-10-29 Thread Yaakov Chaikin
NO don't do that. I believe someone already posted how to configure eclipse:eclipse to add the aspect support. Or you can install m2eclipse and use that instead. On Sun, Oct 25, 2009 at 8:42 AM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: I spoke too soon. It does work on the command line

Re: Aspectj jars refuse to get imported

2009-10-25 Thread Yaakov Chaikin
to cause problems later, that is just patching the symptoms On Fri, Oct 23, 2009 at 4:09 PM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Oh, I see... However, classpath I was referring to was just regular classpath, not .classpath of eclipse... It's excluded from the regular Java classpath

Re: Why are repositories usually separated into releases and snapshots?

2009-10-25 Thread Yaakov Chaikin
That's certainly seems like one good reason... Another reason is that your unreleased snapshots are going to trash your release repository... This, of course, depends on how you build... For example, on our project, I didn't at first care to use the snapshots repository and just had everything

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Yaakov Chaikin
Wow.. That link is really an interesting revelation to me... The crazy thing is that nowhere in the output does it say that it's excluding those jars. In fact, it just lists them as if they ARE included just like that other jars... But that link is only about Eclipse. What I don't understand is

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Yaakov Chaikin
This won't happen anymore in (unreleased) 2.8. I agree with Barrie that this should be documented for users of 2.6 and 2.7. Anyone want to submit a patch for one of the help pages? Version 2.8 of maven? I am running maven 2.0.9 which IS released... From what I see on the maven's page, the

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Yaakov Chaikin
versioning. He means the 2.8 release of the eclipse plugin. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Oct 23, 2009 at 7:42 PM, Yaakov Chaikin yaakov.chai...@gmail.comwrote: This won't happen anymore in (unreleased

Aspectj jars refuse to get imported

2009-10-22 Thread Yaakov Chaikin
Hi, Perhaps, someone can point out to me what I am doing wrong... I have the following simple pom.xml file: ** ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Simple GWT compile problem

2009-07-21 Thread Yaakov Chaikin
Hi, I am trying to get a very simple GWT project to gwt-compile using the codehaus' maven-gwt plugin but I don't seem to be having much success... The project is nothing more than a regular starter GWT 1.7 (same as 1.6 plus bug fixes) Eclipse GWT plugin project. All I did after creating a new

Re: Simple GWT compile problem

2009-07-21 Thread Yaakov Chaikin
Well, if anyone cares, I figured out the problem.. The problem was that by specifying warSourceDirectorywar/..., I forced maven to copy all the files from the 'war' directory into the target directory. That's great and what I want, but it also copied files in the uncompiled 'szblankweb' module.

Environment property for location of settings.xml

2009-04-30 Thread Yaakov Chaikin
Hi, Does anyone know how I could specify the location of settings.xml through an environment variable/property? In my situation, I don't have the ability to specify 'mvn -s /path/to/setting.xml'. I need to specify it through -DsomeEnvProperty= Does anyone know what the name of that property

Weird resources problem...

2008-09-23 Thread Yaakov Chaikin
Hi, I have a resource I need filtered which used to sit in my src/main/resources. I moved it to my src/test/resources. I also adjusted the pom.xml: build resources resource directorysrc/test/resources/directory

Re: Weird resources problem...

2008-09-23 Thread Yaakov Chaikin
Ok, never mind I should have switched the tags to testResources... forgot all about that. On Tue, Sep 23, 2008 at 11:35 AM, Yaakov Chaikin [EMAIL PROTECTED] wrote: Hi, I have a resource I need filtered which used to sit in my src/main/resources. I moved it to my src/test/resources. I also

Re: Jar not updating from remote repo

2008-09-17 Thread Yaakov Chaikin
=com.foobar On Wed, Sep 17, 2008 at 12:51 AM, Yaakov Chaikin [EMAIL PROTECTED]wrote: Well, I ran the mvn clean install, etc. using the DSMP proxy server and then moved what it cached into the repository. I didn't actually manually deploy anything except those JARs from a parallel project. How

Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
Hi, I am using Maven 2.0.8. I have a custom remote maven repo with some JARs imported there. I recently updated one of the JARs there, but noticed that when I built on the client, no update was pulled from the remote repo and my local repo still has the old one. Only after I erased the actual

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
. Wayne On Tue, Sep 16, 2008 at 10:47 AM, Yaakov Chaikin [EMAIL PROTECTED] wrote: Hi, I am using Maven 2.0.8. I have a custom remote maven repo with some JARs imported there. I recently updated one of the JARs there, but noticed that when I built on the client, no update was pulled from

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
policy to decide how often to check for other versions that match the range(s) that apply for the version. At least that's my understanding (and results of some quick experiments) -Stephen On Tue, Sep 16, 2008 at 7:00 PM, Yaakov Chaikin [EMAIL PROTECTED]wrote: Hmm... Is that REALLY true

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
for the version. At least that's my understanding (and results of some quick experiments) -Stephen On Tue, Sep 16, 2008 at 7:00 PM, Yaakov Chaikin [EMAIL PROTECTED]wrote: Hmm... Is that REALLY true? The documentation for the 'updatePolicy' certainly seems to disagree since it exists

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
policy to decide how often to check for other versions that match the range(s) that apply for the version. At least that's my understanding (and results of some quick experiments) -Stephen On Tue, Sep 16, 2008 at 7:00 PM, Yaakov Chaikin [EMAIL PROTECTED]wrote: Hmm... Is that REALLY true

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
Connolly [EMAIL PROTECTED] wrote: It's looking for the poms... did you deploy poms? BTW when doing a deploy you can generate basic poms if you don't have a pom to deploy On Tue, Sep 16, 2008 at 8:14 PM, Yaakov Chaikin [EMAIL PROTECTED]wrote: DO you know why, given my repositories setup, every

Re: Custom repository problem

2008-09-12 Thread Yaakov Chaikin
Yes, that was it. Thank you for your help. I used the DSMP proxy server and copied those into the repository folder and everything started working. Thanks again, Yaakov. On Thu, Sep 11, 2008 at 5:55 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Thu, Sep 11, 2008 at 2:40 PM, Yaakov Chaikin [EMAIL

Custom repository problem

2008-09-11 Thread Yaakov Chaikin
Hi, My project has a need to use a custom maven2 repository. I have setup a directory to be exposed through our web server. Our server is only accessible through HTTPS (with a valid certificate) and a username/password had to be setup as well. One of my other requirements was not to allow maven

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
On Thu, Sep 11, 2008 at 2:08 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Thu, Sep 11, 2008 at 10:14 AM, Yaakov Chaikin [EMAIL PROTECTED] wrote: My project has a need to use a custom maven2 repository. I have setup a directory to be exposed through our web server. Our server is only

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
next? Thanks for the help, Yaakov. On Thu, Sep 11, 2008 at 2:45 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Thu, Sep 11, 2008 at 11:27 AM, Yaakov Chaikin [EMAIL PROTECTED] wrote: Try it with -U on the command line to force it to check again. The default update policy is once per day

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
-plugin clean plugin is there, so mvn clean shouldn't come back with 'I can't find the clean plugin. How what do I do? :-) Yaakov. Wayne On Thu, Sep 11, 2008 at 1:22 PM, Yaakov Chaikin [EMAIL PROTECTED] wrote: Well, it's definitely connecting. I tried running this and I see it downloading

Excludes... Someone please help!

2008-07-23 Thread Yaakov Chaikin
Hi, I am trying to use the assemble:assemble plugin and have tried to use excludes using 2.1 version of the plugin and 2.2-beta-2 version of the plugin with filesets, but neither of them work. Can someone please take a look at this and tell me what I am doing wrong? The first version of the

assembly error

2008-07-20 Thread Yaakov Chaikin
Hi, Kind of new to the assembly plugin and hoping someone can resolve this error I am getting: [ERROR] BUILD ERROR [INFO] [INFO] Error creating assembly: Source file attribute must not represent a directory! My setup is

Re: Include source, javadocs, etc in installed artifact

2007-11-05 Thread Yaakov Chaikin
As part of your plugins configuration, do this; plugin artifactIdmaven-source-plugin/artifactId configuration aggregatefalse/aggregate /configuration executions execution phasepackage/phase goals goaljar/goal /goals /execution /executions /plugin

Attaching source code

2007-10-30 Thread Yaakov Chaikin
Hi, Can someone point out a link to me where it explains how to attach the source code and the javadocs to the installed JARs? I remember seeing those instructions on the maven.apache.org site, but can't seem to find it (even with google). Thanks, Yaakov.

Re: Referring to basedir

2007-10-28 Thread Yaakov Chaikin
/resourses or src/test/resourses, which maven automatically sees. Hope this helps, Nicole On 28/10/2007, Yaakov Chaikin [EMAIL PROTECTED] wrote: Hi, I have a spring context XML file in src/resourses/context.xml. I need to refer to a property file inside the context.xml file, so I have

Re: Referring to basedir

2007-10-28 Thread Yaakov Chaikin
just the name of the file aim-validator.properties instead of ${ project.build.directory}/aim-validator.properties. If it is in src/test/resources maven should find it by itself. Nicole On 28/10/2007, Yaakov Chaikin [EMAIL PROTECTED] wrote: I got mixed up when typing up the email. I do

Referring to basedir

2007-10-27 Thread Yaakov Chaikin
Hi, I have a spring context XML file in src/resourses/context.xml. I need to refer to a property file inside the context.xml file, so I have the following line there: constructor-arg index=0 value=${project.build.directory}/aim-validator.properties/ I also have this in my pom.xml: build

Re: General question about how to use Maven to build and deploy

2007-09-21 Thread Yaakov Chaikin
Well, forget production. I would think the first question would be how to get Maven to keep deploying to a server, say JBoss. This functionality is certainly needed and it's needed as part of a recompile/retest process. For example, if you have a web app and you just changed some servlets/jsp

Re: How to run maven goals from Eclipse?

2007-09-19 Thread Yaakov Chaikin
The surefire plugin, which is what takes care of your test phase, is configured by default to look for java files that **end** with *Test.java. Your file ends with *TestCase.java. Eclipse will run any test case you point it to, but not maven. Rename your test java file and it'll work. Yaakov.

Re: How to run maven goals from Eclipse?

2007-09-19 Thread Yaakov Chaikin
renaming to just Test.java and see if that helps. It's possible that JUnit 4 doesn't work with the version of surefire you're using. I've ran into things like that before. Sorry, I can't be any more help. Yaakov. On 9/20/07, Yaakov Chaikin [EMAIL PROTECTED] wrote: The surefire plugin, which

Seeing System.out.print output during test runs

2007-09-18 Thread Yaakov Chaikin
Hi, I am usingTestNG for my testing framework. I have some print statements I'd like to see in the test output. However, I don't see any. I assume I need to configure surefire somehow. Currently, I have no configuration at all. It's just straightforward pom file with TestNG 4.7 as a dependency.

Suppressing Downloading logs...

2007-06-13 Thread Yaakov Chaikin
Hi, Is there a way to suppress all the Downloading... statements in maven? Even in quiet mode, these statements show up. I just want to be able to see all the goals being executed without seeing the mess of downloading this or that cluttering the output. Thanks, Yaakov.