Re: Where has the list of maven project properties gone?

2015-09-04 Thread Russ Tremain
Here is a good reference: http://books.sonatype.com/mvnref-book/reference/resource-filtering-sect-properties.html There is a new project wiki, but doesn't look like has much in the way of user help: https://cwiki.apache.org/confluence/display/MAVEN/Index Not sure who is allowe

Re: [ANN] flatten-maven-plugin 1.0.0-beta-2 released

2014-07-09 Thread Russ Tremain
Hi Jörg, I'm giving your plugin a spin and I think it really helps! What I wonder is how do you get maven-install and maven-deploy plugins to use ${basedir}/.flattened-pom.xml ? Is there a magic property I can set, or can this only be done programatically? Seems tricky, since I want to use th

enough entropy for jarsigning?

2014-02-01 Thread Russ Tremain
Hi, I ran into a very weird problem the other day that I thought I would share with the list. We recently switched our maven builds to Fedora linux running on a really great VMWARE cluster with very fast SSD-based storage. However, our average java build inexplicably increased to several h

Re: local repository

2012-08-28 Thread Russ Tremain
simplist way is to build it with maven, i.e. "mvn install". then your other projects can pick it up from your local build repository, which is %HOME%\.m2\repository by default. if you want to publish it to an internal web server, so that everyone can use it, then explore "mvn deploy". At 10:38

how to fix an errant object in maven central?

2012-08-03 Thread Russ Tremain
Hi, we have a dependency on the cas:cas-server:3.0.4 pom that is inherited via org.acegisecurity:acegi-security-adapters:1.0.6. however, the pom on central is saved under /cas/cas-server/3.0.4/cas-server-3.0.4.pom- (note the dash at the end). cas cas-server 3.0.4 pom- The pom i

why is commons-math3 jar missing from sonatype mirror of central?

2012-06-04 Thread Russ Tremain
it is here: http://repo.maven.apache.org/maven2/org/apache/commons/commons-math3/3.0 but not getting sync'd to the sonatype mirror: https://repository.sonatype.org/index.html#nexus-search;quick~commons-math3 in fact I only see 7 of the 32 files mirrored. anyone know why? It

sensible way to default maven properties?

2012-03-12 Thread Russ Tremain
Hi, I'm wondering if there is a sensible way to default properties in maven. I.e., I want to have a property: default-value-if-not-defined-elsewhere ${env.FOO} I.e., use the default unless the varialble is provided by the environment or via an explicit define in settings.xml or on

axistools-maven-plugin classpath issue

2011-07-06 Thread Russ Tremain
Hi, I have a situation where I have to generate wsdd (web-service-deployment-descriptors) for a couple of projects. I'm using the axistools-maven-plugin admin goal to accomplish this. In order to get it to work, I find that I have to include the project dependencies within the plugin depende

Re: Maven 3.0 Artefact/Dependency version discussion request

2011-06-01 Thread Russ Tremain
need to update the poms. Just do it outside of maven before >> > you perform the final build - should not be hard. If doing that is >> > too much to ask ... then, yeah, Maven may not be the right framework >> > for you. But consider that you will need to do *something

Re: How to define local repository path in settings.xml or pom.xml?

2011-05-20 Thread Russ Tremain
AFAIK there is no way to do this in settings.xml. It is a chicken & egg problem that has never been effectively solved in maven. What you can do, is pass the repository location in as a property. Typically I create an alias (or a .bat file on windows): alias svmn mvn -Dmaven.repo.local

Re: A maven-war-plugin question

2011-05-20 Thread Russ Tremain
I think your real question might be, who is putting this stuff in my WEB-INF/classes dir? It is the resources plugin, as commanded by the war-plugin. therefore, you would add a element to prevent this. Below is a trivial example. /r == src src/main/res

Re: Maven to package

2011-05-17 Thread Russ Tremain
At 1:52 PM -0700 5/17/11, mavenuser wrote: >is it possible to create a jar of selected packages together with >dependencies in a project. ? > yes. use the maven-dependency plugin, and just unpack or copy the dependencies to your target/classes dir. --

why I love the maven-dependency plugin

2011-05-17 Thread Russ Tremain
I use the maven-dependency plugin for jar and war packaging. It is flexible and non-judgmental. This is particularly important when you are converting a large project over to maven and cannot follow some maven conventions - you may be constrained to recreate identical or near-identical artifac

Re: Maven 3.0 Artefact/Dependency version discussion request

2011-05-17 Thread Russ Tremain
+1. this is the major reason I won't be upgrading to maven 3. I do think that versions should be fixed at maven deploy time - i.e., when artifacts are deployed to the repository. -Russ At 5:21 AM -0700 3/26/11, bryan.dollery wrote: >Hi, > >I am also getting grief from maven for using variables

RE: webservice for maven artifact search?

2010-12-02 Thread Russ Tremain
Well, if I were going to design something from scratch, I think a simple REST'ful api would suffice, perhaps similar to hudson: http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API (although don't need so many choices!) So perhaps I should broaden my question - is there anything o

webservice for maven artifact search?

2010-12-02 Thread Russ Tremain
anyone know of a web-service interface to any of the public maven artifact lookup services? tia, -russ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven: Problem in including/excluding some java packages in the src while creating a jar

2010-08-20 Thread Russ Tremain
you can make new projects just for packaging. make these project depend on your jars. then use the dependency plugin to unpack and repack. you might find some useful ideas here (drill down to child poms): http://fisheye5.cenqua.com/browse/open-esb/esb-packages At 10:38 PM -0700 8/19/10,

Re: How to write to file from maven

2010-08-02 Thread Russ Tremain
> >But I get back the version.xml file as-is without any substitution in >the target test folder. > >Any suggestions? >- Pulkit > >On Mon, Aug 2, 2010 at 8:00 PM, Russ Tremain wrote: >> during the process-resources phase of the build lifecycle [1], you can >

Re: How to write to file from maven

2010-08-02 Thread Russ Tremain
during the process-resources phase of the build lifecycle [1], you can substitute values. see: http://maven.apache.org/ref/2.2.1/maven-model/maven.html#class_resource you would need to enable filtering. refs: [1] http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Re: Advice on dealing with hostility to Maven 2

2008-10-21 Thread Russ Tremain
have you tried the Maven Kool-Aid on him? It's sort-of purplish and you can buy it at Trader Joe's, but they are often out of stock. :) bottom line, in maven you can see the dependencies of a project, in a clearly specified form. there are even visual tools to help. not so with ant, make, sh, p

Re: How to execute a perl script from maven ?

2008-07-18 Thread Russ Tremain
At 2:59 PM +0200 7/18/08, nicolas de loof wrote: >Right, but this requires perl to be available on every developer system. > >I was looking for a pure java solution. But maybe there is no Java >interpreter for Perl... > porting perl to the java-vm is a task no one has taken on. maybe later. howev

RE: newbie plugin developer questions..

2008-07-16 Thread Russ Tremain
hat's the plugin? The process at codehaus is usually to attach it to a >jira and then try to find someone to sponsor it. > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 16, 2008 2:40 PM >To: Adam >Cc: Maven Use

Re: newbie plugin developer questions..

2008-07-16 Thread Russ Tremain
e, and have >your repository rsync'd with Ibiblio. > >On Wed, Jul 16, 2008 at 1:16 PM, Russ Tremain <[EMAIL PROTECTED]> wrote: >> anyone know how to get started contributing a new plugin? >> >> tia, >> -Russ >> >> >>>Date: Fri, 11 Jul 2

newbie plugin developer questions..

2008-07-16 Thread Russ Tremain
anyone know how to get started contributing a new plugin? tia, -Russ >Date: Fri, 11 Jul 2008 13:14:30 -0700 >From: Russ Tremain <[EMAIL PROTECTED]> >Subject: [mojo-dev] newbie plugin developer questions.. >Sender: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Reply-to: [EMA

Re: codehaus repos fried?

2008-06-17 Thread Russ Tremain
At 12:25 PM -0700 6/17/08, Russ Tremain wrote: >getting long hangs on both codehaus repos: > > http://snapshots.repository.codehaus.org/ > http://repository.codehaus.org > >does anyone know of any mirror for these? > >tia, >-Russ as a temporary work-around,

codehaus repos fried?

2008-06-17 Thread Russ Tremain
getting long hangs on both codehaus repos: http://snapshots.repository.codehaus.org/ http://repository.codehaus.org does anyone know of any mirror for these? tia, -Russ - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: artifact.jar -> artifact.zip?

2008-05-23 Thread Russ Tremain
At 6:18 PM -0700 5/22/08, Wendy Smoak wrote: >On Thu, May 22, 2008 at 5:59 PM, Russ Tremain <[EMAIL PROTECTED]> wrote: > >> is it possible to coax the maven-jar-plugin to name my artifact with a .zip >> suffix instead of .jar? >> also, can I tell it not to includ

artifact.jar -> artifact.zip?

2008-05-22 Thread Russ Tremain
is it possible to coax the maven-jar-plugin to name my artifact with a .zip suffix instead of .jar? also, can I tell it not to include any manifest? I don't see anything helpful in the docs. tia, -Russ - To unsubscribe, e-mai

RE: maven.repo.local, again

2008-05-07 Thread Russ Tremain
Yes! This property reflects ${maven.repo.local} when I pass -Dmaven.repo.local=..., and returns ~/.m2/repository if I do not. Exactly what I needed. I was under the false impression that one had to define it in ~/.m2/settings.xml in order to use it. thanks - -Russ % mvn -Dmaven.repo.local=/tm

maven.repo.local, again

2008-05-05 Thread Russ Tremain
Is there any property set by maven that tells me where the local build repository is? I.e., once it resolves where it is going to build, will it tell me? I think the answer is just plain no, but I want to re-confirm. tia, -Russ -

Re: injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
At 10:37 PM +0100 3/11/08, simon wrote: >On Tue, 2008-03-11 at 13:52 -0700, Russ Tremain wrote: >> At 9:10 PM +0100 3/11/08, simon wrote: >> > >> >It's rather odd to want to inherit anything except (transient) >> >dependencies from an "external" p

Re: injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
r these profiles: spring-osgi org.springframework.osgi 1.0 /r >On Tue, 2008-03-11 at 12:15 -0700, Russ Tremain wrote: >> I have an interesting situation where we have one test project >> that wants its parent to be an external project pom. >> >> I

Re: How to exclude all test classes from jar?

2008-03-11 Thread Russ Tremain
not quite sure I understand, are you saying you have test files in your that you want to exclude? if so, then the convention is to exclude them in the .. section. classes in are by default excluded from the final jar. At 2:30 PM -0500 3/11/08, Chris wrote: >I'd like to exclude all classes in

injecting pom elements from multiple parents

2008-03-11 Thread Russ Tremain
I have an interesting situation where we have one test project that wants its parent to be an external project pom. I don't want that, because it means I can't have it inherit from a common parent we have described locally. I.e. let X be the external pom, L be the local parent, and T be the tes

Re: Create one jar including all dependencies

2008-02-21 Thread Russ Tremain
At 2:51 PM -0800 2/21/08, krishnan.1000 wrote: >Hi, > >I am a Maven newbie. So please forgive my ignorance. I am using Maven 2x for >project and dependency management. I am creating a jar package. My project >requires that the jar be deployed on a remote server. I can create a jar of >all the clas

why is xalan serializer 2.70 missing from central?

2007-09-07 Thread Russ Tremain
Does anyone know why the 2.7.0 serializer jar is missing from the xalan distribution: http://repo1.maven.org/maven2/xalan/xalan/2.7.0/ I assume it should be here: http://repo1.maven.org/maven2/xalan/serializer/2.7.0/ How do we get it fixed? thanks, -Russ ---

Re: tools.jar dependency and MacOSX

2007-06-11 Thread Russ Tremain
warning, for some reason the symlink does not work on the intel macs. here is what I do (tcsh/csh syntax): setenv JAVABASE /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0 setenv JAVAVERS Home setenv JAVA_HOME $JAVABASE/$JAVAVERS if (! -d $JAVA_HOME/jre || ! -r $JAVA_HOME/../lib/tools.j

RE: regression in maven-dependency plugin has broken our builds

2006-12-14 Thread Russ Tremain
looks good now.. thanks Brian! /r At 10:23 AM -0500 12/14/06, Brian E. Fox wrote: >New snapshot is deployed. Curious that it never showed up before in the >copy-dependencies mojo. > >-Original Message- >From: Brian E. Fox [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 14, 2006 9:44 AM

Re: regression in maven-dependency plugin has broken our builds

2006-12-14 Thread Russ Tremain
2.0-alpha-1-20061114.043217-3 true /r >On 12/14/06, Russ Tremain <[EMAIL PROTECTED]> wrote: >>looks like someone released a new snapshot of the maven-dependency plugin >>that has a regression: >> >>

regression in maven-dependency plugin has broken our builds

2006-12-14 Thread Russ Tremain
looks like someone released a new snapshot of the maven-dependency plugin that has a regression: maven-dependency-plugin generate-sources generate-sources copy

WARNING: maven dependency plugin version change

2006-10-30 Thread Russ Tremain
There is a new version name for the maven dependency plugin. old: 2.0-SNAPSHOT new: 2.0-alpha-1-SNAPSHOT not sure why or what was changed. The version change broke our build, but looks like the plugin is okay. /r - To

Re: mvn2 checking snapshot version for maven plugins?

2006-10-23 Thread Russ Tremain
grep for SNAPSHOT in your local repository pom.xml files to see if you can find out who has the dependency: cd grep SNAPSHOT `find . -name '*.pom'` also, looks like the public snapshot repository is still down. -Russ >Hi, > >While running my maven build I saw this in the outpu

Re: errors retrieving archiva, install, maven-plugins

2006-10-23 Thread Russ Tremain
Wendy - thanks for the info... is there any mirror that is working? -Russ At 12:28 PM -0700 10/23/06, Wendy Smoak wrote: >On 10/23/06, Russ Tremain <[EMAIL PROTECTED]> wrote: >>We started getting errors this weekend: > >Several ASF servers were/are offline since Saturday.

errors retrieving archiva, install, maven-plugins

2006-10-23 Thread Russ Tremain
We started getting errors this weekend: [WARNING] repository metadata for: 'snapshot org.apache.maven.plugins:maven-install-plugin:2.2-SNAPSHOT' could not be re trieved from repository: maven-snapshots due to an error: Error transferring file [WARNING] repository metadata for: 'snapshot org.apa

Re: [m2] all our builds are failing...

2006-09-07 Thread Russ Tremain
/maven-plugins-3.pom > >ibiblio is the first mirror of repo1.maven.org > >Emmanuel > >Russ Tremain a écrit : >>we are using a mirror to ibiblio, and have been having this error since >>yesterday: >> >>GroupId: org.apache.maven.plugins >>ArtifactId: maven-pl

[m2] all our builds are failing...

2006-09-07 Thread Russ Tremain
we are using a mirror to ibiblio, and have been having this error since yesterday: GroupId: org.apache.maven.plugins ArtifactId: maven-plugins Version: 3 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-plugins:pom:3 from the specified remote reposito

Re: [ANN] JAR Plugin v 2.1 Released

2006-08-31 Thread Russ Tremain
able to isolate it further it only occurs if I run a full build (clean) from my top pom.xml. -Russ [1] Email from 8/29: >Date: Tue, 29 Aug 2006 12:53:01 -0700 >From: Russ Tremain <[EMAIL PROTECTED]> >Subject: regression in maven-jar-plugin-2.1-20060826.162339-6.jar or >dependencie

Re: [POLL] Why switch to Maven?

2006-08-29 Thread Russ Tremain
I am a proponent of Maven 2. We have converted a large, ant based build system, first to Maven 1.1, and now to Maven 2. There are many flaws. There are many bugs. Plugin configuration documentation is especially poor. Configuration of plugins is inconsistent. Etc., etc. The maven 2 conversio

regression in maven-jar-plugin-2.1-20060826.162339-6.jar or dependencies

2006-08-29 Thread Russ Tremain
Hi - We use the SNAPSHOT jar plugin so maven doesn't add the maven meta files to our production jars. I find that it sometimes creates empty jars when run from our top pom. However, it seems to work normally when run locally. I believe the snapshot in question is: maven-jar-plugin-2.1-

Re: Please stop using snapshots.maven.codehaus.org/maven2

2006-08-28 Thread Russ Tremain
me other problems as well, since if there is a hiccup in the http://cvs.apache.org/ snapshot repos, sometimes we would pick up an old antrun plugin from this codehaus maven2 repos, which causes a build failure as well. thx, -Russ >On 29/08/06, Russ Tremain <[EMAIL PROTECTED]> wrote: &

Re: Please stop using snapshots.maven.codehaus.org/maven2

2006-08-28 Thread Russ Tremain
Hi Brett - I just tried using only http://snapshots.repository.codehaus.org/ but maven-build-helper is still in http://snapshots.maven.codehaus.org/maven2/ and we use it. I.e., this dir has no jars: http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/ This dir do

Re: Broken build on Apache Directory Server project

2006-08-28 Thread Russ Tremain
our builds are broken too: Missing: -- 1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-arc

Re: 1 Module - N output jars

2006-07-27 Thread Russ Tremain
At 12:48 PM -0400 7/27/06, John Casey wrote: >One of the fundamental principles that Maven operates on is the 1:1 >association of POMs to primary output artifacts (not counting special >assemblies, source, or javadoc jars). If you want, you might be able to >construct a set of POMs that all referen

Re: [M2] Surefire POJO / Inner class issue

2006-07-27 Thread Russ Tremain
Hi Hal - I'm running into a similar issue.. did you find a work-around? thx, -Russ ([EMAIL PROTECTED]) At 4:05 PM -0700 7/14/06, Hal Hildebrand wrote: >I'm running into a weird issue here. It seems that the Maven surefire >plugin is trying to create POJO tests for inner classes which clearly a