Re: Existing Network Location Access for JAR files

2011-07-23 Thread Benson Margulies
Then you can't make any reasonable use of Maven unless you want to build your own repository manager that maps that structure to what Maven is expecting. Which would be a Big Job. Better stick with whatever you are using. On Sat, Jul 23, 2011 at 7:34 PM, Daivish Shah wrote: > Hi Ron, > > I am loo

Re: Deploy large files

2011-07-22 Thread Benson Margulies
Hopefully site 3.0 will pull this together. On Fri, Jul 22, 2011 at 2:50 PM, Maven User wrote: > Sorry Benson - it's been pretty frustrating in general working with maven 3 > (I wasn't the adopter here, just the maintainer). > > Didn't mean to take it out on the list like that - my apologies. > >

Re: Deploy large files

2011-07-22 Thread Benson Margulies
As a heavy user of site, your view that maven '3' isn't real yet is entirely understandable. On Fri, Jul 22, 2011 at 11:43 AM, Maven User wrote: > Ok, maybe I'm misunderstanding - but initially, I thought the goal of maven3 > was that it should have been a direct replacement with backward > compa

Re: Deploy large files

2011-07-22 Thread Benson Margulies
I don't think that you're being quite fair here. When 3.0-beta-3 was released, the default assumption was that the next release would be beta-4. So any bugs fixed got marked 'fixed in beta 4'. Typically, a JIRA spends at least some weeks, if not months, marked 'fixed' in a release that isn't relea

Re: Deploy large files

2011-07-22 Thread Benson Margulies
There isn't one. In fact, the current plan is to make the next release be called '3.0' and release it quite soon. You could build and run a snapshot from source. On Fri, Jul 22, 2011 at 10:15 AM, Maven User wrote: > Where can I get 3.0-beta-4? > > Looks like you can't adjust the timeout using t

[ANN] Maven JXR Version 2.3 Released

2011-07-19 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven JXR, version 2.3 JXR is a tool for creating cross-references of Java source files. http://maven.apache.org/jxr and http://maven.apache.org/plugins/maven-jxr-plugin You should specify the version in your project's plugin configurat

Re: Using maven shade plugin on provided dependencies

2011-07-19 Thread Benson Margulies
This has come up before, I believe that there is a JIRA requesting it. It happens when someone has two environments: one in which something is provide, and one in which they want to shade it. It's not currently possible. On Tue, Jul 19, 2011 at 7:13 AM, Mark Derricutt wrote: > That sounds like st

Re: When to use

2011-07-18 Thread Benson Margulies
I don't have a reference handy, but I can explain it. I'll use xpath syntax to talk about where things are. If you put a into /project/build/plugins, then you are asking for an execution whenever you run maven. If you put it into /project/build/pluginManagement/plugins, then you are merely speci

Re: Starter- where do I house my Maven import packages (import javax.*;)

2011-07-17 Thread Benson Margulies
I'm afraid that I have no idea what you mean. Could you try to explain your problem in some more detail, or post an example? On Sun, Jul 17, 2011 at 4:32 PM, flanjl2 wrote: > Where do I house my maven import packages, so the compiler may find it? > > -- > View this message in context: > http://m

Re: How to load a class in a Mojo?

2011-07-17 Thread Benson Margulies
Could you post a (non)working example on github for others to debug at? On Sun, Jul 17, 2011 at 4:22 PM, Hilco Wijbenga wrote: > On 17 July 2011 11:48, Robert Scholte wrote: >> Don't you think it's a bit weird to run the maven-compiler-plugin:compile >> during the generate-sources phase? Try to

Release of Wagon project version 1.0

2011-07-10 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Wagon project, version 1.0 The wagon project provides the standard transports that connect Maven to repositories. http://maven.apache.org/wagon To take advantage of a new version of one of the wagons, you have to configure it as an e

Re: mvn install: Failure executing javac, but could not parse error

2011-07-09 Thread Benson Margulies
Well, first I'd recommend following the instructions and adding in the argument to see the backtrace. Then I'd hazard a guess that your current locale is Japanese, and so the Java compiler is spitting out Japanese messages, and the maven-compiler-plugin is having difficulties making heads or tails

Re: Profiles and deployment

2011-07-09 Thread Benson Margulies
It's somewhat difficult to follow what you've got set up here. You can set up several distinct executions of the maven-surefire-plugin with different include/exclude patterns for different tests, controlled by profiles, if you really need to. You can turn test execution on and off entirely with t

Re: Referencing modules in a sibling folder

2011-07-06 Thread Benson Margulies
You will generally find it helpful to grab a look at some significant open source project that addresses some of what you are looking to do. Have, for example, a look at cxf.apache.org. On Wed, Jul 6, 2011 at 6:37 PM, kanesee wrote: > I thought the section was just for artifacts that are located

Re: Referencing modules in a sibling folder

2011-07-06 Thread Benson Margulies
Dependencies are also used for interdependencies of your components. It's common to see my.group.id my.sibling ${project.version} modules are only used in a project of packaging 'pom' to tell Maven to include a collection of other projects

Re: Referencing modules in a sibling folder

2011-07-06 Thread Benson Margulies
Dependency does not imply folder structure. Just the opposite. If each of these projects builds a jar, each is has the default packaging (jar). You indicate dependency by adding a element to the pom. You probably want a pom in the myComponents dir that has pom and lists all the subdirs as modules

Re: Maven release plugin kind of messes up my Eclipse project

2011-06-30 Thread Benson Margulies
How are you connecting maven to eclipse? If you are using something like 'mvn eclipse:eclipse' your question belongs here. If you are using m2e, it belongs there. On Thu, Jun 30, 2011 at 8:24 AM, Celinio Fernandes wrote: > Hi, > I am using Maven 2.2.1, java 1.6.0.17 and Eclipse 3.5.2. > > I run t

Re: Maven 3.0.3 installation help

2011-06-28 Thread Benson Margulies
sh -v /wherever/bin/mvn and see what it's actually running? On Tue, Jun 28, 2011 at 12:21 PM, Patrick Lind wrote: > Hey guys, > > I'm pretty new to Maven and I am attempting to install it on our server > here.  Here is a quick overview of where I am at: > > *$ java -version* > java version "1.6.

Re: simple maven 2 report plugin example

2011-06-27 Thread Benson Margulies
Read the source of one. http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-changes-plugin On Mon, Jun 27, 2011 at 12:37 PM, Frers,Michael wrote: > Hi > > can anyone help me out and sent me a simple "Hello World" maven report plugin > example that works? > > I dont get a clue out of the d

Re: About eclipse 3.7 and m2eclipse

2011-06-23 Thread Benson Margulies
Yes, the people at: "Maven Integration for Eclipse users mailing list" , On Thu, Jun 23, 2011 at 8:35 PM, Gavin Hu wrote: > hi all: > >    I downloaded the lasted version of eclipse just now, I know  m2eclipse > project has completely moved to eclipse. >    I installed the m2eclipse core plug

[ANN] Maven Changes Plugin 2.6 released

2011-06-22 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Changes Report Plugin, version 2.6 Creates a release history for inclusion into the site and assists in generating an announcement mail. http://maven.apache.org/plugins/maven-changes-plugin You should specify the version in your proj

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Benson Margulies
nd managed by the >>>>> entire team (small part of the release startup) and unless something >>>>> catches >>>>> fire, we stick with our set throughout the life of our release. >>>> >>>> We have 100's of bundles and usu

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Benson Margulies
Yes this came to the list. *someone* is going to have to run yourkit or jprofiler on a real version of your problem. Of course, the person best positioned to do that would be, ahem, you. Unless you could give access to, well, me. It would be a giant public service for there to be a sufficiently

Maven core JIRA triage starting

2011-06-19 Thread Benson Margulies
Dear Maven Users, Over the years, the JIRA for core Maven (http://jira.codehaus.org/browse/MNG) has accumulated many unresolved issues. All this clutter makes it difficult to tell where the real problems are. Further, many of these issues do not contain self-contained test cases. Practically speak

Re: An example of a plugin that uses the as an actual live classpath ...

2011-06-17 Thread Benson Margulies
t; strub > > --- On Fri, 6/17/11, Jörg Schaible wrote: > >> From: Jörg Schaible >> Subject: Re: An example of a plugin that uses the as an >> actual live classpath ... >> To: users@maven.apache.org >> Date: Friday, June 17, 2011, 7:27 AM >> Benson Mar

Re: An example of a plugin that uses the as an actual live classpath ...

2011-06-15 Thread Benson Margulies
tputDirectory}s for each of the dependencies... > > The very best Maven Way plugins respect that difference enabling one > to run tests and build everything without having to go as far as > package in the lifecycle > > -Stephen > > On 15 June 2011 16:37, Benson Margulies wrot

Re: An example of a plugin that uses the as an actual live classpath ...

2011-06-15 Thread Benson Margulies
tly that. > > On Wed, Jun 15, 2011 at 5:09 PM, Benson Margulies > wrote: >> I find myself looking to create a plugin where, as part of execution, >> it wants to create a classpath composed of the declared dependencies.

An example of a plugin that uses the as an actual live classpath ...

2011-06-15 Thread Benson Margulies
I find myself looking to create a plugin where, as part of execution, it wants to create a classpath composed of the declared dependencies. Can anyone suggest a model? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org F

Re: Why isn't Maven using the (site) plugin version I told it?

2011-06-07 Thread Benson Margulies
hed to the site plugin itself. On Tue, Jun 7, 2011 at 6:45 PM, Daniel Serodio (lists) wrote: > That was it. Thanks a lot. > > Is there somewhere in the documentation I could've found this information? > > Benson Margulies wrote: >> >> The site plugin does not g

Re: Why isn't Maven using the (site) plugin version I told it?

2011-06-07 Thread Benson Margulies
The site plugin does not go into . Put that into On Tue, Jun 7, 2011 at 5:29 PM, Daniel Serodio (lists) wrote: > When I run "mvn site", I get a "AbstractMethodError [...] > SiteRendererSink.unknown" error. As reported in SUREFIRE-714, > maven-surefire-plugin 2.8 needs maven-site-plugin 2.1 or g

Re: m3: relativepath warning

2011-06-03 Thread Benson Margulies
Are we taking about the warning in the site plugin? Because the annoyance is that if your parent is intentionally not reached by relative path (because it is RELEASED), the site plugin insists on whining about the path. I think it should not. On Fri, Jun 3, 2011 at 4:39 PM, Anders Hammar wrote: >

enforcer and reporting

2011-06-01 Thread Benson Margulies
Has anyone ever considered a reporting plugin associated with the enforcer to report 'what did it look at and why was it ok?' - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...

Re: Different Dependency Versions in Different Dependencies

2011-05-31 Thread Benson Margulies
In the event of upward compatibility, you can set up dependencyManagement for the newest version, and Maven will use it all down the build. But if the versions are not compatible you've got a problem. On Tue, May 31, 2011 at 2:37 PM, SgtHartman wrote: > Benson, Thanks very much for your response.

Re: Different Dependency Versions in Different Dependencies

2011-05-31 Thread Benson Margulies
If they are all going end up in the classpath together, they all have to agree on a version. Maven doesn't change the runtime environment. If you use OSGi, or Guice, you can create a runtime environment including conflicting versions of jars -- and then you have a set of maven challenges in settin

parent scm

2011-05-31 Thread Benson Margulies
I have recently been trimming 'unnecessary' elements out of poms. That is, if the current project is just sitting under it's parent. I'm now wishing that one of the m-p-i-r reports would report the scm locations of the parents. In the case at hand, project 'a' has a parent 'b' that has no explici

Re: site-deploy suppresses actual build in my project

2011-05-27 Thread Benson Margulies
I found the culprit, but I don't understand it, and I don't know if it's a defect. The following reporting config for javadoc sets this problem into motion, apparently since maven-site-plugin 2.2, or perhaps an update to the javadoc plugin. org.apache.maven.plugins

Re: site-deploy suppresses actual build in my project

2011-05-27 Thread Benson Margulies
With maven3.0.3, I get: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project perceptron-training: failed to get Reports: Failed to execute goal on project average-perceptron-entities: Could not resolve dependencies for project com.basi

Re: site-deploy suppresses actual build in my project

2011-05-27 Thread Benson Margulies
I am staring at it now, and I don't. I see it running the enforcer plugin, and gets no errors, and then goes on to the next project. I'm going to see if 3.0.3 is different or more informative. On Thu, May 26, 2011 at 10:00 PM, Martin Gainty wrote: > > run > mvn -e -X deploy site-deploy > to see

site-deploy suppresses actual build in my project

2011-05-26 Thread Benson Margulies
After not releasing a particular project of mine for a moment, I found that release:perform failed today. After some sleuthing, I discover that the problem is that running mvn deploy site-deploy in this project results in stopping dead before even running compile. No failure, it just doesn't

site-deploy suppresses actual build in my project

2011-05-26 Thread Benson Margulies
2.2.1. After not releasing a particular project of mine for a while, I found that release:perform failed today. After some sleuthing, I discover that the problem is that running mvn deploy site-deploy in one module of this project results in stopping dead before even running compile. No fail

Re: Maven3: Best way to include dependencies not available from a maven repository (jython, jruby)

2011-05-26 Thread Benson Margulies
You asked for the 'best way'. The best way it to stand up a repository manager and deploy them there. The other best way is to help everyone else out by pushing them to central via ossrh. Their third-party policy allows anyone to push something like this if the original author isn't willing. The

Re: How to compile twice

2011-05-25 Thread Benson Margulies
Any time you all get tired of insulting each other's intelligence we can all try to find a solution. It's a simple fact, Maven was, indeed, designed to build Java. It was not designed to build C++ or any other native code language. The core model of what gets built is one output per module. Featu

Re: [INFO] Wagon protocol '' doesn't support directory copying

2011-05-25 Thread Benson Margulies
On 2011-05-24 21:17, Benson Margulies wrote: >> I just updated some poms to current site plugin (for maven 2.2.1) and >> the error in the subject line now occurs. >> >> The relevant pom fragment looks like: >> >> >>   >>         rse.website >>  

Re: Struggling with the changes plugin

2011-05-25 Thread Benson Margulies
I've sorted this. If Dennis likes my patches from last night, I'll add one more with some documentation to save other people from this experience. On Tue, May 24, 2011 at 6:06 PM, Benson Margulies wrote: > In my POM, I have (to begin with): > >   >        JIRA >        

Struggling with the changes plugin

2011-05-24 Thread Benson Margulies
In my POM, I have (to begin with): JIRA http://jira.basistech.net:8080/browse/MAVEN/component/10784 And then I have in pluginManagement: org.apache.maven.plugins maven-changes-plugin 2.5

[INFO] Wagon protocol '' doesn't support directory copying

2011-05-24 Thread Benson Margulies
I just updated some poms to current site plugin (for maven 2.2.1) and the error in the subject line now occurs. The relevant pom fragment looks like: rse.website scp://souvenir.basistech.net:/basis/trees/rse/docs/rse/1.8.100.2-SNAPSHOT -

[ANN] cobertura-maven-plugin 2.5.1 Release

2011-05-23 Thread Benson Margulies
l not be rendered on invocation of mvn clean install site for a multi module project. ** Improvement * [MCOBERTURA-144] - The JIRA report should only list those issues fixed in the current release Enjoy, The Mojo team. benson marg

Re: working with several java version with maven

2011-05-23 Thread Benson Margulies
You can run Maven under java6 and tell it that the target language level is 1.5 by configuring the maven-compiler-plugin. You can also use the animal sniffer to detect accidental use of 1.6 APIs in a 1.5 environment. On Mon, May 23, 2011 at 10:14 AM, Adva Rotstein-Hayun wrote: > Hi, > I have seve

Re: Maven folder structure

2011-05-19 Thread Benson Margulies
You use the pom elements that tell Maven that you have a different structure. You don't use an archetype. You create a pom from scratch. http://maven.apache.org/pom.html is the reference. You need resources, testResources, sourceDirectory and testSourceDirectory. On Thu, May 19, 2011 at 10:14

Re: Bootstraping a repository manager

2011-05-18 Thread Benson Margulies
Managing a maven build under these constraints is prohibitively expensive for a small operation if you apply it to maven itself. The thing you are building may have a modest enough dependency collection, but maven itself? I think you are looking an an inventory in the hundreds. It's a gigantic und

Re: [REPOST] Can I avoid a dependency cycle with one edge being a test dependency?

2011-05-17 Thread Benson Margulies
At very least, a polite request to look at the SO question, perhaps accompanied by leaving off the incomprehensible anti-spam math? On Tue, May 17, 2011 at 1:29 PM, Wayne Fay wrote: >> http://stackoverflow.com/questions/6034513/can-i-avoid-a- >> dependency-cycle-with-one-edge-being-a-test-depende

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
"Running a local nexus means never having to say --offline" On Mon, May 16, 2011 at 7:43 PM, Barrie Treloar wrote: > On Tue, May 17, 2011 at 3:04 AM, Benson Margulies > wrote: >> Or if you quietly put a copy of Archiva or Nexus for those purposes on >> your o

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
Unless you can post a project to github that demonstrates differential behavior everywhere, or use mvn -X or wireshark to deliver an analysis of *how* 3.0.3 is hitting the network differently than 2.2.1, you're unlikely to get much succor here. It would really help you if you could convince your c

Setting property to artifact pathname in maven local repo

2011-05-16 Thread Benson Margulies
I've got a pile of test data in a .tar.gz. I don't want to unpack it; my code is perfectly happy to open it as-is and read it. So, I see that I can list it as a dependency with a silly scope (like the use of 'scope=tomcat' in the tomcat-maven-program) and thus force it to download without ending u

Re: Best practice for migrating existing system

2011-05-09 Thread Benson Margulies
Not every problem is solved by waving the lemon of 'SOA' over it and expecting it to turn into lemonade. Some of us code things that have actual computations in them, and those computations have shared, reused classes, and those classes do not belong behind a web service -- either for performance o

Re: Best practice for migrating existing system

2011-05-09 Thread Benson Margulies
It sounds good, but there's a medium size in which it doesn't quite work out this way. You can't create a new maven module for every single class. Thus, in my experience, we have ended up with some sort of 'common' component that (a) gets a lot of changes and (b) has many things that depend on it -

Re: Best practice for migrating existing system

2011-05-07 Thread Benson Margulies
Having tried more or less Ron's prescription, I have to offer a caveat. You spend a lot of time watching the release plugin running. Frequently, a group of inter-related components has some component that accumulates shared utilities. In my experience, at least, the shared component is very busy -

Re: reordering the lifecycle

2011-05-02 Thread Benson Margulies
Bind surefire to the integration-test phase, that runs post-packaging. On Fri, Apr 29, 2011 at 3:05 AM, Ron Wheeler wrote: > On 28/04/2011 5:35 PM, Justin Lee wrote: >> >> I have a huge tree of ant based projects i'm trying to convert to maven. >>  I >> have the mechanics worked about except for

Re: Reference archive from another module

2011-05-01 Thread Benson Margulies
Generally people use the assembly plugin in a 'distribution' module to rearrange things into a distribution hierarchy. Is that what you have in mind here? On Sun, May 1, 2011 at 3:40 PM, CassUser CassUser wrote: > Hey all, > > I have a multimodule maven project.  One of the modules creates a arch

war plugin message for no apparent purpose

2011-05-01 Thread Benson Margulies
This message seems to be reporting a change from X to X, that is, no change at all. Am I missing something? [INFO] Dependency[Dependency {groupId=org.apache.lucene, artifactId=lucene-analyzers, version=3.0.3, type=jar}] has changed (was Dependency {groupId=org.apache.lucene, artifactId=lucene-anal

Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-04-30 Thread Benson Margulies
What does your POM say? On Sat, Apr 30, 2011 at 6:43 PM, sipungora wrote: > Hi, > > can somebody explain me why get I this error: > > "Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF > does not exist." > > Why is it looking for  MANIFEST.MF in WEB-INF\classes? > > Thanks

Re: Installed local dependency compiles in maven, but resulting jar errors with NoClassDefFound on execution

2011-04-29 Thread Benson Margulies
Listing things in your pom has no effect on the jar file that comes out at the end. If you want to build a self-contained jar, you need to read up on the maven-shade-plugin or the appassembler. On Fri, Apr 29, 2011 at 8:02 PM, Laura Bickle wrote: > The code imports classes from a compiled jar fil

Re: Logistic Regression

2011-04-29 Thread Benson Margulies
Wendy got it in one. Mahout, Maven, Mojo, M2E. One slight slip of the fingers and the wrong one ends up in the gmail to box. On Fri, Apr 29, 2011 at 5:06 PM, Wendy Smoak wrote: > On Fri, Apr 29, 2011 at 4:44 PM, Wayne Fay wrote: >>> I did send a message along afterwards apologizing. Did that no

Re: Logistic Regression

2011-04-29 Thread Benson Margulies
wrong list, as I don't understand anything...? > > /Anders > > On Fri, Apr 29, 2011 at 13:30, Benson Margulies wrote: > >> With some help from Ted (which I plan to turn into a checked-in tool >> if he doesn't get there first), I'm running LR on my initial small

Re: Logistic Regression

2011-04-29 Thread Benson Margulies
This went to the wrong list. Apologies. On Fri, Apr 29, 2011 at 7:30 AM, Benson Margulies wrote: > With some help from Ted (which I plan to turn into a checked-in tool > if he doesn't get there first), I'm running LR on my initial small > example. > > I adapted Ted&

Logistic Regression

2011-04-29 Thread Benson Margulies
With some help from Ted (which I plan to turn into a checked-in tool if he doesn't get there first), I'm running LR on my initial small example. I adapted Ted's rcv1 sample to digest a directory containing subdirectories containing exemplars. Ted's delightfully small program pushes all of the dat

Re: The complete content of lifecycle.xml

2011-04-24 Thread Benson Margulies
Martin, My first port of call was the site doc from the mdo file that HB kindly pointed me to. For a start, all I did was add some likely search terms to the description so that google could find it. I'd like to submit the corresponding patch to the 3.0 universe, and then consider whether I under

Re: The complete content of lifecycle.xml

2011-04-24 Thread Benson Margulies
gin- > descriptor/lifecycle-mappings.html ? > > Regards, > > Hervé > > Le dimanche 24 avril 2011, Benson Margulies a écrit : >> A certain amount of googleization has failed to reveal a complete >> guide to the valid XML content of lifecycle.xml. Is

Re: The complete content of lifecycle.xml

2011-04-24 Thread Benson Margulies
Indeed I am. Thanks. On Sun, Apr 24, 2011 at 2:49 AM, Hervé BOUTEMY wrote: > are you looking for http://maven.apache.org/ref/2.2.1/maven-plugin- > descriptor/lifecycle-mappings.html ? > > Regards, > > Hervé > > Le dimanche 24 avril 2011, Benson Margulies a écrit

Re: The complete content of lifecycle.xml

2011-04-23 Thread Benson Margulies
Martin, Thanks, but that doesn't help unless the message between the lines is that this file really has 'one of everything' in it. In which case, between this and the sonatype book, I could go hit the wiki and type up something explanatory for other sufferers. --benson --

The complete content of lifecycle.xml

2011-04-23 Thread Benson Margulies
A certain amount of googleization has failed to reveal a complete guide to the valid XML content of lifecycle.xml. Is there one in an obscure location? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional co

What property references can go into lifecycle.xml

2011-04-23 Thread Benson Margulies
Expanding on a previous message: Consider the lifecycle def below. What if I added to the test configuration something like: ${someVal} if a mojo uses @execute to run this lifecycle, is there any way for it to push a value into 'someVal'? cobertura process-class

Fork control and parallel executions in M3

2011-04-23 Thread Benson Margulies
The cobertura-maven-plugin uses @execute to run a parallel lifecycle for 'test'. A bug report claims that, in maven 3, this fails for them, because the surefire forkMode is ignored. Is there something new in M3 that I need to add to the plugin? Is this perhaps an M3 bug? The relevant mojo config

Passing parameters when executing with @execute

2011-04-23 Thread Benson Margulies
I'm looking at a mojo that has @execute phase="test" lifecycle="cobertura" in the mojo descriptor. Someone wishes that they could give a parameter for the configuration of this mojo which would turn into a system property setting on the execution of the extra lifecycle. I don't see a way to do

Re: Build a project twice with different classifier in one run

2011-04-22 Thread Benson Margulies
I think you're going to have to use the maven-invoker-plugin to run your various builds, and then use the build helper to attach the multiple results as classified artifacts to the main build. On Fri, Apr 22, 2011 at 5:17 PM, maxime.lem wrote: > No, it's really the version I provide to mvn releas

Re: Aggregating cobertura reports in a multi module build with Maven 3.0.3

2011-04-21 Thread Benson Margulies
>From the integration test, I see this in the top-level pom. org.codehaus.mojo cobertura-maven-plugin 2.5 true On Thu, Apr 21, 2011 at 3:58 PM, Mirko Friedenhagen wrote: > Hello, > > I am trying to use cobertura 2

[ANN] cobertura-maven-plugin 2.5 released

2011-04-19 Thread Benson Margulies
11226&version=16413 Enjoy, The Mojo team. Benson Margulies - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Setting properties in pom.xml from command line

2011-04-15 Thread Benson Margulies
Anders, What other suggestion do you have for testing that a something works with multiple versions of something else? I completely agree that running 'install' let alone 'deploy' with a profile that changes a version is a really bad idea. But it's an effective mechanism for compatibility testing

Re: breaking backwards compatibility

2011-04-13 Thread Benson Margulies
ode that only works with > v1.0 to work with v2.0? it might be better anyway... > > > > On 13 April 2011 13:15, Benson Margulies wrote: > >> Jörg, >> >> The question is, "Are there interesting cases in which the author of >> the package knows that 2.0 is

Re: breaking backwards compatibility

2011-04-13 Thread Benson Margulies
(or there other way around) that could cause havoc. --benson On Wed, Apr 13, 2011 at 8:10 AM, Jörg Schaible wrote: > Benson Margulies wrote: > >> The OP wishes that maven had some, ahem, declarative mechanism for >> raising a flag in this case. No guessing. Some way to attach m

Re: breaking backwards compatibility

2011-04-13 Thread Benson Margulies
The OP wishes that maven had some, ahem, declarative mechanism for raising a flag in this case. No guessing. Some way to attach metadata to 2.0 that says, 'you can't use this as a compatible replacement for 1.0. Yell instead.' On Wed, Apr 13, 2011 at 7:51 AM, Jörg Schaible

Re: breaking backwards compatibility

2011-04-13 Thread Benson Margulies
There is perhaps a communications problem here. I don't think this is about ranges. I suspect that it is about: - project g:A version 1 depends on x:y:2.0 - project g:B version 1 depends on g:A:1 and x:y:1.0 What ends up in the classpath of B? x:y:2.0, I think. On Wed, Apr 13, 2011 at 7:17

Re: ws.zones.apache.org down

2011-04-08 Thread Benson Margulies
FO] |     +- xalan:xalan:jar:2.7.0:compile > [INFO] |     +- xerces:xercesImpl:jar:2.8.1:compile > [INFO] |     \- bouncycastle:bcprov-jdk13:jar:132:compile > > > I've added the two deps to our instance of Nexus and we are able to build > again now. > > Ben > > > On 7 April 2011 17:

Re: ws.zones.apache.org down

2011-04-07 Thread Benson Margulies
I'm part of ws.apache.org and I've never ever heard of this. What were you getting from there? On Thu, Apr 7, 2011 at 6:14 AM, Ben Short wrote: > Hi, > > Over the last couple of days my builds have been failing because the > repository hosted at ws.zones.apache.org is down. > > Does anyone know w

Re: MVN config

2011-04-04 Thread Benson Margulies
The first problem suggests a very strange setting in MAVEN_OPTS. Please check that variable. The next step would be to add -X and see what you see. The second sounds like a problem with M2Eclipse. That's not supported on this list. The list is m2e-us...@eclipse.org. On Mon, Apr 4, 2011 at 6:51 AM

Re: Newbie needs help with ant plugin

2011-03-31 Thread Benson Margulies
There is a perfectly functional xjc task for maven that would avoid all this antery alltogether. On Thu, Mar 31, 2011 at 9:08 PM, Rafael Vanderlei wrote: > Looking at the exception message, it seems that the version of Ant used for > those who implemented the class com.sun.tools.xjc.XJCTask is di

Re: Maven 2.2.0 is not running my reporting plugin. Hints?

2011-03-30 Thread Benson Margulies
one, so random spelling mistakes, random nonsense > words and other nonsense are a direct result of using swype to type on the > screen > On 30 Mar 2011 19:20, "Benson Margulies" wrote: >> I've create a reporting plugin by cribbing closely from checksty

Maven 2.2.0 is not running my reporting plugin. Hints?

2011-03-30 Thread Benson Margulies
I've create a reporting plugin by cribbing closely from checkstyle. -X shows me: [DEBUG] Configuring mojo 'com.basistech:seg-model-training-report-plugin:25-SNAPSHOT:seg-model-report' --> [DEBUG] (f) dataLocation = /Users/benson/x/seg-models-trunk/zho/zho-train/target [DEBUG] (f) outputDirect

Re: Making a report

2011-03-30 Thread Benson Margulies
orting plugin does. > Have a look at that code: > http://maven.apache.org/plugins/maven-surefire-report-plugin/ > > /Anders > > On Wed, Mar 30, 2011 at 01:20, Benson Margulies wrote: > >> I want to create a report which presents some results from a build. >>

Making a report

2011-03-29 Thread Benson Margulies
I want to create a report which presents some results from a build. There is no way to recreate the data in the reporting context; the report must come from the build proper. Is the thing to do here to make the build proper leave the data behind in, for example, an XML file in target, and the repo

Re: redirecting source/javadoc

2011-03-21 Thread Benson Margulies
are able to create 6 different jar, how come you can't create 6 > different sources/javadoc jars? This might be a good time to do some > refactoring of your build script. > > /Anders > On Mon, Mar 21, 2011 at 03:38, Benson Margulies wrote: > >> Consider an ant build that c

redirecting source/javadoc

2011-03-20 Thread Benson Margulies
Consider an ant build that creates 1/2-dozen jars from a single source hierarchy. It wants to be 6 maven artifacts. But there's no easy way to make six different jars of javadoc and sources. Is there any way for the poms of 5 to point to the sixth, or is it best to just post identical source/javado

Re: maven subversion issue

2011-03-14 Thread Benson Margulies
Then you don't use svn+ssh. On Sun, Mar 13, 2011 at 1:50 PM, anjana wrote: > but sir i will have to use file:/// such type of url because my repository is > local type > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven-subversion-issue-tp3555224p363.html > Sent f

Re: Ignore Parent Plugin Declaration

2011-03-11 Thread Benson Margulies
d overwrite executions (thought I mentioned > that in my OP) but unfortunately some of these have quite a few (5 or more) > executions and overwriting them at this time doesn't guarantee that they > won't add more later. > > On Thu, Mar 10, 2011 at 4:32 PM, Benson Margulies >

Re: Ignore Parent Plugin Declaration

2011-03-10 Thread Benson Margulies
I've seen this. It was last discussed in terms of problems shifting from to the new maven3 stuff. http://www.sonatype.com/people/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/ On Thu, Mar 10, 2011 at 5:19 PM, Wendy Smoak wrote: > On Thu, Mar 10, 2011 at 4:51 PM, Tim wro

Re: Ignore Parent Plugin Declaration

2011-03-10 Thread Benson Margulies
Many plugins have some sort of 'skip' flag you can put in the 20% cases. Or, you can rebind the execution to a nonexistent phase. On Thu, Mar 10, 2011 at 4:51 PM, Tim wrote: > I have a project that needs to depend on a common root pom which declares a > bunch of plugin executions that 80% of the

Re: Including dependencies in a jar

2011-03-09 Thread Benson Margulies
maven-shade-plugin, or just use the assembly plugin to colocate the dependencies and ask the jar plugin to add a manifest to the main jar. On Wed, Mar 9, 2011 at 8:53 PM, Mark wrote: > Say I have the following dependency: > > > org.apache.mahout.commons > commons-cli > 2.0-mahout > > > And my m

Re: Plexus configuration versus parameter substutition

2011-03-02 Thread Benson Margulies
epro. What JIRA-able component is responsible for substituting into the XML when reading the POM and building up the PlexusConfiguration? On Wed, Mar 2, 2011 at 7:10 PM, Benson Margulies wrote: > I would be ever-so-grateful if someone would tell me if the following > is expected. > > Using

Plexus configuration versus parameter substutition

2011-03-02 Thread Benson Margulies
I would be ever-so-grateful if someone would tell me if the following is expected. Using maven 2.2.1 or 3.0.0. I have a plugin I built. One of its parameters is treated just as arbitrary XML: declared as PlexusConfiguration. In the XML of the example at hand, there is a use of a parameter refere

Re: Tracking down a dependency mystery

2011-02-18 Thread Benson Margulies
OK, mystery solved. I found the relevant dependencyManagement statement in a distant parent, leftover from long ago. On Fri, Feb 18, 2011 at 10:27 AM, Benson Margulies wrote: > Running with m3, it still fails, and I see > > [DEBUG]       org.mortbay.jetty:jetty:jar:7.2.0.v2010102

<    1   2   3   4   5   6   7   8   >