Re: force maven to redownload/refresh "released" dependencies

2010-07-30 Thread Paul Benedict
Shan, Maven has a policy how often it checks for updated snapshots. Is that what you are looking for? Paul On Fri, Jul 30, 2010 at 11:39 AM, Jason van Zyl wrote: > Maven won't do that, and we would never make that possible. If you require > this you have something seriously wrong with your pro

Re: How to skip tests during release:prepare?

2010-07-18 Thread Paul Benedict
Doubt it will make a difference, but you can try -DskipTests=true. Perhaps the alias will have another effect? On Mon, Jul 19, 2010 at 12:57 AM, Stephen Connolly wrote: > the reason to bother compiling is to verify that the release build will work > when the version numbers have been transformed.

Re: -D versus properties at top level and in profiles

2010-05-03 Thread Paul Benedict
I thought -D would win always too. On Mon, May 3, 2010 at 1:32 PM, Benson Margulies wrote: > We thought (my coworkers and I) that -D would win any conflict of > properties. But we seem to be experiencing something more complex when > we've got the same property in three places: -D, parent , > and

Re: Why define repositories in settings.xml and pom?

2010-05-03 Thread Paul Benedict
Consider the repositories in your POM to be those for your local development. That's your choice. You put things in the POM if you want to distribute your repository to other people. Having it in the POM means that it gets added to the build and things can be pulled there automatically. I believe

Re: Maven Versioning Scheme

2010-03-24 Thread Paul Benedict
Please see here. I hope it's what you're looking for: http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution Paul On Wed, Mar 24, 2010 at 12:25 PM, Maven User wrote: > Hi list, > > Does anyone know where the documentation lies for maven's versioning scheme? > > I rem

Re: How to find out which parameters can be specified as command-line properties?

2010-03-13 Thread Paul Benedict
Yup, and you can use an abbreviated version too: mvn help:describe -Dplugin=surefire -Ddetail=true On Sat, Mar 13, 2010 at 2:30 PM, Mirko Friedenhagen wrote: > Am 13.03.2010 um 03:06 schrieb sebb: >> Some plugin parameters are settable as command-line properties. >> For example, the Surefire plug

Re: Disabling Surefire Reports for aggregator projects (i.e., with "pom" packaging)

2010-01-08 Thread Paul Benedict
Don't let your anguish go unresolved! Log a ticket in JIRA to put your request on someone's radar. Paul On Fri, Jan 8, 2010 at 9:45 AM, Jesse Farinacci wrote: > Hi Andreas, > > On Fri, Jan 8, 2010 at 10:09 AM, Andreas Sewe > wrote: >> >> How can I disable these non-sensical reports for aggregat

Re: Aggregating Javadocs during site generation

2010-01-04 Thread Paul Benedict
maven-javadoc-plugin/examples/aggregate.html Paul On Thu, Dec 31, 2009 at 10:05 PM, Paul Benedict wrote: > I am building the site of a multi-module project. I want all the > javadocs of the child modules to be aggregated for the parent's site, > but want the individual javadocs absent

Re: [SURVEY] Which plugins would you like us to release?

2010-01-03 Thread Paul Benedict
Dennis, can you give a look to SITE-456? The 2.1 site plugin is pretty much unusable with the regression found. Any possibility to fix it and deploy a 2.1.1 quickly? On Sun, Jan 3, 2010 at 3:46 PM, Dennis Lundberg wrote: > This survey is now closed. Thanks to the 37 people who took the time to >

How to exclude javadoc report from site generation?

2010-01-02 Thread Paul Benedict
I would like to exclude the creation of javadoc/test-javadoc during site generation. I put true in my javadoc-plugin's configuration under , but that did no good. Any other ideas? - To unsubscribe, e-mail: users-unsubscr...@maven.

Aggregating Javadocs during site generation

2009-12-31 Thread Paul Benedict
I am building the site of a multi-module project. I want all the javadocs of the child modules to be aggregated for the parent's site, but want the individual javadocs absent in the site of the child modules. What is the configuration to do this? Paul -

Re: Canonical order of POM elements?

2009-12-27 Thread Paul Benedict
On Sun, Dec 27, 2009 at 10:11 AM, Martin Gainty wrote: > Benedictus > > what criteria would be used for ordering your pom.xml > ? > > Martin Hopefully information already out on the Internet. The "Quick Reference" [1] of Maven's POM might be a good guide. As for me, I like to hand-write and read

Canonical order of POM elements?

2009-12-26 Thread Paul Benedict
Has Maven ever produced a plugin to canonically order (rewrite) an existing POM (and respecting whitespace)? Validating against an XSD, I know element order doesn't matter -- but it would be nice if there was a way to uniformly order my POM. No such order apparently exists in the wild. Paul

Re: Maven 3 deprecated properties

2009-12-18 Thread Paul Benedict
Stevo, I thought all pom.* properties were gone. Weren't they replaced by project.* ? On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić wrote: > Hello Maven users, > > When building project with Maven 3.0-alpha-5, warnings appear that > "pom.version" and "pom.artifactId" properties have been deprecat

Re: Batch releasing many projects in Maven. Is it possible?

2009-12-17 Thread Paul Benedict
are-mojo.html#commitByProject > > might be a property that "could" help > > 2009/12/17 Stephen Connolly > >> depends on how your scm's are organised... >> >> 2009/12/17 Paul Benedict >> >> My work situation is similar to what I learned abo

Batch releasing many projects in Maven. Is it possible?

2009-12-17 Thread Paul Benedict
My work situation is similar to what I learned about Eclipse. There's a "release train" in which 10-20 projects -- with dependencies on each other -- have to be versioned, built, and deployed. It's extremely tedious manually do this in the console. Can Maven provide any alleviation? Ideally, I woul

Re: maven 3 inheritance

2009-12-08 Thread Paul Benedict
ine in any other version number, however.  ranges, on the > other hand, do not ;) > > Dana Lacoste > > -Original Message- > From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On > Behalf Of Paul Benedict > Sent: Tuesday, December 08, 200

Re: maven 3 inheritance

2009-12-08 Thread Paul Benedict
Erlend, > is it then possible to use variables for dependency versions? Yes. This is supported today in Maven 2. > ...and parent versions? Good question. You'll have to find out if the project hierarchy or dependency resolution is processed first. Report back and tell us! Paul ---

Re: maven 3 inheritance

2009-12-08 Thread Paul Benedict
Last I know, this is not yet implemented. The focus of Maven 3 alpha releases is backwards compatibility with Maven 2. New features have not yet been added. Paul On Tue, Dec 8, 2009 at 2:54 PM, Erlend Hamnaberg wrote: > Noone? > Is this the wrong forum for maven 3 related questions? > > -- Erlen

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread Paul Benedict
Keith, > Which version is reported by "mvn help:describe -Dplugin="? My guess is that it is from , not Paul - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread Paul Benedict
Keith, Know that and are SEPARATE configurations. A version specified in one section does not affect the other. If this is your situation, declare the version under both tags. Paul On Sat, Dec 5, 2009 at 6:49 PM, kdwinkler wrote: > > maven-resources-plugin resolves to version 2.4.1 despite 2.

Re: Hanging on release:prepare

2009-12-05 Thread Paul Benedict
Jeff, I would create a JIRA issue for project MRELEASE. Attach your debug out (mvn -X) when you do the release preparation. On Sat, Dec 5, 2009 at 6:37 PM, Jeff French wrote: > > In searching the net I know this has come up before, but the explanations > I've found so far don't seem to match my s

Re: Plugins: Goals without a phase

2009-11-30 Thread Paul Benedict
d with @phase then the specified phase is the > phase it will bind to if no phase is specified in the > > otherwise it will not be bound to any phase (i.e. it will not execute > as part of any lifecycle) > > HTH > > -Stephen > > 2009/11/30 Paul Benedict : >&g

Plugins: Goals without a phase

2009-11-30 Thread Paul Benedict
What phase is bound to a plugin's goal when no corresponding element is present in their plugin.xml? (If it is none, I didn't know this was possible. I would assume at least "validate" is run) Paul - To unsubscribe, e-mail: use

Re: release plugin: project layout/svn problem

2009-11-29 Thread Paul Benedict
t be an important piece of information, sorry for not > stating it in the first request. Thanks for your time. > Gerhard > > Paul Benedict wrote: >> >> When I had whacky problems with my SVN client, I upgraded to 1.6. It's >> worth a shot if you haven't. >

Re: release plugin: project layout/svn problem

2009-11-29 Thread Paul Benedict
slartibartfast slartibartfast 4096 2009-11-29 20:41 child2 > drwxr-xr-x  5 slartibartfast slartibartfast 4096 2009-11-29 20:41 child3 > drwxr-xr-x  3 slartibartfast slartibartfast 4096 2009-11-29 20:41 root > slartibartf...@baerlauch:~/Development/workspaces/spring/tagging$ > > Do you

Re: release plugin: project layout/svn problem

2009-11-29 Thread Paul Benedict
e. This actually is actually my layout, though > my email client must have messed with the formatting of the tree. As you > said i started the release at root and this is where i got the error. What > you have labeled with '(your local project)' is an ordinary folder with no &g

Re: release plugin: project layout/svn problem

2009-11-29 Thread Paul Benedict
I think your project structure is incorrect. I believe it should be this instead: -tagging (your local project) |-- root | |-- .svn | |-- pom.xml (parent pom) |-- child1 | |-- .svn | |-- pom.xml |-- child2 | |-- .svn | |-- pom.xml |-- child3 | |-- .svn | |-- pom.xml Perform the

Re: merging testng into surefire..

2009-11-23 Thread Paul Benedict
I have never used testng -- and don't have plans too -- but it would be sensible for the test plugin to select the "provider" of the test engine. Paul On Mon, Nov 23, 2009 at 7:42 PM, Martin Gainty wrote: > > Good Evening All- > > org.apache.maven.surefire.booter.SurefireExecutionException: > o

Re: Format for manually creating source and javadoc bundles?

2009-11-17 Thread Paul Benedict
The format of the bundles are: *-source.jar - it's the java source simply archived. Start archiving from where you think src/main/java would be. Just make sure you remember your archive utility retains the paths of the file you choose. I use WinZip for this. *-docs.jar - same above except for the

Re: Non-unique Snapshot Deployments is not in Maven 3

2009-11-16 Thread Paul Benedict
on,  Jason however did propose an alternative > metadata handling ( see the discussion link ) > > 0D > > On Mon, Nov 16, 2009 at 12:28 PM, Paul Benedict wrote: >> So are you asking for the classifier to be part of the snapshot metadata? >> >> On Mon, Nov 16, 2009 at 1

Re: Non-unique Snapshot Deployments is not in Maven 3

2009-11-16 Thread Paul Benedict
/Multi-Platform-snapshots-td25295999.html > > -Dan > > On Mon, Nov 16, 2009 at 11:53 AM, Paul Benedict wrote: >> If you are creating artifacts for different environments, you can use >> custom classifiers. I have done this. This will add a suffix to your >> artifacts.

Re: Non-unique Snapshot Deployments is not in Maven 3

2009-11-16 Thread Paul Benedict
If you are creating artifacts for different environments, you can use custom classifiers. I have done this. This will add a suffix to your artifacts. Paul On Mon, Nov 16, 2009 at 1:50 PM, Dan Tran wrote: > How about an alternative solution to replace that feature? > > -D > > > > On Sun, Nov 15,

Re: Maven 2.0.8 + maven-compiler-plugin 2.0.2 issue

2009-11-14 Thread Paul Benedict
I could be wrong, but I don't think 2.0.x has named default executions. On Sat, Nov 14, 2009 at 5:24 PM, Thiago Moreira (timba) wrote: >  Hi there, > >  I have the following configuration for the maven-compiler-plugin > >               >                maven-compiler- > plugin >                 >

Re: Personal property substitution in m2

2009-11-11 Thread Paul Benedict
My response isn't an answer, but for what it's worth... The title "personal property substitution" almost sounds like a real estate post :-) Paul On Wed, Nov 11, 2009 at 9:17 PM, Jeff French wrote: > > I'm finally getting the chance to migrate some of our m1 projects to m2, and > am wondering ab

Re: How can I execute plugin X, then plugin Y, then plugin X again ?

2009-11-10 Thread Paul Benedict
is allowing you to list the same plugin twice in the one plugins > section > > Sent from my [rhymes with tryPod] ;-) > > On 10 Nov 2009, at 17:51, Paul Benedict wrote: > >> This is probably a bug since the order of plugins should be respected. >> >> Have you checke

Re: How can I execute plugin X, then plugin Y, then plugin X again ?

2009-11-10 Thread Paul Benedict
e chain. Often, > this also means you are trying to do to much in one module. > > Hth, > > Nick Stolwijk > ~Java Developer~ > > IPROFS BV. > Claus Sluterweg 125 > 2012 WS Haarlem > http://www.iprofs.nl > > > > On Tue, Nov 10, 2009 at 6:51 PM, Paul Be

Re: How can I execute plugin X, then plugin Y, then plugin X again ?

2009-11-10 Thread Paul Benedict
This is probably a bug since the order of plugins should be respected. Have you checked the ticket list of 2.2.2 or 3.0-alpha-3 to see if it is already fixed? And are you running 2.2.1? Paul On Tue, Nov 10, 2009 at 11:48 AM, boraldo wrote: > > Suppose I have to execute some actions after some

Re: Loading hbm files under default hierarchy from test hierarchy

2009-11-01 Thread Paul Benedict
Are you running your unit tests in Maven? (You can get different results in Eclipse.) If so, what version of Maven? On Thu, Oct 22, 2009 at 9:34 AM, Valentin Jacquemin wrote: > Hi all, > I am building a project architecture and facing an issue with classloading. > Here is my situation: > > I have

Plugin Listing

2009-10-29 Thread Paul Benedict
The Maven Dependency Plugin has dependency:list which lists out all the dependency versions being used. Is there a similar listing to display all build plugin versions? Is there a similar listing to display all reporting plugin versions? Paul

Re: Aspectj jars refuse to get imported

2009-10-29 Thread Paul Benedict
Yup, it was already posted in the beginning of this thread. Yaakov, do not rename your jars but simply configure the plugin like you were told to before: none http://jira.codehaus.org/browse/MECLIPSE-594 Paul On Thu, Oct 29, 2009 at 6:56 AM, Brian Fox wrote: > Renaming it and installing it

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Paul Benedict
st rename them > and reimport them to archiva using a different name... "by any other > name it's just a sweet?" :-) > > Thanks, > Yaakov. > > On Thu, Oct 22, 2009 at 9:33 PM, Barrie Treloar wrote: >> On Fri, Oct 23, 2009 at 11:53 AM, Paul Benedict wrote

Re: [cobertura] do not publish source code

2009-10-23 Thread Paul Benedict
Sounds like you want an "exclude packages" option (or maybe granular down to the class level) like JavaDoc. Paul On Fri, Oct 23, 2009 at 10:52 AM, Wayne Fay wrote: > As always... if you do hack the source code, make it configurable and > donate the changes back to Cobertura so it can be conside

Re: Aspectj jars refuse to get imported

2009-10-22 Thread Paul Benedict
Please see: http://jira.codehaus.org/browse/MECLIPSE-584 Since 2.6 of the Maven Eclipse Plugin, AspectJ jars are no longer honored (by default) since a separate plugin controls AJDT features. As you will read in the ticket, if you wish to reverse this feature, add none. Paul On Thu, Oct 22, 2009

JavaDoc Plugin: Custom frameset?

2009-10-10 Thread Paul Benedict
Is it possible to use this plugin to provide a custom frameset page? I see several companies publish API with page-wide logos at the top of the frameset, or additional frames. Paul - To unsubscribe, e-mail: users-unsubscr...@mave

Re: [Maven's memory] How to avoid adding the MAVEN_OPTS variable?

2009-10-07 Thread Paul Benedict
; > in Linux env : /etc/mavenrc or $HOME/.mavenrc file > > in Windows %HOMEDRIVE%%HOMEPATH%\mavenrc_pre.bat file which is usually > C:\Documents and Settings\\mavenrc_pre.bat > > With this way each Maven user can configure exact values what they want for > their environment. &g

Re: [Maven's memory] How to avoid adding the MAVEN_OPTS variable?

2009-10-07 Thread Paul Benedict
You can't and you shouldn't. The POM describes a Project, not the Java environment for Maven. On Wed, Oct 7, 2009 at 11:07 AM, NGUYEN Cong Kinh wrote: > Hello Paul, > > In fact, I don't want to set this. My question is that how to directly do > this in my POM? > &g

Re: [Maven's memory] How to avoid adding the MAVEN_OPTS variable?

2009-10-07 Thread Paul Benedict
You could set it in your mvn.bat, right? On Wed, Oct 7, 2009 at 10:14 AM, NGUYEN Cong Kinh wrote: > Hello everybody, > > Is there anyway to configure MAVEN_OPTS from the POM file (no variable)? For > example, I want to configure Maven's memory is 768m. But I don't want to add > the MAVEN_OPTS var

Re: Reactor - skip parent project build

2009-10-01 Thread Paul Benedict
Doesn't the maven-reactor-plugin allow which projects to select? On Thu, Oct 1, 2009 at 2:51 AM, Entner Harald wrote: > Actually, you can. But it is not that straightforward as you may wish. > > Fact 1: A profile is inherited only, when it's defined in the child pom. > > So you could move your pl

Re: Shared log4j configuration - best practice?

2009-09-27 Thread Paul Benedict
approach should work: > > http://www.sonatype.com/people/2008/04/how-to-share-resources-across-projects-in-maven/ > > On Sat, Sep 26, 2009 at 7:37 PM, Paul Benedict > wrote: > > I find myself replicating the same log4j configuration in my Maven > projects. > > It&#

Shared log4j configuration - best practice?

2009-09-26 Thread Paul Benedict
I find myself replicating the same log4j configuration in my Maven projects. It's a typical setup I want my projects to always use. Is there any good way to specify one in a parent POM for all child projects? Would the maven-remote-resources-plugin be useful for this? Paul

Re: difference between snapshot and rc

2009-08-31 Thread Paul Benedict
A Release Candidate is a true release. An RC is typically defined as being "feature complete" but its durability is not yet proved. It is usually good enough to be used for casual situations, but enough bugs probably still exist to prevent its usage in serious applications. A snapshot, however, is

Re: servlet-api 2.4 without HttpSession.logout() method?

2009-08-19 Thread Paul Benedict
I never heard of such a method. I checked the JEE 1.4 API docs and can verify it doesn't exist: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html It also doesn't exist in Servlet 2.5: http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSession.html Any idea why yo

Re: Using UmlGraphDoc with Maven

2009-07-08 Thread Paul Benedict
Here is a real working example: http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?revision=790631&content-type=text%2Fplain Paul On Thu, Jul 9, 2009 at 12:44 AM, Jeff Mutonho wrote: > Hi > > After reading the article on this DZone article - Reverse Engineer Source > Code

Re: [ANNOUNCEMENT] - UNIX Maven Plugin 1.0-alpha-4 released

2009-06-16 Thread Paul Benedict
I think a much better name would be the Unix Packaging Maven Plugin. Sorry, but without an adjective, it doesn't clearly say what the plugin does. 2009/6/15 Trygve Laugstøl : > I'm happy to announce the fourth alpha release of unix-maven-plugin. > This is still primarily a technology preview, but

Re: Why is version 2.0 NOT same as 2.0.0?

2009-06-16 Thread Paul Benedict
It may seem strange that 2.0.0 is not the same as 2.0, but it's not totally unstrange. It is a matter of precision. Did you know BigDecimal("2.00") does not equal BigDecimal("2.0")? The second situation can be rectified by a setting. Perhaps the first (in Maven) should too. Paul ---

Re: [ANN] Failsafe Maven Plugin 2.4.3-alpha-1 released.

2009-05-26 Thread Paul Benedict
Will there be an effort to add the integration testing features to the original? I would like to not have multiple testing plugins. On Tue, May 26, 2009 at 1:54 PM, Stephen Connolly wrote: > use surefire for unit tests > > use failsafe if you need to set up a integration test environment and tear

Re: [mojo-user] [ANNOUNCEMENT] - UNIX Maven Plugin 1.0-alpha-2 released

2009-02-23 Thread Paul Benedict
Congrats, but I think this should be renamed to the unix-package-maven-plugin. I told my coworkers about this release and they instantly were confused and wondered what maven and unix had to do together. Paul On Mon, Feb 23, 2009 at 4:54 PM, Trygve Laugstøl wrote: > I'm happy to announce the sec

Site Uploading with HTTP?

2009-02-17 Thread Paul Benedict
I want to upload my maven generated project sites using HTTP. Now the destination is actually my localhost, but I don't want to use file:// because I would have to maintain this physical location for file system changes. I am running Apache HTTPD locally and would like to take advantage of POST/PUT

Re: Prevent a build

2009-02-15 Thread Paul Benedict
remote repo. > Right ? ? > > > Paul Benedict wrote: >> Mansour, >> >> If you include the maven-source-plugin in your build, you can run the >> command "source:jar" to create a source-only jar. >> >> Paul >> >> On Tue, Feb 10, 2009

Re: mvn tomcat:deploy: Out of Memory Error

2009-02-15 Thread Paul Benedict
Perhaps you're running out of memory seriously. Set the MAVEN_OPTS environment variable to something larger than 64M (the default) and try again. Example: set MAVEN_OPTS=-Xms64m -Xmx90m Paul On Sun, Feb 15, 2009 at 10:19 PM, Ole Ersoy wrote: > Hi, > > I get the following when running (On li

Re: Prevent a build

2009-02-11 Thread Paul Benedict
Mansour, If you include the maven-source-plugin in your build, you can run the command "source:jar" to create a source-only jar. Paul On Tue, Feb 10, 2009 at 11:43 PM, Mansour wrote: > Hello all, > I am having two problems. The first one is I don't want to compile the > classes when creating th

Re: [SORRY FOR SPAMMING] hibernate 3 maven plugin

2009-01-21 Thread Paul Benedict
+1 for the display of a good release process. On Wed, Jan 21, 2009 at 3:07 PM, Siegfried Goeschl wrote: > Shows that your release process is properly set up ... ;-) > > Siegfried Goeschl > > da...@davidkarlsen.com wrote: >> >> Sorry for spamming you all - I ran this on the top level artifact and

Re: Final Memory

2008-12-25 Thread Paul Benedict
, Stuart McCulloch wrote: > 2008/12/19 Paul Benedict > >> I never figured it out. I'd still like to know! >> > > browsing the source for 2.0.9 shows: > > getLogger().info( >"Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / MB + &q

Re: Final Memory

2008-12-18 Thread Paul Benedict
I never figured it out. I'd still like to know! Paul On Tue, Dec 16, 2008 at 2:01 PM, Wayne Fay wrote: >>> What does the "Final Memory" detail represent when Maven finishes? I can't >>> find any documentation on what the two numbers mean. >>> >>> [INFO] Final Memory: 1M/4M > > I'm not certain, b

Re: [Public service announcement] mirrors of Central and considerate repo use

2008-11-29 Thread Paul Benedict
I think Maven should download and configure itself with a list of mirrors on first execution. Why leave this up to the users? I bet most will likely not care to change. Paul On Sat, Nov 29, 2008 at 8:33 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Sat, Nov 29, 2008 at 5:16 AM, Alex Athanasopou

Re: [ANN] Maven Reactor Plugin 1.0 Released

2008-09-27 Thread Paul Benedict
Dan, Congrats on the plugin. Could you maybe add to the plugin home page why this plugin is required or useful? What common problem is it trying to solve? It would be nice to know that background, because I am grasping to find its purpose. Paul ---

Doxia: Can I use it outside of Maven?

2008-09-13 Thread Paul Benedict
I want to integrate Doxia into a web application of mine. I like the APT support it has. Is this possible? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Error when "mvn -P tomcat,min"

2008-08-31 Thread Paul Benedict
I don't know if it makes a difference to your problem, but there should be no space between -P and the profile names. On Sun, Aug 31, 2008 at 6:59 AM, Fancing <[EMAIL PROTECTED]> wrote: > When i built the Jetspeed Portal as the tutorial: > http://portals.apache.org/tutorials/jetspeed-2/01/build-it

Re: [PLEASE TEST] Maven 2.0.10-RC10

2008-08-26 Thread Paul Benedict
Peter, The Maven team isn't asking for your source code. The request is to provide a project -- any project -- that demonstrates the failure. Just create a mock project that helps rear the head of the ugly error. Paul On Tue, Aug 26, 2008 at 1:24 AM, Peter Horlock <[EMAIL PROTECTED]> wrote: > 1.

FTP Site Deploy: possible to upgrade wagon?

2008-08-05 Thread Paul Benedict
I am using Maven 2.0.9 and want to deploy my site using FTP. I was trying to upgrade my Wagon to get FTP directory copying support: http://jira.codehaus.org/browse/WAGON-148 I thought it was possible to add the protocol through an extension: org.apache.maven.wagon wagon-ftp 1.0-beta-4 Wh

Site Plugin: Only static content - is it possible?

2008-07-30 Thread Paul Benedict
I have an Apache website of all static content. I don't need Maven to autogenerate anything, but I want to use the Site Plugin to bundle and deploy it. Is it possible to use the Site plugin without a site.xml? Paul

Re: M 2.0.5 - Failure executing javac

2008-07-30 Thread Paul Benedict
Alex, JDK 6. The problem is solved only in 5+ -- doesn't include 5. Paul On Wed, Jul 30, 2008 at 1:36 PM, Morgovsky, Alexander (US - Glen Mills) < [EMAIL PROTECTED]> wrote: > Please help, I am using Java 1.5 as my JAVA_HOME and have the following > in my POM - Maven 2.0.5. > > > > > > org

Re: Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-29 Thread Paul Benedict
Sorry, this is a pure JVM issue. You need at least Java 6. For building, you should seek permission to use Java 6 even if you want to deploy to a 1.4 box. Paul On Tue, Jul 29, 2008 at 11:06 PM, Morgovsky, Alexander (US - Glen Mills) < [EMAIL PROTECTED]> wrote: > Hi, does anyone know a way to sol

Re: Path length on Windows with M 2.0.5

2008-07-21 Thread Paul Benedict
Only JDK versions since 1.6 have the limit removed. It deals with the underlying operating system call. Previous versions (<= 1.5) used ASCII-only version of the Windows API which limit the size to around 250-260. Since 1.6, the JDK uses the wide-version (Unicode) of the Windows API which does not

Re: [POLL] Default Value for File Encoding

2008-04-29 Thread Paul Benedict
I definitely vote for A but I see those who vote for B as valid as well. A is basically "today's choice" since the default today is the platform's encoding. If people want to override the default and forget about it, it tells me it should belong in a corporate POM, which implies A again. Paul On

Re: 2.0.9 Release Candidate

2008-03-31 Thread Paul Benedict
Brian, I hope the release process can be refined to allow substantial usage of the RC builds by syncing with the central repo. Since Apache requires a "release" to have binding votes, you could publish them for a week or two and collect feedback rather than rapidly producing RC after RC. Maybe you

How to use Maven for System Testing?

2008-03-26 Thread Paul Benedict
My company uses JUnit to perform unit and integration testing. Those two things are very valuable to our testing process, but I'd like to see how we can also incorporate the so-called "system" testing too. But what would those look like? Aren't they just end-to-end integration tests? Just curious t

Re: cobertura integration-test

2008-03-16 Thread Paul Benedict
It is a well known limitation of Cobertura that it cannot perform reporting on a *separate* integration testing phase. You can search the web on this part. All it can do report on classes ran in the testing phase. Paul 2008/3/16 Cody Zhang <[EMAIL PROTECTED]>: > Dear All, > > I want to

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-07 Thread Paul Benedict
There are about 110 bugs slated in the "2.0.x" release category. As I watch 2.0.9 and 2.0.10 develop, I notice that issues from "2.0.x" are not touched. My recommendation -- and hope -- is that someone could schedule a 2.0.11 and 2.0.12 based on 25 (swag) issues respectively from that big list. Tho

Re: when will maven 2.0.9 be officially released?

2008-02-29 Thread Paul Benedict
2.0.9 is a very exciting release, imo. Perhaps on par with 2.0.4 On Fri, Feb 29, 2008 at 10:46 AM, Ryan H. <[EMAIL PROTECTED]> wrote: > Does anyone know when maven 2.0.9 will be offcially released? > > - > To unsubscribe, e-mail:

Re: Integration Tests

2008-02-27 Thread Paul Benedict
See this posting: http://mail-archives.apache.org/mod_mbox/maven-users/200801.mbox/[EMAIL PROTECTED] Paul On Wed, Feb 27, 2008 at 11:06 AM, Luca Marrocco <[EMAIL PROTECTED]> wrote: > 2008/2/27, vitor lundberg <[EMAIL PROTECTED]>: > > I wish that my integration test start after the "package" st

Final Memory

2008-01-25 Thread Paul Benedict
What does the "Final Memory" detail represent when Maven finishes? I can't find any documentation on what the two numbers mean. [INFO] Final Memory: 1M/4M Paul

Re: Profile activation by time range?

2008-01-23 Thread Paul Benedict
I believe you can write your own profile activation class, but that's a feature of Maven 2.1 Paul On Jan 23, 2008 7:43 PM, Ravi Luthra <[EMAIL PROTECTED]> wrote: > Does anyone know how to activate a profile in maven if the time is > between a certain hour of the day? > > I'm using a CI to build

Running Hibernate tests in integration-test phase

2008-01-22 Thread Paul Benedict
Is it possible -- or even worthwhile -- to run Hibernate testing in the Maven integration-test phase? Typically, I have been running all my tests (unit and integration) under the test phase. Can Maven handle splitting them apart? I am trying to keep my test phase to be pure unit testing. If so, I'

Re: Maven and Java 6 Patch 3

2007-12-12 Thread Paul Benedict
Provide a stack trace please. On Dec 12, 2007 7:45 AM, Sachse, Holger <[EMAIL PROTECTED]> wrote: > Dear all, > > > Since I updated to Java 6 Patch I get a Java nullPointer exception in the > plexus classpath container as soon as I call any Maven goal on command line > level under Windows XP. Cons

Re: OverConstrainedVersionException

2007-12-11 Thread Paul Benedict
You're asking Maven to select a range of JAR versions with the brackets. It interprets the dash as the separator between two bounds (3.3.0 and 3346). Chuck the brackets. Paul On Dec 12, 2007 12:44 AM, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > On 12/12/2007, Saxena, Sandeep <[EMAIL PROTECTED]

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread Paul Benedict
ssed in a few JIRAs: > http://jira.codehaus.org/browse/MNG-3118 > http://jira.codehaus.org/browse/SUREFIRE-61 > http://jira.codehaus.org/browse/MNG-2365 > > Wayne > > On 12/7/07, Paul Benedict <[EMAIL PROTECTED]> wrote: > > The problem might be within the SureFire plu

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread Paul Benedict
The problem might be within the SureFire plugin? Maybe it requires an update to select the correct classpath for testing. Paul On Dec 7, 2007 2:36 PM, NicholasHall <[EMAIL PROTECTED]> wrote: > > I too have had this problem since upgrading to 2.0.8. I actually > regressed > to 2.0.7 until I can

Re: 2.0.8 broken war build

2007-12-03 Thread Paul Benedict
gt; > > As a workaround, I configured surefire 2.3 with this : > > never > > > > Then Surefire classloader read config file in target/test-classes first. > > > > Strange thing, I had to do that only for projects with war packaging > > (but with classica

Re: 2.0.8 broken war build

2007-11-28 Thread Paul Benedict
Kev, I reported something similar in the user list today. The classpath that Spring gets back in 2.0.8 points to classes, not test-classes, so all my testing data cannot be found. As you said, things work fine in 2.0.7 Paul On Nov 28, 2007 9:29 PM, Kev Jackson <[EMAIL PROTECTED]> wrote: > Hi, >

Maven 2.0.8 breaks my Spring Testing

2007-11-28 Thread Paul Benedict
I have my Spring application context files in my src/test/resources directory. I am telling Spring to load it using this pattern: [INFO] "Loading config for: classpath:applicationContext-*.xml" This is what happens in Maven 2.0.7: [DEBUG] org.springframework.core.io.support.PathMatchingResourcePa

How to exclude start-dot resources in target or war

2006-07-16 Thread Paul Benedict
I am using myeclipse and certain graphical tools produce files that begin with a dot and are placed in my webapp directory (ie, .struts-something.mex). When I create my WAR archive, how can I specify that all files starting with a dot should be added to the archive? I do want to keep these gener

<    1   2