Re: Seeking Maven Way advice: repos in project profile?

2012-10-22 Thread Brian Topping
Laird, any environment with multiple developers and multiple repositories is Exhibit 1 for using a repository manager like Nexus. Once you have that running, one proxies remote repositories from central administration, not rely on users having the latest information or some combination of the

Re: Problem with release:perform step: target/check/pom.xml not found?

2012-10-21 Thread Brian Topping
Oh, and to be sure, once you edit those entries, you either need to also edit them in the pom.xml of the tag and run perform *or* delete the tag and and re-run both prepare and preform. On Oct 21, 2012, at 9:49 PM, Brian Topping wrote: > Try adding "/trunk" after the

Re: Problem with release:perform step: target/check/pom.xml not found?

2012-10-21 Thread Brian Topping
Try adding "/trunk" after the and entries. On Oct 21, 2012, at 9:36 PM, Russell Gold wrote: > This is my first time releasing this project via maven, and I am presumably > doing something wrong. > > The release:prepare step seems to work just fine, ending with: > > [INFO] Building jar

Re: xdoclet plugin for maven - custom tag handlers

2012-10-11 Thread Brian Topping
If you aren't getting a stack trace with the error, run 'mvn -X install' to get one. There will be a lot more information to wade through, but it will be in there. Once you find it, download the sources for the version of XDoclet you are using and take a look at where it's getting caught up.

Re: Maven release plugin failure

2012-09-22 Thread Brian Topping
to connect to this same SVN all day long...why can't maven? > > -Dave > > > > > > On Sat, Sep 22, 2012 at 6:50 PM, Brian Topping wrote: > >> Ah. The -keystore parameter should point to your cacerts file that is >> buried somewhere in C:\Program Fi

Re: Maven release plugin failure

2012-09-22 Thread Brian Topping
r1cert -file c:/server1cert.cer > > What I'm I missing here? > > -Dave > > > On Sat, Sep 22, 2012 at 6:15 PM, Brian Topping wrote: > >> Dave, I think I'd attack the latter issue first. You have to know which >> cacerts file is getting hit, other

Re: Maven release plugin failure

2012-09-22 Thread Brian Topping
he server name instead of the IP in the connection URL. > > Also I do have lots of Java versions (jre & jdk) and wasn't positive which > was used by maven so I added it to several...didn't help. > > What am I missing? > > -Dave > > On Sat, Sep 22, 2012 at 3

Re: Maven release plugin failure

2012-09-22 Thread Brian Topping
Hi David, It looks like you have an unsigned SSL certificate on your SVN server. So you need to install the certificate in the Java keystore of hosts that need to run the release plugin. There are a lot of examples of this on the net already, just google for "install unsigned cert java" or w

Re: Arguments for Maven vs. Gradle

2012-09-11 Thread Brian Topping
On Sep 11, 2012, at 8:22 PM, Curtis Rueden wrote: > I'm not advocating that junior developers not be allowed to touch the > build—otherwise how will they learn?—but I strongly recommend code review > of any changes a junior developer makes to a build system. Kind of roaming away from Maven v. G

Re: Is the release plugin intended to be run manually?

2012-09-11 Thread Brian Topping
On Sep 11, 2012, at 7:02 PM, "KARR, DAVID" wrote: > I noticed a comment in > http://www.dzone.com/links/r/continuous_delivery_using_maven_3.html about not > using the release plugin because it checks in POMs after updating versions, > which isn't suited to a continuous delivery pipeline. Is

Re: configuring jars dependencies in pom

2012-09-11 Thread Brian Topping
On Sep 11, 2012, at 2:54 PM, Ron Wheeler wrote: > Using Maven without your own Repo is a horrible waste of time. > Get one of the repos (We use Nexus) installed and configured and you life > will get a lot simpler. Really? It's that bad? Why doesn't it say this in the Maven documentation th

Re: Arguments for Maven vs. Gradle

2012-09-09 Thread Brian Topping
On Sep 10, 2012, at 4:15 AM, Graham Leggett wrote: > On 9 Sep 2012, at 22:20, "KARR, DAVID" wrote: > >> One of the disadvantages of Gradle is the same as Ant, which is that it's >> very easy to have two people do similar things in a completely different way. > > This to me is the fatal flaw

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
These things don't happen at the same time. Have you looked at http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html yet? Plugins are attached to the lifecycle, plugins are the only thing that can do work in a maven build. The jar plugin expects that the folder st

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
What specific problems did you have? This is not a tech support line. If you need paid support, you might want to contact Sonatype. On Aug 29, 2012, at 11:29 AM, TarunKhandelwal wrote: > Hello Brian, > > Yes I have tried all of that. > > Here is the sample pom. > > http://maven.apache.org

Re: How to Sign a .par file through Maven

2012-08-29 Thread Brian Topping
Have you tried following the directions for signing a jar? What problems are occurring? If you want to add XML files, add them to the resources folder or add additional resources folders where the XML files are located. On Aug 29, 2012, at 11:06 AM, TarunKhandelwal wrote: > Hello Everyone,

Re: classes developed in a sub-modules does not see packages defined in other ones

2012-08-20 Thread Brian Topping
Hi Mauro, You are very close, just need one dependency defined in the POM for module_2 to module_1. So assuming you created everything with the Maven project archetypes, you'll have some examples of dependencies in your POMs for jUnit, just duplicate one of those in module_2 and change the GAV

Re: Executing a goal *after* install

2012-07-24 Thread Brian Topping
Mirko, The best way to accomplish this in a plugin you control the source for is to create a custom lifecycle. See http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-plugins-lifecycle.html. Brian On Jul 25, 2012, at 12:08 AM, Mirko Friedenhagen wrote: > Hello, > > in a

OT: Re: Issue-wise Crowdfunding platform for Maven

2012-07-13 Thread Brian Topping
Tony, I hate to rain on your parade because it's a very good idea, but isn't this something that the Apache Foundation should also be collecting at least as much as you are collecting (3%) for the service? To keep things honest and since 3% is barely more than Paypal charges to intermediate

Re: any public nexus repo manager I can use for my project

2012-06-20 Thread Brian Topping
On Jun 20, 2012, at 4:30 PM, Laird Nelson wrote: > No. This is an undeveloped market with a clear need that has not yet been > met. The first company to come out with cheap, hosted Nexus support is > going to make a fair amount of money. Therein lies many rubs: 1) Most companies do not want t

Re: Can't figure out how to filter resources

2012-06-10 Thread Brian Topping
On Jun 10, 2012, at 11:57 AM, Patrick wrote: > Now, how would I go about trying to improve the documentation? I thought > that it should either have a note explicitly mentioning that the resources > section does not go in a plugin block, or the first pom.xml should have the > ellipses removes

Re: Can't figure out how to filter resources

2012-06-09 Thread Brian Topping
On Jun 9, 2012, at 9:53 PM, Jason van Zyl wrote: > Note that filtering resources is one of the special plugins that is > configured in the POM itself. As an academic question, what is the reason for the "special plugins" like this? I was teaching a 3-day Maven class a few weeks ago and I cou

Re: command to build the project using maven 1.1

2012-05-24 Thread Brian Topping
On May 25, 2012, at 12:58 AM, Barrie Treloar wrote: > On Fri, May 25, 2012 at 2:23 PM, Gunachandra wrote: >> Thanks Ron Wheeler for replying. I am new to maven, they developed this >> project around 10 years back. Now the requirement comes for this project. >> can you please tell me how to upgra

Re: [maven] Re: Mirroring repo1.maven.apache.org

2012-04-23 Thread Brian Topping
On Apr 23, 2012, at 9:23 PM, Andrew Hughes wrote: > 2. Nexus will allow you to proxy/mirror a lot more than one repository, > it will also allow you to place rules on repositories and additional > configuration. This is worth noting in a large / paranoid corporate environment from a couple

Re: [maven] Re: Mirroring repo1.maven.apache.org

2012-04-22 Thread Brian Topping
s okay for rsyncing ibiblio, and that's probably why it's still there. Cheers, Brian On Apr 22, 2012, at 11:56 AM, Jason Pyeron wrote: >> -Original Message- >> From: Brian Topping >> Sent: Sunday, April 22, 2012 11:32 >> >> On Apr 22, 2012, at 1

Re: Mirroring repo1.maven.apache.org

2012-04-22 Thread Brian Topping
On Apr 22, 2012, at 10:26 AM, Jason Pyeron wrote: > 1. Is mirrors.ibiblio.org a good source for mirroring repo1.maven.apache.org? > 2. is there a strong reason not use rsync? Mirroring a repository like that is considered very bad form and will probably get your servers blacklisted. I don't hav

Re: Is Maven the answer?

2012-02-29 Thread Brian Topping
Adding to the valid observations of others, I'd first consider the size of the project, number of people that are going to be using it and their experience with Maven. If you want do to such a build cleanly with Maven, the best way to do it is by creating or obtaining plugins for the various

Re: customizing the snapshot version build number

2012-02-22 Thread Brian Topping
On Feb 22, 2012, at 10:16 AM, wrote: > >> P.S. I think screwing around with the Maven snapshot naming scheme is >> asking for trouble. Putting it in the manifest seems safer to me. >> Unfortunately, you didn't elaborate on *why* you want to do this, so we >> can't really comment on any alternat

Re: Converting ant build project to Maven based project

2012-02-14 Thread Brian Topping
On Feb 14, 2012, at 2:22 PM, Bobbepalli, Purnachandrarao wrote: > Hi Good Afternoon to everybody > > This is PurnachandraRao, my first day in this maven users list. > > I want to how to convert Ant Build based project to Maven based project. Some resources for you to review first: 0. http://ww

Re: the simplest Maven Project that can possibly work in Intellij?

2012-02-14 Thread Brian Topping
You're on the right track with this, but keep in mind that IDEA's integration is import-only. What this means is when you make changes to your IDEA project, it won't (at least with any feature I am familiar with) rewrite your POM for you. You must hand-code the POM, then IDEA will notice that

Re: Mvn commands are stalling

2012-01-09 Thread Brian Topping
On Jan 9, 2012, at 12:01 PM, Robert Scholte wrote: > Even though I'm not a newbie, I can see 2 potential problems with this > sentence: > 1. line 84, column 15 of what? It doesn't mention the file. Sure, it always > about the poms, but we're talking about unexperienced users here. > 2. build.plu

Re: EAR as WAR dependency?

2011-10-18 Thread Brian Topping
How would you solve this problem without Maven? What kind of EAR could load a WAR it doesn't know about? I don't doubt that this is possible with some magic, but that magic is separate from Maven. Once you have the magic well-defined, Maven can help you build it and package it. Brian O

Re: Programmatically get maven properties

2011-10-17 Thread Brian Topping
The code you put in your original email didn't make it to the list, maybe it was formatted somehow. What I think you are looking for is: > /** @parameter default-value="${project}" */ > private org.apache.maven.project.MavenProject mavenProject; This will give you the MavenProject object, whi

Re: default auth for settings.xml

2011-10-13 Thread Brian Topping
You can use the ID from one of them in both places. That's what I do. On Oct 13, 2011, at 7:16 PM, Tommy Chheng wrote: > B is the most similar workflow. > > So i have a few remote maven repos i want to use: > i.e. scala-tools.org and sweble, etc. > > I added both of these to my Nexus server

Re: New to Maven

2011-10-10 Thread Brian Topping
Niyas, There's really no effective way to use email for a precise solution to your problem. The only way to solve a problem is to know what the problem is in the first place, and if it had already been solved, you could just copy it. But the fact is, the problems are never the same (so there

Re: Possible to disable maven central ( repo1 ) ?

2011-09-26 Thread Brian Topping
nt to block it on the firewall level (including mirrors) > > On 11-09-26 04:51 PM, Brian Topping wrote: >> http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html >> discusses how to do that. >> >> On Sep 26, 2011, at 7:47 PM, Sony Anto

Re: Possible to disable maven central ( repo1 ) ?

2011-09-26 Thread Brian Topping
http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html discusses how to do that. On Sep 26, 2011, at 7:47 PM, Sony Antony wrote: > Hi : > We have an http internal repository to which, I would like all developers to > point for their local builds. > But I dont want them t

Re: Should a plugin appear in pluginManagement if it already appears in build/plugins?

2011-09-10 Thread Brian Topping
If I may compliment what Anders has said already... One of the distinctions I make between putting a plugin declaration in a parent POM versus a pluginMgmt is whether I want a plugin to be defined as a template for a given group of inherited projects or invoked for every child of that same grou

Re: How to add a folder to the classpath used during maven build

2011-08-31 Thread Brian Topping
x27;m sorry but i don't want to modify my pom > I just want to change the maven parameters, or a env variable > > Is there a way you know to achieve this ?? > > 2011/8/31 Brian Topping : >> http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html >>

Re: How to add a folder to the classpath used during maven build

2011-08-31 Thread Brian Topping
http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html added to the verify phase might be what you are looking for? If not, there are a lot of other goals in that plugin that have similar functionality, maybe one of them is better suited. On Aug 31, 2011, at 10:34 AM, Benjamin

Re: Scripting

2011-08-26 Thread Brian Topping
> > > > > run > > > > > > > [...] > > | > > > > On 2011-08-26 9:27 AM, Brian Topping wrote: >> On Aug 26, 2011, at 12:13 PM, Hilco Wijbenga wrote: >> >>> On 26 August 2011 07:02, Brian

Re: Scripting

2011-08-26 Thread Brian Topping
On Aug 26, 2011, at 12:13 PM, Hilco Wijbenga wrote: > On 26 August 2011 07:02, Brian Topping wrote: >> A lot of people use antrun, see >> http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I >> personally do that as a last resort. > > What does

Re: Scripting

2011-08-26 Thread Brian Topping
A lot of people use antrun, see http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I personally do that as a last resort. I personally don't have a problem writing a plugin and adding it to my build. Reactor figures out the build order properly and does the right thing. Usi

Re: Breaking a circular dependency on test utilities

2011-08-26 Thread Brian Topping
> > /Anders > > On Fri, Aug 26, 2011 at 04:26, Brian Topping wrote: >> Hi all, >> >> I have typical module with tests, but the tests inherit from a base class. >> This base class (and a few related classes/resources) need to be generated >> as a separ

Breaking a circular dependency on test utilities

2011-08-25 Thread Brian Topping
Hi all, I have typical module with tests, but the tests inherit from a base class. This base class (and a few related classes/resources) need to be generated as a separate jar so they can be used as a test scope dependency. It initially seems like it would be an easy enough task for jar:test

Re: Kudos

2011-08-17 Thread Brian Topping
Yah, I'd have to agree with this sentiment. Maven isn't the easiest thing to learn, but documentation has improved remarkably over the years and the "network effect" of having more people familiar with Maven means that there's Maven experts that are closer to more people in real life. More th

Re: Archiva vs. Nexus

2011-07-25 Thread Brian Topping
tp://localhost:8081 I get > > HTTP ERROR: 404 > > Problem accessing /. Reason: > > NOT_FOUND > > Powered by Jetty:// > > I do have an open mind to issues, which is why I reported it on JIRA - I'm > just saying first impressions are very important. > &

Re: Archiva vs. Nexus

2011-07-25 Thread Brian Topping
I'd run it from a directory that does not contain spaces or other non alphanumeric characters. Yours has two spaces, one of each different parenthesis, and a ">" in it. Nexus is a very robust and easy to use installation that gets a lot of attention. You are not "supposed to waste time on ins

Re: Pimp My Mojo

2011-07-25 Thread Brian Topping
On Jul 25, 2011, at 7:57 AM, Aldrin Leal wrote: > -- > -- Aldrin Leal, / http://www.leal.eng.br/mnemetica/ > > > On Mon, Jul 25, 2011 at 8:15 AM, Brian Topping wrote: > >> A few minor observations (since you are soliciting them). I haven't run >> the plugi

Re: Pimp My Mojo

2011-07-25 Thread Brian Topping
A few minor observations (since you are soliciting them). I haven't run the plugins or have any experience of not in the plugin domain, so I can't comment on the goals or workflow. 1. I'm not sure of the benefit of putting the source on Bitbucket, versus under Codehaus' Mojo project, the latte

Re: Beginner needs help: Maven won't run my tests...

2011-07-19 Thread Brian Topping
Julien, Sorry I didn't notice you had responded. Like most mailing lists, one thing to keep in mind is we're all doing this for free and at one time or another someone helped us out. So we're just returning the favor. Anyway, your logs show the line: > [DEBUG] (f) testSourceDirectory = >

Re: Beginner needs help: Maven won't run my tests...

2011-07-16 Thread Brian Topping
You forgot to mention where your test is located. I don't see a package on your test snippet, but it should be in ${projectRoot)/src/test/java//CreateJobPostingTest.java. Nothing else looked particularly problematic. If that doesn't solve the problems, you should be able to find more clues wi

Re: Enabling functionality for all profiles BUT one?

2011-07-13 Thread Brian Topping
I'd create a plugin that wraps your troublesome plugin with Tim Moore's awesome mojo-executor library at https://github.com/TimMoore/mojo-executor. I just got done using it for a Real Big Client and it works great. Just have your plugin gracefully return with a warning when the environment is

Re: Problems using Maven to build servicemix.

2011-07-13 Thread Brian Topping
1. Use Maven 2.2.1 or 3.0.3. I haven't tracked SM or whether it's m3 based. 2. Make sure you are running Maven in a directory that has a proper POM. It appears yours is not valid. On Jul 9, 2011, at 11:58 PM, Sanjana Kadaba Viswanath wrote: > Hi, > I am really new to servicemix. I want to buil

Re: Multimodule distribution

2011-07-11 Thread Brian Topping
This isn't a Maven thing, but we usually name all our component configuration files the same name in the respective jars. Spring has a means to find all the files of the same name in the different jars (you can go check it out there, they use the "classpath*:" nomenclature for it). That way, o

Re: Using Maven for large-scale deployment

2011-06-25 Thread Brian Topping
> - Stephen > > --- > Sent from my Android phone, so random spelling mistakes, random nonsense > words and other nonsense are a direct result of using swype to type on the > screen > On 25 Jun 2011 07:57, "Brian Topping" wrote: >> Hi all, >> >> I&#

Using Maven for large-scale deployment

2011-06-24 Thread Brian Topping
Hi all, I'm picking up a project that requires a configurable large scale deployment, something on the order of five concurrent development branches of HEAD, each with about five servers that the various projects in a branch will need to deploy to. Ideally, everything will be contained in the

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

2011-05-21 Thread Brian Topping
On May 21, 2011, at 10:41 PM, Ron Wheeler wrote: > On 20/05/2011 9:06 PM, Petr V. wrote: >> Thanks Brian for your reply. >> >> Our developers work on several projects at same time using same machine. >> What we want is that when they build the particular project then every thing >> related to p

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

2011-05-20 Thread Brian Topping
Can you describe more about what you are specifically trying to accomplish? Maybe the list can help better that way. In general, the location of the repository should not matter. One of the beautiful things about Maven is it manages the location per machine automatically. There's no need to

Re: Why does dependency:tree not show what's inside wars?

2011-05-17 Thread Brian Topping
Are you running dependency:tree from a top-level build that includes both other builds via a parent POM? That's what I do, reactor does the right thing and dumps all the builds it finds. Personally, I believe this is the correct behavior, I wouldn't want a reactor dump of such a build to analy

Re: Generating Config Files for multi-module project

2011-03-26 Thread Brian Topping
It sounds like you are mostly stuck on the config files issue so I'll focus on that. Ron already answered this, but I had this typed and didn't send it for some reason. I'm basically repeating what he's already said. I would organize the config files into a separate top-level project, then hav

Re: Using profiles to control execution of a maven build (conditional execution)

2011-01-13 Thread Brian Topping
You might want to look in the list archives, there was a discussion in which I learned a lot from others on the list about the pros and cons of using profiles versus using separate (nearly identical) POMs. My takeaway was that if one just jumps on profiles as the solution to every conditional s

Re: Reasonable use of profiles?

2010-12-14 Thread Brian Topping
These replies have been incredibly helpful, thanks especially to Ron and Stephen for your investment in them! Very accidentally, I have fallen into the "MV-SOA" pattern. I am using Mule for the services container with the VM connector for speed and ease of iterative development, knowing that I

Re: Reasonable use of profiles?

2010-12-11 Thread Brian Topping
On Dec 11, 2010, at 3:59 AM, Stephen Connolly wrote: > My issue with using orofiles for adding modules is that you can end up with > version numbers out of sync of course that's why I created > versions-maven-plugin, but that is just a band-aid. Is this because the release plugin doesn't see

Re: Reasonable use of profiles?

2010-12-10 Thread Brian Topping
On Dec 10, 2010, at 10:03 PM, Ron Wheeler wrote: > On 10/12/2010 9:19 PM, Bryan Loofbourrow wrote: What is the semantic difference between multiple POMs and a single POM containing the different module lists in profiles? It seems like the former is harder to support because a ch

Re: Reasonable use of profiles?

2010-12-10 Thread Brian Topping
On Dec 10, 2010, at 8:08 PM, Bryan Loofbourrow wrote: > You don't need separate projects for this. You just need a bunch of > developer-facing pom files with different lists. They can certainly > live in the same directory. This is something we definitely take advantage > of, for producing in

Re: Reasonable use of profiles?

2010-12-10 Thread Brian Topping
On Dec 10, 2010, at 1:30 PM, KARR, DAVID (ATTSI) wrote: > Interesting. This could go into the "build" project POM, but if a > developer needed a custom list of modules, they could define that in > their settings.xml. I guess that could work for what I'm looking for. It's not possible to put t

Re: Reasonable use of profiles?

2010-12-10 Thread Brian Topping
I'd second the very good points that Kalle made. To add some practical experience from this end, I just last night learned the power of using the element within a element... > > > all > > web > core > messa

Re: maven-eclipse-plugin

2010-12-05 Thread Brian Topping
On a related note, can anyone summarize what the best way of maintaining eclipse projects from Maven is? I use IDEA, and the best way from there is IDEA itself, not with the IDEA plugin for Maven. Is the same true for Eclipse that the IDE plugin for Maven is better than the Maven plugin for

Re: Catch 22 with clean phase

2010-12-02 Thread Brian Topping
On Dec 2, 2010, at 7:05 PM, Wayne Fay wrote: >> Ok, so this is working great now, except for one problem. It runs >> great the first time, but if I run "mvn clean" a second time, the >> batch file is not there so it can't call it and it returns with an >> error. > > Turn your batch file into a

Re: Catch 22 with clean phase

2010-12-02 Thread Brian Topping
There is a pre-clean, see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference On Dec 2, 2010, at 3:08 PM, Phillip Hellewell wrote: > There's a batch file I want to run during the clean phase. Problem > is, the batch file lives below target/dependen

Re: Issue if colon in project path

2010-11-26 Thread Brian Topping
For one thing, using a colon in a filename on OSX is bound to lead to problems in a lot of different applications. That is the directory separator for MFS and HFS volumes, and while HFS+ and has deprecated use of colon, I believe it is still supported in strange ways. On Nov 26, 2010, at 3:49

Re: Whatever happened to j2ee-1.4.jar ?

2010-11-10 Thread Brian Topping
On Nov 10, 2010, at 9:58 PM, Simon Lewis wrote: > What's up with http://repo2.maven.org/maven2/javax/j2ee/j2ee/1.4/ You need to download it directly from the JavaEE site and install it with the instructions that you find in the build log. License issues, it can't be distributed through the ce

Re: Figuring out the proper Maven dependency setting

2010-11-10 Thread Brian Topping
On Nov 10, 2010, at 4:20 PM, Ron Wheeler wrote: > It is mostly exclusions to stop old versions of libraries from being dragged > in by mistake. > It took a bit of doing to get these the first time but it is nice now that we > do not have a screen full of conflicting version notes. So I guess y

Re: Figuring out the proper Maven dependency setting

2010-11-10 Thread Brian Topping
On Nov 10, 2010, at 4:06 PM, Yanko, Curtis wrote: > I have used the technique described here but I have also had too to > forensic type package level comparisons to try an find matches. > Eventually slugging our way through namespace collisions and knocking > down issues one Classpath Not Found a

Re: Figuring out the proper Maven dependency setting

2010-11-10 Thread Brian Topping
On Nov 10, 2010, at 3:40 PM, marshall wrote: > Hi; > This is probably a beginner question, but I thought it was worth posing > because it is frequently very frustrating when working with Maven. > Is there a clear way to know which particular dependencies Maven requires, > when working with a

Re: Continuous Delivery and Maven

2010-11-08 Thread Brian Topping
On Nov 8, 2010, at 2:27 PM, Yanko, Curtis wrote: > > To be clear, I'm not advocating time stamped artifacts simply indulging > them for now to try and solve a problem that imo doesn't exist except as > a thought experiment. Yup, feel the same way. > I agree with your assessment of a Maven Repo

Re: Continuous Delivery and Maven

2010-11-08 Thread Brian Topping
On Nov 8, 2010, at 12:33 PM, Yanko, Curtis wrote: > Why is that not guaranteed to exist or be reliable? A Maven repository is a cache, not a reliable persistent store. *Yours* may be reliable, but the artifacts that are built to it should not contain metadata that, if lost, would make rebuild

Re: Continuous Delivery and Maven

2010-11-07 Thread Brian Topping
On Nov 7, 2010, at 1:29 PM, jhumble wrote: > One possibility to get repeatable builds without filling up an artifacts > repository too fast could be to make Maven store the fully qualified pom > files in the artifacts repo and an md5 of the binary but not necessarily the > actual binary. I know a

Re: Continuous Delivery and Maven

2010-11-07 Thread Brian Topping
On Nov 7, 2010, at 11:14 AM, jhumble wrote: > Ideally what I'd like is for Maven to explicitly support the continuous > delivery model and provide snapshots that are reproducible. Snapshots can be reproducible if developers set dependencies on the timestamped name of the deployed version. I re

Re: The joys of dependencies

2010-11-05 Thread Brian Topping
On Nov 5, 2010, at 4:56 PM, Phillip Hellewell wrote: > I'm guessing you also update the parent pom's version each time the > dependency management section changes, yes? Are you keeping in mind the impact that SNAPSHOT versions have on your build? A released version is like a point on a line or

Re: how to start

2010-11-05 Thread Brian Topping
On Nov 5, 2010, at 12:41 PM, Ron Wheeler wrote: > JSF 2 over Struts Wicket over JSF. $0.02... - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Problem while deploying snapshot to repository

2010-11-04 Thread Brian Topping
On Nov 4, 2010, at 5:08 PM, Ron Wheeler wrote: > On 04/11/2010 2:36 PM, Brian Topping wrote: >> On Nov 4, 2010, at 1:59 PM, Ron Wheeler wrote: >> >>> Putting repository information in a Parent POM keeps your project POMs >>> small and uncluttered. >> I of

Re: Problem while deploying snapshot to repository

2010-11-04 Thread Brian Topping
On Nov 4, 2010, at 1:59 PM, Ron Wheeler wrote: > Putting repository information in a Parent POM keeps your project POMs small > and uncluttered. I often make an exception to this very good advice: If I am working with snapshot versions from a remote repository, I'll temporarily put that repo

Re: [Repetitive]: Maven does not live up to its promises

2010-10-23 Thread Brian Topping
On Oct 23, 2010, at 5:15 PM, Kenneth McDonald wrote: > First, note that I did tag this as repetitive: You don't need to be reading > it if you don't want to be rehashing recent issues. You might feel better now, but emailing future such works to file:/dev/null or articulating it to your dog mi

Re: Questions on SNAPSHOTs

2010-10-16 Thread Brian Topping
On Oct 16, 2010, at 4:42 PM, wrote: > That's what I get for trying to save a step by replying to someone else's > post, but forgetting to change the subject :-[ That's called "thread hijacking", and the problem with it is that the mail you create will show up in everyone's inbox and every lis

Re: maven is a swamp

2010-10-15 Thread Brian Topping
On Oct 15, 2010, at 4:50 PM, Kenneth McDonald wrote: > I still don't get the complacency at the XML swamp. If I have to speak Italian to get the best cup of coffee in Little Italy, so what if it's a chore? A focus on language instead of semantics leaves one lost to the opportunity at hand. B

Re: Maven SQL plugin

2010-10-14 Thread Brian Topping
Hi gang, I can help with the plugin. There have been a few authors on it over the years, and there may be some gaps in coverage. Apologies for that. Would it be too difficult to get a small project in HSQL that demonstrates the issue? I don't use the plugin any more, but am happy to help ou

Re: maven is a swamp

2010-10-12 Thread Brian Topping
On Oct 12, 2010, at 10:01 PM, Martin Gainty wrote: > Suprisingly maven is not the first programming language to use XML This is worth clarifying. What makes Maven unique, and I believe groundbreaking, is that the POM is declarative, not procedural. It is not a programming language in the tra

Re: Phase between install and deploy?

2010-10-07 Thread Brian Topping
On Oct 7, 2010, at 3:57 PM, Phillip Hellewell wrote: > What is the general approach to solving this conundrum? If there were > a "post-install" or a "pre-deploy" phase, that would solve it, but > those don't exist afaik :( You can create a custom lifecycle for that build, then bind where you wa

Re: Strategies for converting from Ant

2010-09-23 Thread Brian Topping
The largest build I converted to Maven was about five years ago, and it had roughly 100 projects in Ant. Intriguingly, they had written an Ant plugin to process Eclipse project metadata. It strikes me you might be able to take the same shortcut with your project if your build is somehow able t

Re: AW: Building ODE with Maven

2010-09-16 Thread Brian Topping
Wow, Ode builds with Maven now?!? Awesome!! On Sep 16, 2010, at 5:31 AM, Stephen Connolly wrote: > There may be test-jar dependencies > > I would recommend using > > mvn clean install -DskipTests > > if that does not work you should contact the Apache ODE mailing list > > -Stephen > > On 16

Re: Integrate Spring bean with Maven plugin ?

2010-06-24 Thread Brian Topping
If you start the Spring container manually, it will return a context that you can query for beans. Within that started context, the beans will have obviously been wired according to your configuration. There's no limitation on where you create the context, but to get beans from the context,

Re: Mavenizing a project

2010-05-28 Thread Brian Topping
Put your tests in src/test/java as normal. If your helper classes are to be used by multiple projects, create a new project just for the helper classes, call it foo-test or something. Put the helper classes in src/main/java in the foo-test project, not src/test/main. Then you can create a d

Re: No such archiver: 'swf'.

2010-05-14 Thread Brian Topping
a look at the patch for this issue: > http://jira.codehaus.org/browse/MDEP-183 > > You would need to do something along the same lines, possibly > introducing your own archiver impl, but this shows how you map the > extension to the impl. > > On Tue, May 11, 2010 at 2:52 PM, Brian Topp

No such archiver: 'swf'.

2010-05-11 Thread Brian Topping
We've been successfully using Flex-mojos with our projects under Maven. It's been working well, but we need to include the .swf artifacts that are generated in an assembly. That seems to be failing, and I get the following error: Caused by: org.codehaus.plexus.archiver.manager.NoSuchArchiverEx

Re: Need advice on version numbering convention

2006-04-05 Thread Brian Topping
I would echo Eric's sentiments, with a caveat. A lot of smaller (in house, no exposed APIs) projects can be helped by starting with build numbers taken directly from the subversion revision ID. This is a monotonically increasing integer, and by using that for your release ID, there's littl

Plugin Classpath Problem

2006-02-19 Thread Brian Topping
Howdy, I'm putting together some changes for the WAR plugin for resource filtering, and I'm having some problems with classpaths. I've attached a stacktrace. The class that is being searched is in plexus- utils-1.2-SNAPSHOT on ibiblio, and it appears from the output snippet below that th

RE: Mutliple source directories in project.xml

2004-01-11 Thread Brian Topping
> -Original Message- > From: John Casey [mailto:[EMAIL PROTECTED] > Subject: RE: Mutliple source directories in project.xml > > It seems to me that the POM is the wrong place to put anything related > to artifacts created during maven execution. I tend to agree with this, but in my case

RE: Stupid Q's #2: What is an Action Definition?

2004-01-10 Thread Brian Topping
> -Original Message- > From: Jason van Zyl [mailto:[EMAIL PROTECTED] > Subject: Re: Stupid Q's #2: What is an Action Definition? > > > > > BUILD FAILED > > ... > > Goal [test:test] has no action definition. > > Some times the cache gets whacked if you interrupt a build and the > pointers

Stupid Q's #2: What is an Action Definition?

2004-01-10 Thread Brian Topping
Hi all, Just wondering if anyone can explain what an "action definition" is? I've got a subproject that simply provides a jar for a source generation step. I would have rather had an exploded JAR sitting around and have the directory available to the generator, but I couldn't figure that out, so

  1   2   >