RE: Maven release plugin, multiple svn repos?

2012-08-22 Thread Matt Walsh
Maybe you need developerConnection instead of connection (or both). -Original Message- From: Billy Newman [mailto:newman...@gmail.com] Sent: Wednesday, August 22, 2012 9:56 AM To: users@maven.apache.org Subject: Re: Maven release plugin, multiple svn repos? A little more info.

RE: Can Maven edit a WAR?

2012-08-03 Thread Matt Walsh
Can you not do this using filtered overlays in the maven-war-plugin. Build a generic war, then have other war projects dependent on the generic war as an overlay and apply property filters to it. So you'd have one generic-war project, built in the usual way, with no property filters. Then one or

RE: problem in installing/running maven

2012-07-18 Thread Matt Walsh
Wow! Rahul! You need to learn to crawl before you can learn to walk. This is not a Maven problem. You need to go to your manager or to a co-worker or to your cool friend with the following questions: 1. How do I run commands from a command prompt in Windows? 2. What's the difference between an

RE: libraries duplkication into ear and war

2012-07-05 Thread Matt Walsh
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.ht ml -Original Message- From: Laudio Info [mailto:laudio.i...@gmail.com] Sent: Thursday, July 05, 2012 1:38 AM To: users@maven.apache.org Subject: libraries duplkication into ear and war Hello i have one

RE: How to upload this pdf plugin on to my internal company repository?

2012-05-29 Thread Matt Walsh
Have you defined your pluginRepository in your maven settings.xml file? Something like: profiles profile idnexus/id !--Enable snapshots for the built in central repo to direct -- !--all requests to nexus via

RE: help: rpm-maven-plugin not 'deploy'-ing RPM to repository

2012-05-25 Thread Matt Walsh
(I've never used this plugin, but you piqued my curiosity, so I took a quick look at it.) Looks to me like you're running the rpm goal which just generates the rpm, correct? Have you tried running the attached-rpm goal? I didn't glean anything from the docs about deploying by default, unless

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Matt Walsh
Pankaj, The problem is in your includes. javadoc and source are classifiers, not types. Try groupA:A:jar:sources groupB:A:jar:javadoc and so on. Matt -Original Message- From: Pankaj [mailto:pankaji...@rediffmail.com] Sent: Thursday, May 17, 2012 12:11 PM To:

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Matt Walsh
Yeah. You need to read the documentation. The format is groupId:artifactId:type:version[:classifier]. Artifact coordinatess may be given in simple groupId:artifactId form, or they may be fully qualified in the form groupId:artifactId:type:version[:classifier]. Additionally, wildcards can be used,

RE: Maven failed with error while reading test results

2012-04-27 Thread Matt Walsh
-Original Message- From: Matt Walsh Sent: Friday, April 27, 2012 9:26 AM To: users@maven.apache.org Subject: RE: Maven failed with error while reading test results Doesn't look like maven failed. Your tests failed, which caused your build to fail, then Jenkins failed looking

RE: Maven failed with error while reading test results

2012-04-27 Thread Matt Walsh
Doesn't look like maven failed. Your tests failed, which caused your build to fail, then Jenkins failed looking for results. Maybe you've configured your Jenkins build to do it's post processing even on failure? Matt -Original Message- From: Alexis Morelle

RE: Maven failed with error while reading test results

2012-04-27 Thread Matt Walsh
data Finished: SUCCESS thx very much Alexis. Le 27/04/2012 17:26, Matt Walsh a écrit : Doesn't look like maven failed. Your tests failed, which caused your build to fail, then Jenkins failed looking for results. Maybe you've configured your Jenkins build to do it's post processing

RE: How can I trigger a makefile through Maven? is there any plugin for this?

2012-04-26 Thread Matt Walsh
You're getting a jar file because by omission of the packaging element, that's what you've asked for. There's nothing in that makefile that tells it to put anything in your target directory. I'd look for it beside the helloworld.c, wherever that is. -Original Message- From: bettypop

RE: How can I trigger a makefile through Maven? is there any plugin for this?

2012-04-25 Thread Matt Walsh
[INFO] make: Nothing to be done for `C:\Program Files\apache-maven-3.0.4\maven-n ative-example\src\main\makefile' This looks like a makefile target/rule/dependency issue, not a Maven issue. -Original Message- From: bettypop [mailto:yashu@gmail.com] Sent: Wednesday, April 25,

Bad error message on maven-release-plugin

2012-04-25 Thread Matt Walsh
Hi. D'oh! Just spent half an hour trying to figure out why I couldn't do a release. Hopefully this will keep someone else from doing the same. Kept getting the following error message: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:perform (default-cli)

RE: Bad error message on maven-release-plugin

2012-04-25 Thread Matt Walsh
See -- Did it again! :-( - given that the release.properties file doesn't exist until you run release:perform. I mean to say ... until you do a release:prepare. -Original Message- From: Matt Walsh [mailto:mwa...@chartwelltechnology.com] Sent: Wednesday, April 25, 2012 3:51 PM

RE: Is it possible to package several applets into a war and overlay with webapp war

2012-04-23 Thread Matt Walsh
You already have them as jars. Why not just make them dependencies of your war project? Matt -Original Message- From: wzhao6898 [mailto:wzhao6...@gmail.com] Sent: Monday, April 23, 2012 12:00 AM To: users@maven.apache.org Subject: Is it possible to package several applets into a war

RE: Maven 2 to 3 migration problem

2012-04-18 Thread Matt Walsh
I can help get rid of the warnings. You have the maven-antrun-plugin declared 4 times. I think what you want is 4 executions within 1 declaration. You have the maven-releases-plugin declared 2 times in your pluginManagement. As far as the error is concerned, your build doesn't seem to like the

RE: Maven release plugin help...

2012-04-04 Thread Matt Walsh
Jeff I'm sure you're having great success banging your head. ;-) I use the maven release plugin with SVN. We've had authentication issues before as well. First, do you have an svn provider defined for the plugin in your pom? Here's what I have. configuration providerImplementations

RE: Skip default execution?

2012-03-14 Thread Matt Walsh
Try changing the execution id to 'default-war'. -Original Message- From: Maven User [mailto:maven.2.u...@gmail.com] Sent: Wednesday, March 14, 2012 12:08 PM To: Maven Users List Subject: Skip default execution? Hi all - I _swore_ you could do this, but maybe I've overlooked

RE: Is it possible to tie current git branch to project version?

2012-03-07 Thread Matt Walsh
Seth. I tried doing something similar to this using the buildnumber-maven-plugin. It returns the branch and revision number (I use Subversion, not Git), but looks like you're trying something similar. The problem I encountered (at least how I interpreted it) is that the plugin doesn't run soon

RE: Is it possible to tie current git branch to project version?

2012-03-07 Thread Matt Walsh
Just a little anecdote here on the pitfalls of branching maven projects without some kind of control. We have a SNAPSHOT version for trunk. We use the maven-release-plugin to create our maintenance branches at release time. The plugin, by default, uses the current dev version on trunk as the

RE: Antwort: RE: offline not truly offline?

2012-02-29 Thread Matt Walsh
Nice. 4 years old. -Original Message- From: Thorsten Heit [mailto:thorsten.h...@vkb.de] Sent: Wednesday, February 29, 2012 2:35 AM To: Maven Users List Subject: Antwort: RE: offline not truly offline? Hi, From my experience with the archetype plugin, it appears to ignore your

RE: Antwort: RE: offline not truly offline?

2012-02-29 Thread Matt Walsh
Or it that 1 year old. Always get those yy/mm/dd vs dd/mm/yy confused. :-( -Original Message- From: Matt Walsh Sent: Wednesday, February 29, 2012 8:56 AM To: Maven Users List Subject: RE: Antwort: RE: offline not truly offline? Nice. 4 years old. -Original Message

RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
From my experience with the archetype plugin, it appears to ignore your company proxies and mirrors and always and only goes to repo1 unless you tell it otherwise using -DarchetypeCatalog=http://your.company.repo/ or -DarchetypeCatalog=local I don't have a proxy, but I do have everything

RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
should be created.. On Tue, February 28, 2012 10:40 am, Matt Walsh wrote: From my experience with the archetype plugin, it appears to ignore your company proxies and mirrors and always and only goes to repo1 unless you tell it otherwise using -DarchetypeCatalog=http://your.company.repo

RE: How to deploy with 'classifier'

2012-02-28 Thread Matt Walsh
I can understand needing to do this. For reasons I won't get into, I had to do something similar in order to split a huge jar file. The compile phase compiled all the classes I needed, so I used the package phase to create 2 jars from the same sources by overriding the default-jar execution and

RE: offline not truly offline?

2012-02-28 Thread Matt Walsh
Agreed. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, February 28, 2012 1:43 PM To: Maven Users List Subject: Re: offline not truly offline? From the looks of the documentation, this was by design. Doesn't mean it wasn't a bad design. ;-) ...

Weirdities and wonders of the maven-metadata.xml file

2012-02-23 Thread Matt Walsh
Hi. Sorry if this is a bit wordy, but I'm confused about how the metadata file gets updated and downloaded to my local .m2/repository, and the following describes what I've gone through to try to understand the problem. I'm not sure if this is a Nexus issue or a Maven issue, so I thought I'd

RE: One question about Multi Project Structure in MAVEN

2012-02-22 Thread Matt Walsh
Put this in your pojo and java poms: plugin artifactIdmaven-deploy-plugin/artifactId configuration skiptrue/skip /configuration /plugin It

RE: axistools:wsdl2java

2012-02-22 Thread Matt Walsh
Generate-sources is a phase, not a dependency scope. Get rid of that for a start. I'm surprised maven even allowed that. I guess it accepts anything there. -Original Message- From: jgruber [mailto:john.t.gru...@gmail.com] Sent: Wednesday, February 22, 2012 9:38 AM To:

RE: Specifying credentials with archetype:generate

2012-02-17 Thread Matt Walsh
From http://maven.apache.org/archetype/maven-archetype-plugin/faq.html: How to generate a project from an archetype in an authenticated repository? The server id used to download the artifact is [archetypeArtifactId]-repo: you have to define corresponding server configuration in settings.xml

RE: war overrides webapp content from webapp resources

2012-01-20 Thread Matt Walsh
That's probably because your war's sourceDirectory is src/main/webapp. I always put filtered resources in src/main/webResources and non-filtered everything else goes in src/main/webapp. Matt -Original Message- From: mschipperheyn [mailto:m.schipperh...@gmail.com] Sent: Friday,

RE: Difference between compile and provided scope for jar artifacts

2012-01-20 Thread Matt Walsh
Makes more sense in terms of a WAR. Compile scope jars are copied to WEB-INF/lib. Provided scope jars aren't. For example, the servlet-api would be provided by the servlet container. Matt -Original Message- From: chad.da...@emc.com [mailto:chad.da...@emc.com] Sent: Friday, January 20,

RE: Difference between compile and provided scope for jar artifacts

2012-01-20 Thread Matt Walsh
Are you sure about that? I believe provided go on the compile classpath as well. To quote the maven docs: Provided This is much like compile, but indicates you expect the JDK or a container to provide the dependency at runtime. For example, when building a web application for the Java

RE: alternate path settings-security.xml

2012-01-19 Thread Matt Walsh
http://maven.apache.org/guides/mini/guide-encryption.html#How_to_keep_the_master_password_on_removable_drive -Original Message- From: Sebastien Gueissaz [mailto:xsi...@gmail.com] Sent: Thursday, January 19, 2012 9:31 AM To: users@maven.apache.org Subject: alternate path

RE: Howto access project version programmatically within application

2012-01-11 Thread Matt Walsh
This is referenced from the maven-buildnumber-plugin documentation. http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versi oning_-_Best_Practices#Build_Versioning Where they do the following (assuming, of course, you've placed the info in your manifest file): String

RE: Howto access project version programmatically within application

2012-01-11 Thread Matt Walsh
success even though I've verified that the file exists in the jar, How does one read the manifest from an executable jar? On 01/11/2012 11:35 AM, Matt Walsh wrote: This is referenced from the maven-buildnumber-plugin documentation. http://apollo.ucalgary.ca/tlcprojectswiki/index.php

RE: Trying to get multiple profiles to execute

2012-01-09 Thread Matt Walsh
/plugin /plugins /build /profile /profiles /project On Thu, Jan 5, 2012 at 2:57 PM, Matt Walsh mwa...@chartwelltechnology.comwrote: You might be getting conflicts in your configuration. Try moving your configurations inside the execution

RE: Trying to get multiple profiles to execute

2012-01-09 Thread Matt Walsh
You may want to read this article: http://maven.apache.org/guides/mini/guide-default-execution-ids.html -Original Message- From: Matt Walsh [mailto:mwa...@chartwelltechnology.com] Sent: Monday, January 09, 2012 10:58 AM To: Maven Users List Subject: RE: Trying to get multiple

RE: Trying to get multiple profiles to execute

2012-01-05 Thread Matt Walsh
You might be getting conflicts in your configuration. Try moving your configurations inside the execution/ blocks. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Thursday, January 05, 2012 11:25 AM To: users@maven.apache.org Subject: Trying to get multiple

RE: Unable to use maven-ant-tasks

2012-01-03 Thread Matt Walsh
I'm using maven-ant-tasks 2.1.3 with just the xmlns specification with no problems. I have it installed in ANT_HOME/lib, but initially used it from HOME/.ant/lib with no problems. Haven't tried it with the -lib parameter, but no reason to believe it wouldn't work that way as well. Maybe try

maven-ant-tasks-2.1.3 not using authentication info from settings.xml

2011-10-13 Thread Matt Walsh
Hi. I've been using maven-ant-tasks to deploy an ant built library to a local Nexus repository. The problem I have is that even though the ant task is reading the settings .xml files, it doesn't appear to be using the authentication info found there. I keep getting an authorization failed

Merging applicationContexts

2008-07-25 Thread Matt Walsh
I'm a little new to Maven (about 3 weeks), so I apologize if this is a n00b question. I have a question about how to better structure my current application. Currently, the parent project has three modules: client, server, and common. Common depends on nothing. It simply hold beans and service

Re: Merging applicationContexts

2008-07-25 Thread Matt Walsh
module Manuel On Fri, Jul 25, 2008 at 5:02 PM, Matt Walsh [EMAIL PROTECTED] wrote: I'm a little new to Maven (about 3 weeks), so I apologize if this is a n00b question. I have a question about how to better structure my current application. Currently, the parent project has three modules