Re: Maven AntRun Plugin - Phase Required?

2008-07-02 Thread ertnutler
Maven supports Ant scripts as Maven plugins. Once you have your script packaged as a Maven plugin, you can invoke it from the command line. See section 5 of the Better Builds With Maven book. Elliot Barlas wrote: Hi all, I would like to define a ant task in a AntRun plugin configuration

source arbitrary external profile data?

2008-07-01 Thread ertnutler
I'm looking for a good way to surface external properties to Maven. For the sake of brevity, these properties aren't in profiles.xml format but are in a proprietary format. I was thinking I could create Profile instances as I see fit and populate them such that the properties are available at

Re: source arbitrary external profile data?

2008-07-01 Thread ertnutler
an instance of my implementation class. Anyone? ertnutler wrote: I'm looking for a good way to surface external properties to Maven. For the sake of brevity, these properties aren't in profiles.xml format but are in a proprietary format. I was thinking I could create Profile instances as I see fit

plugin shorthand not working as expected

2007-06-01 Thread ertnutler
I've read through and followed this: http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html I have a custom plugin whose groupId I've configured in a custom pluginGroup in my m2_home/conf/settings.xml like so: pluginGroups

[m2] ear-plugin: web module context root problem

2007-05-29 Thread ertnutler
i'm using the maven-ear-plugin to generate my application.xml. the problem i have is that i would like to use a profile property as the value for the webModule/contextRoot element. the catch is that sometimes i have a value for this context root, sometimes i don't. for example, when we build

Re: Copying a file to a remote server

2007-05-29 Thread ertnutler
scp is an optional task. the fact that it fails on continuum but completes normally in maven makes me think that the two are using different ant distributions. the one that completes probably has ant-jsch.jar in its lib directory, while the other probably doesn't. confirm that both

access plugin groupId/artifactId/version from within plugin

2007-05-21 Thread ertnutler
I have a plugin that does some generation, but I want to be able to print the groupId/artifactId/version of the plugin to the file that gets generated. I don't see anything in the docs that addresses this, and when I step through my plugin in eclipse, the pluginContext Map is empty. How do I

programmatically remove exclusion for certain builds?

2007-04-03 Thread ertnutler
i'm trying to enforce a separation of concerns during my compile phase which needs to be removed during the package phase. for example, if a developer introduces a dependency on the persistence layer from the web layer, the build should not compile. however, since we're currently deploying to a

Re: Obtaining all profiles on a project - active/merged/inactive

2007-03-21 Thread ertnutler
Was this plugin ever produced? I'd like to get my hands on some similar code. Also, in the example below, where can I get the plexusContainer and settings references? I assume this is being coded from within a plugin, but I don't see where those collaborators live. Emmanuel Venisse wrote:

dynamically disable filtering?

2006-10-26 Thread ertnutler
hey, all. i've tried all the ways i can think of to dynamically disable filtering, but none of them seem to work. what i'm looking for is a way to disable filtering across a multi-project with a profile or a system property, such that something like filtering${enable.filtering}/filtering can

Re: Any interest in a maven-properties-plugin?

2006-10-26 Thread ertnutler
i'm interested in using this plugin, but i can't checkout the source or browse the repository from the project home page. has it been removed? -- View this message in context: http://www.nabble.com/Any-interest-in-a-maven-properties-plugin--tf2454363.html#a7011740 Sent from the Maven - Users

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
it works fine when i use a filter file, but i want to use properties defined in profiles. the resources plugin uses them appropriately. any idea when the war plugin will do the same? -- View this message in context:

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
strange. i got it to work by changing the resource directory from ${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't explain why it doesn't work for WEB-INF... -- View this message in context:

filtering web.xml with profile properties

2006-09-14 Thread ertnutler
I can't for the life of me figure out how to have the maven-war-plugin filter my web.xml with properties from my profiles. i've read this thread: http://www.nabble.com/War-plugin-and-filtering-webapp-files-t1617964.html and i've tried all the configuration options mentioned there--except

profile inheritance problem

2006-07-18 Thread ertnutler
i have a multi-module project that looks like this: -- parent |-- profiles.xml |-- pom.xml |-- childProjectJar |--profiles.xml |--pom.xml |-- childProjectEjb |-- profiles.xml |-- pom.xml one profile is defined in parent/profiles.xml, and environment

Re: Weblogic Deployment

2006-07-18 Thread ertnutler
delete /org/codehaus/mojo/maven-weblogic-plugin from your local repository and run your mvn command again. i don't know why, but if there's a pom in that directory but no jar file, maven doesn't go to the remote repo again. it just fails. deleting the local directory has always solved this

[m2] xdoclet with MDBs

2006-07-17 Thread ertnutler
hey, all. i have an EJB project that builds an MDB with m2. my problem is that when i use xdoclet in conjunction with this project, it doesn't generate the appropriate deployment descriptors when my MDB bean class inherits from a superclass. when i remove the extends clause and replace it with

Re: Problem with site generation and multi-module project

2006-07-06 Thread ertnutler
did this get resolved? i'm currently executing a custom ant script to copy to the locations expected by the parent module...would love to get rid of that if possible... -- View this message in context:

Re: mvn2, dependincies, javadoc plugin and links...

2006-07-06 Thread ertnutler
am i missing something here? i may be exposing my relative newness to maven, but why doesn't the javadoc plugin operate on transitive dependencies the same way that the compiler plugin does? -- View this message in context:

Re: Newbie question

2006-07-03 Thread ertnutler
seems like something that could be scripted with minimal effort...have you looked into that? -- View this message in context: http://www.nabble.com/Newbie-question-tf1879027.html#a5149890 Sent from the Maven - Users forum at Nabble.com.

RE: conditionally loading property files

2006-06-23 Thread ertnutler
has anybody worked out a solution to this? i'd like to do something very similar, but at the very least i'd like to avoid redefining properties when the values won't differ -- View this message in context: http://www.nabble.com/conditionally-loading-property-files-t1412492.html#a5017698

Re: RE : Surefire Stacktrace

2006-06-07 Thread ertnutler
-Dsurefire.useFile=false doesn't do anything to show the actual stacktrace. all this does is push the same output to the console. the way to solve this is to pass -DstimTrackTrace=false. -- View this message in context: http://www.nabble.com/Surefire-Stacktrace-t1668865.html#a4764167 Sent from

Re: RE : Surefire Stacktrace

2006-06-07 Thread ertnutler
that should be trimStackTrace -- View this message in context: http://www.nabble.com/Surefire-Stacktrace-t1668865.html#a4764172 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread ertnutler
for some reason when i create a new project from an existing archetype, the pom.xml copied to the root of the new project has its project element stripped of the xml namespace information and the empty dependencies element is removed, as is the packaging element. this worked a couple of days

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread ertnutler
wayne, thanks for your response. now that i think about it, i changed the maven-archetype pom in my local repo as you suggested in the thread below because i was having the problem described there:

Re: CVS Checkout fails with Username isn't defined.

2006-05-24 Thread ertnutler
Thanks for your response. I've pasted the stack trace below. Build Error: org.apache.maven.continuum.scm.ContinuumScmException: Error while

CVS Checkout fails with Username isn't defined.

2006-05-23 Thread ertnutler
Hey, all. I can't for the life of me figure out why the CVS SCM provider can't check out my source files from CVS. I noticed in a couple prior posts that the CVSNT executable requires a login from the same shell prior to starting Continuum. I've done this, yet I still get a build error with