Re: Maven release plugin question

2011-05-05 Thread Yaakov Chaikin
I changed 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 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

Re: Maven release plugin question

2011-05-04 Thread Yaakov Chaikin
8443/svn/dlm/trunk/dlm-cwa/pom.xml. Any idea as to how to make maven understand that? -Yaakov. On Wed, May 4, 2011 at 11:56 AM, Yaakov Chaikin wrote: > svn info shows this: > $ svn info > Path: . > URL: https://dev.envieta.com:8443/svn/dlm/trunk/dlm-cwa > Repository Root: https://de

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 wrote: >> >> scm:svn:https://dev.envieta.com:8443/svn/dlm} > >                                                                   ^ > Could it be this closing curly bracket? > > -

Re: Maven release plugin question

2011-05-04 Thread Yaakov Chaikin
PM, Wendy Smoak wrote: > On Tue, May 3, 2011 at 2:45 PM, Yaakov Chaikin > wrote: > >> Did I configure scm wrong? > > How does that compare to the output of 'svn info' at the top of your > project?  Usually a svn url has 'trunk' or 'branches' s

Re: Maven release plugin question

2011-05-03 Thread Yaakov Chaikin
Did I configure scm wrong? scm:svn:https://dev.envieta.com:8443/svn/dlm scm:svn:https://dev.envieta.com:8443/svn/dlm} https://dev.envieta.com:8443/svn/dlm ?? -Yaakov. On Tue, May 3, 2011 at 2:42 PM, Yaakov Chaikin wrote: >

Re: Maven release plugin question

2011-05-03 Thread Yaakov Chaikin
seconds [INFO] Finished at: Tue May 03 14:42:06 EDT 2011 [INFO] Final Memory: 15M/36M [INFO] * On Tue, May 3, 2011 at 12:23 PM, Yaakov Chaikin wrote: > Thanks! That put me on the right path and I th

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 li

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

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
;>> > On Fri, Feb 19, 2010 at 9:18 AM, Aleksey Didik >>> > wrote: >>> > > The way to put jar + dependencies jars in one folder is: >>> > > >>> > > >>> > > bundle >>> > > >>> > > zip >>> > > tar

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
Thanks! I'll try that out. Yaakov. On Fri, Feb 19, 2010 at 9:18 AM, Aleksey Didik wrote: > The way to put jar + dependencies jars in one folder is: > > > bundle > > zip > tar.gz > > > false > > > > / > > > > > Aleksey. > &

Re: Assemble a jar with dependent jars next to it

2010-02-19 Thread Yaakov Chaikin
: > 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 wrote: > >> Hi all, >> >> Tried Googling, but nothing that useful came up... I am pretty sure >> it's possible t

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 t

Re: -DskipTests=true gets ignored

2009-11-12 Thread Yaakov Chaikin
gt; So, for your case, you might have something like... > > >    true > > > >     >       run-tests >       >          false >       >     > > > Then by simply calling Maven with the profile activated, you can run the > tests... > > mvn -P

Re: -DskipTests=true gets ignored

2009-11-12 Thread Yaakov Chaikin
> -DskipTests=true is getting overridden by the 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 h

-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: true In my child pom.xml I have the following: ${skipSelfContainingTests} In my settings.xml, I have this: false When I do mvn

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 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 time, RTFM (an

Re: Using property name/value to activate profile

2009-11-12 Thread Yaakov Chaikin
t the property to true instead, if you rather > go that way. You would then active the profile from the command lite > (instead of overriding the property value), like tis: > mvn install -Ptheprofilename > > /Anders > > On Thu, Nov 12, 2009 at 00:28, Yaakov Chaikin wrote: > &g

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 wrote: > Le Wed, 11 Nov 2009 18:07:31 -0500, > Yaakov Chaikin a écrit : > >> Hmm... Just tried specifying false in my >> settings.xml and it STILL does NOT activate any profiles! Anyone has >> any idea of what's going

Re: Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
e 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 wrote: > Hmm... Just tried specifying false in my > settings.xml and it STILL does NOT activate any profiles! Anyone has > any i

Re: Using property name/value to activate profile

2009-11-11 Thread Yaakov Chaikin
Hmm... Just tried specifying false 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 wrote: > Hi, > > I am clearly not und

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 (pom) and a number of child modules. In my root pom.xml I have this: false In one of the my child module's pom.xml I have the following: ... SkipDbCrea

Re: Aspectj jars refuse to get imported

2009-10-29 Thread Yaakov Chaikin
27;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 >> wrote: >>> I spoke too soon. It does

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 po

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 > wrote: >> Oh, I see... However, classpath I was referring to was just regular >> classpath, not .classpath of eclipse... It's excluded from the reg

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Yaakov Chaikin
eans 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 > wrote: > >> > T

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 l

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 wh

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: ** 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.

Re: Simple GWT compile problem

2009-07-21 Thread Yaakov Chaikin
a potential problem with this solution or has a more elegant solution, please let me know. Thanks, Yaakov. On Tue, Jul 21, 2009 at 1:50 PM, Yaakov Chaikin wrote: > Hi, > > I am trying to get a very simple GWT project to gwt-compile using the > codehaus' maven-gwt plugin but I don'

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 pro

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

Re: Weird resources problem...

2008-09-23 Thread Yaakov Chaikin
Ok, never mind I should have switched the tags to ... 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

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: src/test/resources true When this used to say

Re: Jar not updating from remote repo

2008-09-17 Thread Yaakov Chaikin
APSHOT -DartifactId=foo -DgroupId=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

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
ephen 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 PROTECT

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
u have >> >> [1.0,2.0-!) >> >> Then Maven _can_ use a newer one if available. If no other project is >> forcing or strongly suggesting a specific version within the range, then >> Maven will use the update policy to decide how often to check for other >>

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
Maven _can_ use a newer one if available. If no other project is >> forcing or strongly suggesting a specific version within the range, then >> Maven will use the update policy to decide how often to check for other >> versions that match the range(s) that apply for the version.

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
gly suggesting a specific version within the range, then > Maven will use the update 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) >

Re: Jar not updating from remote repo

2008-09-16 Thread Yaakov Chaikin
they MUST be called a.b.c-SNAPSHOT for > Maven to notice the changes. > > 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 J

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 JA

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, Yaako

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
4096 2008-09-10 18:06 maven-surefire-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:

Re: Custom repository problem

2008-09-11 Thread Yaakov Chaikin
Do you see anything that would explain what's going on and what to do 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 Ch

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 o

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 to

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 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 descriptor wi

Excludes don't work

2008-07-22 Thread Yaakov Chaikin
Hi, I am trying to do an assembly of the source, but want to exclude the Eclipse artifacts from the zip. Below is my descriptor. However, it still includes the .project, .classpath, and the .settings directory. Can anyone help? Thanks. = http://maven.apache.o

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 that

Re: Include source, javadocs, etc in installed artifact

2007-11-05 Thread Yaakov Chaikin
As part of your plugins configuration, do this; maven-source-plugin false package jar If you're using Eclipse, you can then do this (after closing eclipse): mvn eclipse:clean eclipse:eclipse -DdownloadSources=true Eclipse will parse the J

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
that if gets resolved outside of pom files. > Try 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 > > &g

Re: Referring to basedir

2007-10-28 Thread Yaakov Chaikin
src/resources, and not in src/main/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

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: I also have this in my pom.xml: src/test/resources true Am I referring to the bas

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 page

Re: How to run maven goals from Eclipse?

2007-09-19 Thread Yaakov Chaikin
. Try 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]> wr

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.

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. H

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. -