Re: Maven 1.x to run SQL scripts

2007-02-27 Thread Jeff Jensen
Not aware of one. An idea is to enhance the dbUnit plugin at SourceForge to do so - add a goal that runs a script specified by a property. The db infrastructure needed is all there. Quoting Build Admin <[EMAIL PROTECTED]>: > How to run SQL scripts using maven 1.x? Is there any plugin to use? >

RE: Developing Custom Maven Plugins in Maven 1.0

2007-03-05 Thread Jeff Jensen
1) http://maven.apache.org/maven-1.x/using/developing-plugins.html 2) http://maven.apache.org/maven-1.x/reference/scripting.html Also review the source of an existing simple plugin. -Original Message- From: Deepthi [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 1:31 AM To: user

[m1] using dotuml with maven 1.1?

2007-03-12 Thread Jeff Jensen
Is anyone successfully using the SourceForge maven-plugins' dotuml plugin with m1.1? I have not successfully made it work yet...wondering if there is a version problem with 1.1. Alternatively...we want to generate diagrams with the site gen, class diagrams at minimum. Anyone have tool/plugin sug

RE: What is the Best practice for generating variations of an artifacts?

2007-03-16 Thread Jeff Jensen
I do my best to avoid needing a separate build per environment. A release is a release, and while reproducibility is not the issue, I find it silly to do so. In my customer work, I found two key strategies that have worked well, both from "new system" and streamlining an existing system: Option

RE: Cruiscontrol and Maven dependency management

2007-03-16 Thread Jeff Jensen
CC 2.6 has a new feature - . It enables preventing a build from happening if a dependency has a build to do. Prior to 2.6, the best answer I had was to make the sleep times of the dependant projects "small" (e.g. 30 seconds) relative to the depending projects (e.g. 2 minutes) in hopes the others

Re: What is the Best practice for generating variations of an artifacts?

2007-03-16 Thread Jeff Jensen
does, I'm ready and impatiently waiting to learn! ;-) Quoting Vincent Massol <[EMAIL PROTECTED]>: > Hi Jeff, > > On Mar 16, 2007, at 1:00 PM, Jeff Jensen wrote: > > > I do my best to avoid needing a separate build per environment. A > > release > >

Re: [M2] Problens generation class diagram using UmlGraph-4.7

2007-04-04 Thread Jeff Jensen
The issue is that the doclet path param is a local path. This is a very regretful thing... In my testing, even if you guarantee you have UMLGraph jar on the classpath, the doclet is not found. The only solution I have found is to specify a fully-qualified path to the UMLGraph jar. In Maven 1, th

Re: [M2] Problens generation class diagram using UmlGraph-4.7

2007-04-04 Thread Jeff Jensen
Silly me - I had just seen the real cause when I did not want to hit send. The issue is the doclet name you have specified - it is UmlGraphDoc, not UmlGraph. So change to: gr.spinellis.umlgraph.doclet.UmlGraphDoc Quoting Jeff Jensen <[EMAIL PROTECTED]>: > The issue is that the do

Re: [M2] Problens generation class diagram using UmlGraph-4.7

2007-04-04 Thread Jeff Jensen
gr.spinellis.umlgraph.doclet.UmlGraphDoc > > [INFO] > > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error during page > generation > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > D

Re: Lost CSS/header? (was: Re: [M2] Problens generation class diagram using UmlGraph-4.7)

2007-04-04 Thread Jeff Jensen
Sorry, can't help you further on the CSS. Perhaps someone else knows about that... Quoting Manos Batsis <[EMAIL PROTECTED]>: > > Just made it work as well with the POM fragment below. However, my > stylesheetfile and header are now ignored, any ideas? > > > > gr.spinellis.umlgraph.doclet.UmlGra

Re: Benchmark M1 - M2

2007-04-19 Thread Jeff Jensen
What version of m1 are you using? What plugin(s) encounters the OOM? Many plugins have JVM settings property to enable setting the max mem, e.g. -Xmx1024m. It is expected to set this for sizable codebases. Quoting emerson cargnin <[EMAIL PROTECTED]>: > Does any one has a comparative relating

Re: Benchmark M1 - M2

2007-04-19 Thread Jeff Jensen
- > > > /subversion/users/svn/.maven/cache/maven-jdepend-plugin-1.5/plugin.jelly:57:26: > > java.io.IOException: java.io.IOException: Cannot allocate > > memory > > > > thanks a lot > > Emerson > > > > On 19/04/07, Jeff Jensen <[EMAIL PR

RE: Building Websphere/WSAD 5 projects with Maven

2007-05-09 Thread Jeff Jensen
With WSAD, we found that it required the WebContent dir to be right off the project root dir. We are in progress on rolling out RAD, so will experiment again when I recreate the projects. Along the way, you will need to decide which jars to build with: ones hosted in central, and those put in you

RE: How to pass -Xmx to javac in maven 1.0.2?

2007-05-30 Thread Jeff Jensen
You don't mention if you tried the java plugin properties or not, so I'll mention them first. Do these properties work for 1.0.2? maven.compile.fork maven.compile.memoryInitialSize maven.compile.memoryMaximumSize Read about them here: http://maven.apache.org/maven-1.x/plugins/java/properties.htm

Re: How-to use a lib directory instead of the repository

2007-06-01 Thread Jeff Jensen
To not have them in the repo, you could look at of system, and set . You will still have to declare each dependency. It is a Maven tenet to declare all dependencies. If your situation allows sharing the dep list across projects, a parent pom could contain some/all of the deps. This would

RE: Can a POM import a profile from anothe POM?

2007-06-02 Thread Jeff Jensen
One consideration of this though is build reproducibility. While it is inconvenient to update all projects depending on the parent POM, it facilitates build reproducibility, as the profiles are then correctly versioned. A "shared resource" is not usually setup to facility a reproducible build. W

RE: Can a POM import a profile from anothe POM?

2007-06-02 Thread Jeff Jensen
-test com.foo.profiles selenium 1.0 ... Paul Spencer Jeff Jensen wrote: > One consideration of this though is build reproducibility. While it is > inconvenient to update all projects depending on the parent POM, it > facilitates build rep

RE: Can a POM import a profile from anothe POM?

2007-06-02 Thread Jeff Jensen
business logic" be affected when a profile that it does not use, like "cargo_tomcat_test", is updated? Like you, I am just sharing my thoughts. The more we understand how something is used, the better decision we can make. Worse yet, we may learn something new in the process :)

RE: Lifecyle Question

2007-06-09 Thread Jeff Jensen
Yes - install them to the repo on each build, no matter how (CC or manual), but only with "mvn clean install". "install" will run the prior lifecycle steps. -Original Message- From: Mac Systems [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 8:15 AM To: Maven Users List Subject:

RE: Request for advice: webapp customisations as an overlay to an existing WAR

2007-06-19 Thread Jeff Jensen
> How would you recommend we accomplish this? The first idea that strikes me is to use the source control system first. This is not a build tool problem. A build tool should "simply" make the artifacts for the given codeline. The current setup you describe has partial code for customer customiza

RE: FML DTD or schema?

2007-06-28 Thread Jeff Jensen
http://maven.apache.org/reference/plugins/faq/faq.xsd -Original Message- From: Dave Syer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 8:36 AM To: users@maven.apache.org Subject: FML DTD or schema? Is there a DTD or a schema for FML format? I can't find any documentation on

RE: how to configure Default Repository Layout for local repository

2007-07-03 Thread Jeff Jensen
If Maven 1.x behavior is that important to you, then use Maven 1.1. It is an excellent product. -Original Message- From: Harish Kachoria [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 2:56 PM To: users@maven.apache.org Subject: Re: how to configure Default Repository Layout for

RE: Which technology stack are you using?

2007-07-06 Thread Jeff Jensen
Perforce Maven Proximity CruiseControl Eclipse and RAD, many plugins Works great. Like them all a lot (Perforce is the main commercial dev tool; is great value, great features, I don't know of a better package and have used a lot of SCMs). While CC is pretty good, I would consider changing from

RE: [M1] AspectJ with two source trees (main/src & main/test)

2006-11-13 Thread Jeff Jensen
Are you saying that the test classes in test-classes need a pass by the AspectJ compiler, or the test classes do not see the AspectJ compiled classes in the classes dir? (or something else entirely?) The fact that the "production" classes compile to target/classes and the test classes compile to

RE: out of memory problem in maven 1.x

2006-11-14 Thread Jeff Jensen
http://maven.apache.org/maven-1.x/reference/command-line.html -Original Message- From: Neeraj Bisht [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 6:25 AM To: Maven Users List Subject: out of memory problem in maven 1.x hi we are compiling our gwt source with maven 1.

RE: [M1] AspectJ with two source trees (main/src & main/test)

2006-11-14 Thread Jeff Jensen
keep playing and post my findings here. Cheers, Jeff Jensen wrote: > > Are you saying that the test classes in test-classes need a pass by > the AspectJ compiler, or the test classes do not see the AspectJ > compiled classes in the classes dir? (or something else entirely?) > &

RE: Maven properties

2006-12-06 Thread Jeff Jensen
The sourceDirectory and unitTestSourceDirectory are relative to the ${basedir}, which by default is where the project.xml file is. My guess is your pom is in "TestMaven/main"; if true, then correct values for those are (using your existing dir info): src/java src/test/java Is this info not cl

Re: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-09 Thread Jeff Jensen
Cobertura plugin 1.7 started depending on log4j 1.2.9, and the Maven plugin depends on that. Is your issue related to the version of log4j, i.e. 1.2.8 vs 1.2.9? Quoting Arnaud HERITIER <[EMAIL PROTECTED]>: > Hi, > > Having a look at the plugin code, it doesn't seem to be useful to add > log4j

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-09 Thread Jeff Jensen
iving an instance of org.apache.log4j.Logger. [cobertura-instrument] Exception in thread "main" java.lang.NoClassDefFoundError: au/com/sc/logging/AbstractAlarmAppender [cobertura-instrument] at java.lang.ClassLoader.defineClass1(Native Method) [cobertura-instrument] log4j: Setting [au.c

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-09 Thread Jeff Jensen
rget/cobertura/classes Thanks Lakshman > -----Original Message- > From: Jeff Jensen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 10 January 2007 1:04 PM > To: 'Maven Users List' > Subject: RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError > > What are your

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-10 Thread Jeff Jensen
> It appears to be a problem only when another project extends > au.com.sc.logging.AbstractAlarmAppender. > > Thanks > Lakshman > > > > -Original Message- > > From: Jeff Jensen [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 10 January 2007 2:22 PM > > To: 'Maven Users List' &g

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-18 Thread Jeff Jensen
I'm glad you were able to narrow it down. I haven't had much time to look at it further this week. I will this weekend though. Please create the small project that demonstrates the problem and attach it to a bug report at SourceForge. -Original Message- From: Srilakshmanan, Lakshman [m

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-20 Thread Jeff Jensen
ge- From: Jeff Jensen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 9:02 PM To: 'Maven Users List' Subject: RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError I'm glad you were able to narrow it down. I haven't had much time to look at it further this w

[M1][ANN] Maven Cobertura Plugin 1.3 Released

2007-01-28 Thread Jeff Jensen
We are pleased to announce the Maven Cobertura Plug-in 1.3 release! http://maven-plugins.sourceforge.net/maven-cobertura-plugin Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test c

[M1][ANN] Tasks Plug-in 1.3.0 released

2007-01-28 Thread Jeff Jensen
We are pleased to announce the Tasks Plug-in 1.3.0 release! http://maven-plugins.sourceforge.net/maven-tasks-plugin === Changes in this version include: New Features: o Added maven.tasks.source.file property to cu

RE: Maven 1.1 for aspectj project

2007-02-13 Thread Jeff Jensen
Did you look at the AspectJ plugin? -Original Message- From: Build Admin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 8:26 AM To: Maven users list Subject: Maven 1.1 for aspectj project Hi How to build aspectj project with maven 1.1? Can anyone suggest useful link and dep

RE: [ANN] First release of Patchwork coverage maven plugin

2007-02-24 Thread Jeff Jensen
I could not find docs on the "3 columns" of the patchwork.html report (what are the values of each column?). Do you have a doc page on that? I am very interested in solving the misleading "100% coverage" report of existing tools. If patchwork can really do that, you have a big hit underway. -

RE: [maven 1.0.2] PMD plugin upgrade.

2007-02-25 Thread Jeff Jensen
Not sure, but perhaps it needs a newer version of ASM. -Original Message- From: Srilakshmanan, Lakshman [mailto:[EMAIL PROTECTED] Sent: Sunday, February 25, 2007 8:15 PM To: users@maven.apache.org Subject: [maven 1.0.2] PMD plugin upgrade. Hi I need to upgrade to pmd-3.9.jar. I theref

RE: [ANN] First release of Patchwork coverage maven plugin

2007-02-26 Thread Jeff Jensen
nuing to make a another one? There are pros and cons to everything, and I wonder your thoughts on that... -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 1:44 AM To: Maven Users List Subject: Re: [ANN] First release of Patchwork coverage mave

"disclaimer of warranty" license issue with artifact downloads?

2009-08-13 Thread Jeff Jensen
For vendors that have software downloads (freely available to anyone) from their website with a click-through "disclaimer of warranty" that there is no intended warranty covering the use of the product, how do we provide similar "legal comfort" to them to enable hosting the artifacts in Maven Centr

RE: "disclaimer of warranty" license issue with artifact downloads?

2009-08-13 Thread Jeff Jensen
Ha ha, yeah...and how do we guarantee that in court!? ;-) Getting their lawyers to buy off on that would be the issue... :-) Well, this scenario is a US company with a commercial product, with their own license, not GPL, et al. The tools/clients, etc. are freely downloadable from their website.

RE: "disclaimer of warranty" license issue with artifact downloads?

2009-08-13 Thread Jeff Jensen
August 13, 2009 7:05 PM To: Maven Users List Subject: Re: "disclaimer of warranty" license issue with artifact downloads? On Thu, Aug 13, 2009 at 4:06 PM, Jeff Jensen wrote: > For vendors that have software downloads (freely available to anyone) from > their website with a click-

RE: "disclaimer of warranty" license issue with artifact downloads?

2009-08-13 Thread Jeff Jensen
mail.com] Sent: Thursday, August 13, 2009 7:14 PM To: Maven Users List Subject: Re: "disclaimer of warranty" license issue with artifact downloads? Provide an installer that drops into the local user's personal repo. On Thu, Aug 13, 2009 at 8:04 PM, Wendy Smoak wrote: > On T

RE: Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread Jeff Jensen
You could add a custom goal in maven.xml that does both of those installs. I actually suggest moving the Java code into its own Java project... -Original Message- From: laredotornado [mailto:laredotorn...@gmail.com] Sent: Wednesday, October 14, 2009 1:54 PM To: users@maven.apache.org Su

RE: Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread Jeff Jensen
Now attaining goal number ${goalNumber}, which is ${goal} Jeff Jensen wrote: > > You could add a custom goal in maven.xml that does both of those installs. > > I actually suggest moving the Java code into its own Java project... > > > -Original Messa

RE: Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread Jeff Jensen
009 3:25 PM To: users@maven.apache.org Subject: RE: Anyone know a shortcut? (Maven 1.1) Thanks for your reply. So there's ABSOLUTELY no way to type "war:install" and also have jar:install run after? - Dave Jeff Jensen wrote: > > You need to give your goal a unique nam

RE: m2eclipse

2009-11-05 Thread Jeff Jensen
Possibly the m2eclipse Sonatype book will help? http://www.sonatype.com/books/m2eclipse-book/reference From: maven apache [mailto:apachemav...@gmail.com] Sent: Thursday, November 05, 2009 9:33 PM To: Maven Users List Subject: Re: m2eclipse The other plugins such as "POM xml Editor"

RE: How to include junit tests in a generated jar, using maven 1.1?

2008-05-20 Thread Jeff Jensen
I suggest adding a custom goal maven.xml that adds the test classes dir to the list of source dirs, then creates the jar. Start here, and there are links to other pages (especially the submenu pages). http://maven.apache.org/maven-1.x/using/customising.html -Original Message- From: Morg

RE: no pom file found

2008-09-27 Thread Jeff Jensen
> what am I doing wrong. Not understanding Maven 1 vs Maven 2! Maven 1.1 uses project.xml files. Maven 2.x uses pom.xml files. -Original Message- From: Mike Oliver [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2008 10:53 PM To: users@maven.apache.org Subject: no pom file fou

RE: where to place Test support/reusable fixture classes?

2009-01-09 Thread Jeff Jensen
I suggest creating a separate project, e.g. "TestFramework", and place those types of reusable test classes in its src/main/java. Then, the other projects can depend on it for the test scope. -Original Message- From: Giovanni Azua [mailto:brave...@swissonline.ch] Sent: Friday, January 0

RE: where to place Test support/reusable fixture classes?

2009-01-11 Thread Jeff Jensen
not occur to me creating a separate sub module :) is there any way to mark a sub module "package private" so other modules outside some scope won't be able to see it? Thanks a lot Jeff! Best regards, Giovanni > -----Original Message- > From: Jeff Jensen [mailto:jeffjen...@upst

RE: where to place Test support/reusable fixture classes?

2009-01-11 Thread Jeff Jensen
n export the test classes in a separate jar with the 'test' classifier and depend on that jar. regards, Wim 2009/1/10 Jeff Jensen > I suggest creating a separate project, e.g. "TestFramework", and place > those > types of reusable test classes in its src/main/java. The

Re: Config File Consistency

2009-03-30 Thread Jeff Jensen
Hi Perry, Typically, I have used the configuration options of the tool, such as specifying the config file via a URL with Checkstyle.  I have also bundled them together a separate project, deployed that jar, and made it a dependency of the projects.  This works when the respective tool can

RE: Mixing Scala and Java in the same project

2009-12-09 Thread Jeff Jensen
The Sonatype Maven Handbook has a couple of pages on Scala inline POM and running an external script as part of build. It may help start: http://www.sonatype.com/documentation/books#mhandbook -Original Message- From: Pilgrim, Peter [mailto:peter.pilg...@lloydsbanking.com] Sent: Wednes

RE: Maven + JUnit, what's the best approach?

2009-12-29 Thread Jeff Jensen
I suggest looking at Perforce. It is the best SCM I've used (cvs, svn, vss, clearcase, pvcs, starteam, and a couple other no-names I can't remember). -Original Message- From: eyal edri [mailto:eyal.e...@gmail.com] Sent: Tuesday, December 29, 2009 12:11 PM To: Maven Users List Subject:

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
> Any help on this would be greatly appreceated. Something to try - have you done a "mvn install" from the CLI for it (you mention the build works, but not which goal, so thought I would mention it)? A few times I've had unexplainable build problems when first setting up a new Eclipse workspace wi

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
eclipse:eclipse Enabled M2 plugin dependency management and got the error I specicied below. I remember getting this working for other projects in my previous company. Do you think eclipse version does matter? Thanks, Maruf -Original Message- From: Jeff Jensen [mailto:jeffjen...@upstairst

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Jeff Jensen
f it ain't broke...". -Original Message- From: Steve Cohen [mailto:sco...@javactivity.org] Sent: Monday, January 11, 2010 7:19 AM To: Maven Users List Subject: Re: m2eclipse plugin does not resolve properties from settings.xml Jeff Jensen wrote: > > And you are using th

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Jeff Jensen
, 2010 at 6:02 AM, Jeff Jensen wrote: > If using m2eclipse, forget about eclipse:eclipse.  To setup a new Eclipse > workspace (with no Eclipse config files existing, i.e. .classpath, .project; > delete them to start fresh), start Eclipse to an empty workspace, have > m2eclipse and o

RE: Multi-project organization

2010-01-24 Thread Jeff Jensen
Just configure Maven settings.xml file to pull from the organization repo (the one populated by CI builds). The deps in the projects you are working on will get pulled from the repo. -Original Message- From: Josh Stone [mailto:pacesysj...@gmail.com] Sent: Sunday, January 24, 2010 4:18 PM

RE: JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Jeff Jensen
Possibly what you are looking for is not a Maven related thing at all but how Javadoc works. If you add /** * {...@inheritdoc} */ above the methods in the implementation classes that implement the interface methods, Javadoc copies it from the interface to the implementing class' generated

Does site set a property that it is running?

2010-03-18 Thread Jeff Jensen
Is there a property set by the site plugin when the site goal runs (as the release plugin sets the performRelease property)? If there is, where/how could I have found the answer?  I looked in site plugin doc, lifecycle pages, googled, http://docs.codehaus.org/display/MAVENUSER/MavenPropertie

Re: Have mvn test ignore a file in src/main/resources

2010-04-01 Thread Jeff Jensen
Name it the same and it sees the test one first. On Thu, 1 Apr 2010 07:40:35 -0700 (PDT) Michael Remijan wrote: I want to run tests with maven but I want to ignore 1 file in src/main/resources and instead use a file in src/test/resources.  How would I configure the surefire plugin to do thi

RE: Dbunit plugins in codehaus and sourceforge

2010-04-08 Thread Jeff Jensen
The first is Maven 1 only (check around the site, you'll see it says that). The second is Maven 2. -Original Message- From: subir.sasiku...@wipro.com [mailto:subir.sasiku...@wipro.com] Sent: Thursday, April 08, 2010 2:57 AM To: users@maven.apache.org Subject: Dbunit plugins in codehaus a

RE: Advice on version control

2010-06-15 Thread Jeff Jensen
And the release plugin does the version number changes (from snapshot to release, commit POM, bump to next snapshot version, commit) for you... I wonder if using it would help your process consistency by eliminating a few manual things. -Original Message- From: Adrian Shum [mailto:tcs...@

RE: Advice on version control

2010-06-15 Thread Jeff Jensen
iently to stop things like this in their tracks. I'm going to see if Nexus really is that quick to install. Of course, it's a bit late now! On Tue, Jun 15, 2010 at 1:52 PM, Jeff Jensen < jeffjen...@upstairstechnology.com> wrote: > And the release plugin does the version number c

RE: bean xml for tests using Maven?

2010-07-12 Thread Jeff Jensen
Yes, src/main/resources for the prod version, src/test/resources. Maven puts test stuff on the classpath first, so your app will find that file first. http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html -Original Message- From: Digant C Kasun

Re: Cobertura and Surefire

2011-01-13 Thread Jeff Jensen
Perhaps a different CI job structuring? This has worked well for me at many customers: Have a CI job for only compile and unit tests - this maintains the most important very fast turnaround. Have a second CI job for (longer running) IT tests that only runs with success of the first. Have a third

Re: Cobertura and Surefire

2011-01-13 Thread Jeff Jensen
On Thu, Jan 13, 2011 at 9:01 AM, Schulze, Stefan (EXTERN: CKC) < extern.stefan.schul...@volkswagen.de> wrote: > Jeff Jensen wrote: > > Perhaps a different CI job structuring? This has worked well > > for me at many > > customers: Have a CI job for only compile and unit

Re: problem when upgrading from maven2 to maven3

2011-01-18 Thread Jeff Jensen
I encountered similar problem when upgrading from M2 to M3. The cause was 2 different versions of Hibernate jars on the classpath. It seems M3's transitive dependency resolution is more inclusive (more accurate?!). You may need to exclude a transitive dep (or drop use of an unnecessary dep). Fo

Re: Generic location for servlet-api.jar

2011-02-04 Thread Jeff Jensen
More than likely, you can use the "stub" from Central for the build, and then it is automatically used at runtime from the hosting container (Tomcat, in this case). javax.servlet servlet-api ${servletApiVersion} provided Otherwise, deploy that jar to

Re: Generic location for servlet-api.jar

2011-02-04 Thread Jeff Jensen
h the archetype maven-archetype-webapp.  What stub are you > referring to?  Surely, there needs to be a lib directory someplace to put jar > files into, yes? > > Ken > > -Original Message- > From: Jeff Jensen [mailto:jeffjen...@upstairstechnology.com] > Sent: Friday, F

Re: Has the behavior of -U option changed?

2011-02-07 Thread Jeff Jensen
I've seen the same thing a couple of times with M3.0.2. Usually the -U works, but I've seen it not. This just happened again last night. The newer artifact was in Central (I manually searched), but the build would not find it. I'm using Nexus, are you? I wonder if there is a setting on it to tw

Maven 3 site: how to add report configured in module to parent's report config?

2011-02-25 Thread Jeff Jensen
With Maven 3, how do I configure the site plugin to have a module's defined site reports added to the parent's defined site reports (and parent doesn't have the child report defined) instead of replacing the parent's report config? Is this expected to work/possible (I'm hoping I don't have to dupe

Re: Maven 3 site: how to add report configured in module to parent's report config?

2011-02-28 Thread Jeff Jensen
On Mon, Feb 28, 2011 at 8:07 AM, Marc Rohlfs wrote: >> I would guess that this is the expected behavior, as otherwise it would >> not be possible to remove reports defined in the parent. You will have >> to add all the reports again if you want them to run in this module. > > No, it's a bug. Inher

Re: Surefire, TestNG + Logging write where???

2011-05-04 Thread Jeff Jensen
This may be too obvious, but just in case: the SureFire output files are usually in ${baseDir}/target/surefire-reports. On Wed, May 4, 2011 at 8:55 PM, Andrew Hughes wrote: > Update, I got standard out to console. But this is still not what I really > want, I would like the logging captured in t

Re: Generenting Directory Entries on a Jar using maven 2

2011-05-25 Thread Jeff Jensen
I've used both M2 and M3 builds for Spring-based apps and done many component scans. I've never heard of the well-known issue nor had problems with doing so. I agree with Wayne it is a Spring question at this point, unless you can demonstrate how, as Wayne says, the M2 vs M3 build difference caus

[m1] Maven 1 Cobertura Plugin 1.4 released

2007-07-29 Thread Jeff Jensen
We are pleased to announce the Maven Cobertura Plug-in 1.4 release! http://maven-plugins.sourceforge.net/maven-cobertura-plugin/ Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test

[m1] Anyone have JDiff working with Perforce?

2007-07-31 Thread Jeff Jensen
Not successful yet with my initial setup (not much to it!), and the error message doesn't reveal much other than it happens on the scm:checkout: jdiff: [mkdir] Created dir: C:\devroot\perforce\VANTAG~1\main\target\jdiff\vantage_3.0.15 [echo] *** WARNING: Error ignored: org.apache.commons

RE: FEST - Fixtures for Easy Software Testing - in a Maven repository?

2007-08-01 Thread Jeff Jensen
Search here: http://www.mvnrepository.com/ -Original Message- From: Vihung Marathe [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 7:07 AM To: Maven User Group Subject: FEST - Fixtures for Easy Software Testing - in a Maven repository? Can anyone here tell me if the released

[m1] Maven 1 FindBugs plugin released

2007-08-25 Thread Jeff Jensen
We are pleased to announce the FindBugs Plug-in 1.4 release! http://maven-plugins.sourceforge.net/maven-findbugs-plugin/ A plugin to automate FindBugs tasks === Changes in this version include: Fixed bugs: o Plug

RE: JMock 2

2007-09-01 Thread Jeff Jensen
You can search for things with this site: http://www.mvnrepository.com/ > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 01, 2007 4:24 PM > To: Maven Users List > Subject: JMock 2 > > hello all, > does anyone know if jmock2 has been uploa

RE: Eclipse and Maven "best practice"

2007-09-14 Thread Jeff Jensen
> -Original Message- > From: Jim Sellers [mailto:[EMAIL PROTECTED] > Sent: Friday, September 14, 2007 3:23 PM > To: Maven Users List > Subject: Re: Eclipse and Maven "best practice" > > I've used separate locations for a few reasons: > 1) in web apps to keep the default location (WEB-INF

RE: Improving the documentation of plugins (was maven is hard)

2007-09-30 Thread Jeff Jensen
> -Original Message- > From: Dennis Lundberg [mailto:[EMAIL PROTECTED] > Sent: Friday, September 28, 2007 5:41 PM > To: Maven Users List > Subject: Re: Improving the documentation of plugins (was maven is hard) [snip] > > 5.1 and 5.2 are frustrating because they often have just enough i

RE: Maven good Design

2007-10-16 Thread Jeff Jensen
Yes, that is correct...one artifact per build. As you already hinted, you may find the "project count" daunting at first. I believe after awhile you will appreciate the precision of the organization/separation. This helps focus on modules/components organization. > -Original Message- > F

RE: Maven 1.x Checkstyle

2007-10-16 Thread Jeff Jensen
Can you explain further what you are trying to do and what is the problem? I don't quite understand... > -Original Message- > From: Choudhary, Jay [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 16, 2007 10:03 AM > To: Maven Users List > Subject: Maven 1.x Checkstyle > > All, > > I h

RE: Ideas for integrating the code for a custom build step into project source code

2007-11-01 Thread Jeff Jensen
Done "completely", I don't think it is a smell, but a good solution. I suggest: 1. Make a "custom PMD" project that contains your Java rules and PMD rules files, and its own POM. The artifact type is a jar. 2. Deploy/install the jar to your corporate repo (or local if not available). 3. Add

Clarifications on DB, container, and M1 usage

2007-11-08 Thread Jeff Jensen
Hi, I am about to setup the beta 3 to determine feasibility of switching from Proximity (I did a quick setup exploration so far). I have been reviewing archive messages on user and dev, and read the wiki for education on Archiva. I've also reviewed many of the JIRAs to understand current known i

RE: Not able to pass multiple arguments to javac

2007-11-26 Thread Jeff Jensen
Try this approach: true 1024m true true etc... To know element names to use, use the Name found in the Optional Parameters section of this page: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html > --

One plugin one:convert put Javadoc in build/plugins vs reporting/plugins

2007-12-04 Thread Jeff Jensen
Is that correct or a bug? I haven't had success with it defined in the build/plugins section; of course it works great in reporting ;-). Plus the Javadoc plugin docs show the config in reporting, so my guess is this is a convert bug? ---

One plugin one:convert put Javadoc in build/plugins vs reporting/plugins

2007-12-04 Thread Jeff Jensen
Is that correct or a bug? I haven't had success with it defined in the build/plugins section; of course it works great in reporting ;-). Plus the Javadoc plugin docs show the config in reporting, so my guess is this is a convert bug? ---

[m2] PMD plugin and custom rulesets

2008-01-06 Thread Jeff Jensen
I have a jar for custom PMD rules; it has Java classes and the XML rulesets. The rulesets are in a top-level "/rulesets" dir. I have the jar as a POM dependency: pmd pmdcustomrules 1.2 I have the rulesets configured in the section for the PMD plugin: or

RE: [m2] PMD plugin and custom rulesets

2008-01-06 Thread Jeff Jensen
dy Smoak [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 06, 2008 11:15 AM > To: Maven Users List > Subject: Re: [m2] PMD plugin and custom rulesets > > On Jan 6, 2008 10:06 AM, Jeff Jensen <[EMAIL PROTECTED]> > wrote: > > I have a jar for custom PMD rules; it

RE: [m2] PMD plugin and custom rulesets

2008-01-06 Thread Jeff Jensen
st' > Subject: RE: [m2] PMD plugin and custom rulesets > > Try putting in the build section: > > > pmd > pmdcustomrules > 1.2 > > > > -- > JB. > > >-Message d'origine- > >

RE: [m2] PMD plugin and custom rulesets

2008-01-06 Thread Jeff Jensen
> > > support/rules-pmd.xml > > > > > > > > >-Message d'origine- > &g

Packaging plugin docs (was: manifest problem Please help)

2008-02-24 Thread Jeff Jensen
Hi Dennis, Your email below was exactly what I needed. It also makes me ask this question "how do users know to look at the archiver plugin options for the packaging-type plugins?". E.g. my recent escapade into making a war (converting an M1 build to M2) - I was in the middle of trying to determi

[m1][ANN] Maven dbUnit plugin 1.9 released

2008-02-29 Thread Jeff Jensen
We are pleased to announce the dbUnit Plug-in 1.9 release! http://maven-plugins.sourceforge.net/maven-dbunit-plugin/ A plugin to automate dbUnit tasks === Changes in this version include: New Features: o Add "doc

[m1][ANN] Maven JavaNCSS Plugin 1.3.2 Released

2008-02-29 Thread Jeff Jensen
We are pleased to announce the Maven JAVANCSS Plug-in 1.3.2 release! http://maven-plugins.sourceforge.net/maven-javancss-plugin/ Plugin for JavaNCSS === Changes in this version include: Changes: o Upgrade to Java

RE: Manven Best Practices

2008-03-09 Thread Jeff Jensen
I find these very useful. The first is "list based" and the second is "graph based". While the list based one has been easier for me to navigate the dep tree, the graph based one has had uses too. See the screenshots for nice samples. http://code.google.com/p/maven-dependency-browser/ http://ww

Programatically obtain .war from local repo

2012-11-02 Thread Jeff Jensen
We have some integration tests and prefer to use an embedded Tomcat instance vs deploying to an external, running server (avoid external dep problem). The tests are in a separate module than the war module. The need is to retrieve the built war from the local repo and explode it into the working

  1   2   3   4   >