Re: Plugin execution not covered by lifecycle configuration

2012-01-24 Thread Benson Margulies
I would guess that flexmojo documents the procedure of listing one of their modules as an and you haven't done so. On Tue, Jan 24, 2012 at 3:14 AM, Thorsten Heit wrote: > Hi, > >>            I stuck with the Plugin execution not covered by lifecycle >> configuration while using flexmojos-maven-p

Re: custom unique version

2012-01-23 Thread Benson Margulies
Deploying SNAPSHOTS can work when there is a clear, one-directional, flow, from producers to consumers. It produces nothing but horror otherwise, when developers find Maven downloading a 'new' snapshot that is actually 'old' with respect to their pending changes. On Mon, Jan 23, 2012 at 1:06 PM, R

Google-docs -> site plugin

2012-01-17 Thread Benson Margulies
Has anyone thought about how to get a google doc into a format usable in a maven site? The download choices are rather lame: html, open office, ms word, and then images. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Disabling resolving test scoped dependencies when tests are skipped via maven.test.skip system property

2012-01-17 Thread Benson Margulies
I'd move the 'special' tests to their own project. On Tue, Jan 17, 2012 at 11:17 AM, Stevo Slavić wrote: > OK, thanks for explaining! A module's tests are supposed to be run only by > part of the team. For others not even test dependencies are accessible, so > just disabling compiling and executi

Re: MVN Site doesn't bring Project Modules structure properly

2012-01-16 Thread Benson Margulies
you list the javadoc plugin as a reporting plugin, either in or in the config of the site plugin. On Mon, Jan 16, 2012 at 5:50 PM, Daivish Shah wrote: > Yes i know there is a plugin for java doc. > > But i am looking how to integrate JAVADOC with maven site ? I mean on MAVEN > generated site i w

Re: How to debug GWT code generation?

2012-01-12 Thread Benson Margulies
See http://mojo.codehaus.org/gwt-maven-plugin/mail-lists.html for the right mailing list to get help on this. On Thu, Jan 12, 2012 at 8:53 AM, David Hoffer wrote: > I'm using the gwt maven plugin and I need to debug when GWT generates Java > code during its rebind/generator operations, we have a

Re: Why not all dependences are pulled?

2012-01-12 Thread Benson Margulies
On Thu, Jan 12, 2012 at 1:28 AM, hp wrote: > After upgrading my IDE and Nexus, my development environment gets messed up. > I read online > (http://stackoverflow.com/questions/7964262/maven-and-indigo-behind-proxy) > that I could resolve the problem by deleting all stuff under .m2/repository. > Af

Re: [wagon-ssh] Does really recursive ?

2012-01-07 Thread Benson Margulies
The maven-wagon-plugin, in my experience, is not useful for moving arbitrary files from place to place. It expects a file structure like that of a maven repository, and, when it doesn't find one, it doesn't do the job. I recommend that people use the antrun plugin and the ant scp tasks instead. On

Re: Javadoc creation is giving errors

2012-01-03 Thread Benson Margulies
Why src? Aren't your sources in src/main/java? On Tue, Jan 3, 2012 at 5:31 AM, yerra babji wrote: > Hi, > > I have added the following plugin in my pom.xml file's  build > configuration. When i execute the mvn package, Its getting failed during > javadoc creation and complaining like "import

Re: Fatal error compiling: Prohibited package name: java.lang

2012-01-03 Thread Benson Margulies
On Tue, Jan 3, 2012 at 7:41 AM, Martin Gainty wrote: > > Good Catch Benson > $ANT_HOME\lib09/09/2009  03:44 AM        12,605,641 tools.jarcan i toss > tools.jar onto the classpath to resolve this issue? > Is there anyone to ping at Hadoop to determine the missing location for > tools.jar? > Is t

Re: Fatal error compiling: Prohibited package name: java.lang

2012-01-03 Thread Benson Margulies
On Mon, Jan 2, 2012 at 5:45 PM, Ronald Petty wrote: > Martin, > > Thanks for the tip.  I tried a few more things and found the root cause. >  On a Mac, tools.jar is missing and I had placed a symbolic link from > tools.jar to classes.jar (to fix other issues). tools.jar is never present in an App

Re: Unable to use maven-ant-tasks

2011-12-29 Thread Benson Margulies
On Thu, Dec 29, 2011 at 9:55 AM, Wayne Fay wrote: >> listing in ant -diagnostics).  I was hoping that since maven-ant-tasks >> is developed as part of maven, that someone on the list would be using >> it and have some insight as to what I was doing wrong. > > I agree with your premise. Sorry I cou

Re: mvn package (build failure)

2011-12-18 Thread Benson Margulies
On Sun, Dec 18, 2011 at 9:26 AM, Apache Omega wrote: > how do i fix this problem You install the application that its asking for and put it in PATH. This is a mailing list for maven itself. You are asking a question about flex. You should take your question to the official support channel for it

Re: mvn package (build failure)

2011-12-17 Thread Benson Margulies
What part of [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.1 -beta:test-run (default-test-run) on project MavenFlexJavaApp: Failed to launch Flash Player. Probably java was not able to find flashplayer. [ERROR] Make sure flashplayer is available on PATH don't you

Re: using maven for flex on java

2011-12-17 Thread Benson Margulies
It would help if you would send a message stating what you tried, what you expected to happen, and what happened instead. I have no idea what 'flex on java' is, so I can't guess what's going on. On Sat, Dec 17, 2011 at 4:30 PM, Apache Omega wrote: > I'm using maven for flex on java so I'm comple

Re: No POM 1 how do I install my POM (Please help!!!)

2011-12-17 Thread Benson Margulies
Please read http://www.sonatype.com/books/mvnref-book/reference/. You don't hardly ever install a POM. You just run mvn in the directory where it is sitting. On Sat, Dec 17, 2011 at 10:22 AM, Apache Omega wrote: > i'm trying to get maven fully operational but every time i run anything > there's a

Re: Release plugin should tag the revision that was built in the prepare phase

2011-12-15 Thread Benson Margulies
> Do you mean "branch" or "tag"? A branch. In a busy environment, the common practice is: 1) use release:branch to make a branch. 2) use release:prepare/perform on the branch > > A release is created from a tag, and that is what the release plugin > does for us. > >> Unless you have total co

Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
se has been working on it since I last met it. > > 2011/12/15 Benson Margulies : >> Olivier, >> >> the wagon plugin will only copy things if the directory hierarchies >> look like a repo. >> >> On Thu, Dec 15, 2011 at 12:15 PM, Olivier Lamy wrote: >>>

Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
out there when I do a google >> search. >> >> Tom >> >> >> On Thu, 15 Dec 2011, Benson Margulies wrote: >> >>> On Wed, Dec 14, 2011 at 6:26 PM, Tom Masterson wrote: >>>> >>>> We have several artifacts that we want to copy to

Re: Conflicting Spring versions

2011-12-15 Thread Benson Margulies
On Wed, Dec 14, 2011 at 3:17 PM, scabbage wrote: > I have a multi-module project with a parent pom and several sub-modules. In > one of the module, I have a dependency that has a transitive dependency of > spring (2.0.6). How do I go about having the rest of my project using Spring > 3.0.6.RELEASE

Re: Best way to handle an ssh copy?

2011-12-15 Thread Benson Margulies
On Wed, Dec 14, 2011 at 6:26 PM, Tom Masterson wrote: > We have several artifacts that we want to copy to remote servers via > scp/ssh.  I have looked at the wagon plugin but the documentation seems to > have issues. DO NOT try to use the Wagon plugin. It is *not* a tool for arbitrary SCPs. It is

Re: Failed to determine Java version for profile jdk* @

2011-12-13 Thread Benson Margulies
them out. > > - 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 14 Dec 2011 00:30, "Benson Margulies" wrote: > >> On Tue,

Re: Failed to determine Java version for profile jdk* @

2011-12-13 Thread Benson Margulies
On Tue, Dec 13, 2011 at 7:24 PM, Stephen Connolly wrote: > sounds like cxf have been really bold and are adding deps in a profile Yes indeed. *purely for testing* we have profiles that change the dependencies. Got another suggestion? > > - Stephen > > --- > Sent from my Android phone, so random

Re: maintaining same version

2011-12-11 Thread Benson Margulies
You do this by inheriting the version through the parent element. You have to repeat the version once in each pom: as the plain version in the top pom, and then in the parent element of the others. Controlling the version through a parameter is not a good idea. The versions plugin can help you wi

Re: Unrepeatable (sort of) dependency issues with a war dependency

2011-12-06 Thread Benson Margulies
This turned out to be a stupid error in the parent of a, which I had fixed once and somehow got reverted. Sorry about the noise. On Tue, Dec 6, 2011 at 9:13 AM, Benson Margulies wrote: > Using maven 3.0.3 (as well as 2.2.1). > >    a >  -- >  |     | >  b   c > > Po

Unrepeatable (sort of) dependency issues with a war dependency

2011-12-06 Thread Benson Margulies
Using maven 3.0.3 (as well as 2.2.1). a -- | | b c Pom for a lists b and c as modules. b is packaging=war. c is packaging=jar. c's dependencies include: b ${project.version} war C has an invocation of assembly:single. The descriptor includes: ${ar

Re: spring handlers

2011-12-05 Thread Benson Margulies
I think that I misunderstood. If you don't control the builds of the jars that have the spring files in them, but merely aggregate them, then I don't have any better suggestion than shade. However, I wonder if we can help you make shade work better for you. ---

Re: spring handlers

2011-12-05 Thread Benson Margulies
You would have configure the maven-jar-plugin to exclude it and then make the combined one show up where you want it. On Mon, Dec 5, 2011 at 9:22 AM, jackett_dad wrote: > All, > > I am having an issue that has been encountered before.  The issue concerns > the inclusion of a file called spring.ha

[ANN] Maven Assembly Plugin 2.2.2 Released

2011-12-02 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.2.2 A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors. http://maven.apache.org/plugins/maven-assembly-plugin/ You should specify the

[ANN] Maven Common Artifact Filters 1.4 Released

2011-12-02 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Common Artifact Filters, version 1.4 A collection of ready-made filters to control inclusion/exclusion of artifacts during dependency resolution. http://maven.apache.org/shared/maven-common-artifact-filters You should specify the v

maven failing at the end of a build with a plexus error

2011-12-01 Thread Benson Margulies
Maven 2.2.1. This only happens inside Jenkins, but even when not using the jenkins maven plugin. What is it trying to tell us? [INFO] Running tasks tasks [INFO] com.basistech.rex2009.common.TaskSequence [INFO] com.basistech.rex2009.common.data.CorpusNexmlReader [INFO] /basis/treez/jenkins/ciderpr

Re: [ANN] Maven Archetype 2.2 Released

2011-11-26 Thread Benson Margulies
t, Nov 26, 2011 at 6:52 AM, Michael Heuer wrote: >> >>> Hello Benson, >>> >>> I'm still bothered that >>> >>> http://jira.codehaus.org/browse/ARCHETYPE-70 >>> >>> hasn't been resolved.  Any chance you might be able to l

[ANN] Maven Archetype 2.2 Released

2011-11-23 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Archtetype 2.2 Architype is a collection of tools that allow you to create templates for maven projects. Release Notes - Maven Archetype - Version 2.2 ** Bug * [ARCHETYPE-390] - Several parameters of the create-from-project moj

Re: How to include the *-sources.jar in a binary distribution?

2011-11-21 Thread Benson Margulies
q-1.0.0-incubating-SNAPSHOT-sources.jar >  - jena-tdb-0.9.0-incubading-SNAPSHOT-sources.jar > > Paolo > > Benson Margulies wrote: >> Paolo, >> >> Are the -sources an artifact of the same project that is running the >> assembly plugin? >> >> Off hand

Re: How to include the *-sources.jar in a binary distribution?

2011-11-21 Thread Benson Margulies
Paolo, Are the -sources an artifact of the same project that is running the assembly plugin? Off hand I'd suggest making a separate module to build the combined sources jar, and then you should be able to pull that into the assembly. Or, just use a pointing at the right file in target/ instead

Re: Surefire not behaving the way I expect....

2011-11-17 Thread Benson Margulies
Note that I ported this into the formal documentation of the POM as well. On Thu, Nov 17, 2011 at 2:03 AM, Anders Hammar wrote: > Try the merge process config explained here: > http://www.sonatype.com/people/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/ > > /Anders > > On

Re: Use axis2 as a Maven module

2011-11-17 Thread Benson Margulies
According to search.maven.org, axis2 is available on central: axis2 axis2 1.0 On Thu, Nov 17, 2011 at 7:22 AM, francesco wrote: > Hello everyone. I am developing an application and I have a problem. > I am using Eclipse 3.6, Maven (I'm trying with 2.2.1 and 3.0) and its IDE > for E

Re: Cannot find layout implementation error using mvn 3 artifacts with mvn 2

2011-11-16 Thread Benson Margulies
I'm fairly certain that this has nothing to do with m2 versus m3. The 'p2' layout is a feature of Tycho, not the core of Maven. Tycho might require M3, or there may be some other issue. I suggest that you consult the tycho users list. On Wed, Nov 16, 2011 at 8:23 PM, Warwick wrote: > > I'll shoul

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-13 Thread Benson Margulies
No possible licensing restriction can prevent you from having your own shared repository with nexus or archiva or artifactory and pushing whatever you want to it. For that matter, it's not too hard to write a script that calls install:install-file on each of a pile of jar files. You can't do this

Re: Unrecognised tag: 'executions'

2011-11-04 Thread Benson Margulies
Nothing is visible. Please try again using plain text, or perhaps not using nabble. On Fri, Nov 4, 2011 at 10:41 AM, fachhoch wrote: > > > here comploete stacjktrqace > > > here is my pom.xml > > - To unsubscribe, e-mail: users-

[ANN] Maven Shade Plugin 1.5 Released

2011-10-31 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.5 Repackages the project classes together with their dependencies into a single uber-jar, optionally renaming classes or removing unused classes. http://maven.apache.org/plugins/maven-shade-plugin You sh

[ANN] Maven Shade Plugin 1.5 Released

2011-10-31 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.5 Repackages the project classes together with their dependencies into a single uber-jar, optionally renaming classes or removing unused classes. http://maven.apache.org/plugins/maven-shade-plugin You sh

[ANN] Maven antrun plugin 1.7 released

2011-10-31 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven antrun Plugin, version 1.7 This plugin allows Maven builds to incorporate ant tasks. http://maven.apache.org/plugins/maven-antrun-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plu

Build failure control with integration testing

2011-10-28 Thread Benson Margulies
I have the classic integration testing structure under construction: pre test post My problem is that things can go wrong in pre. When they do, the build fails, and then post doesn't run, and the early parts of pre that succeed don't get cleaned up. I could probably figure out to arran

Re: Maven Antrun doesn't compile the project well.

2011-10-27 Thread Benson Margulies
I would add one bit of emphasis. If your goal is to build it and push the results, use the ant tasks or ivy. On the other hand, any execution of 'ant' that works outside of maven should work inside of maven using antrun, so long as the dependencies of antrun expand the classpath to include *all of

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
On Wed, Oct 26, 2011 at 5:02 PM, Wayne Fay wrote: >> It's typical to put dependencies on the antrun plugin. If you need any >> tasks that aren't part of the stock ant artifact, you add dependencies >> to the plugin. > > Yup, I use Antrun in several of my own projects. But it does not seem > to app

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
It's typical to put dependencies on the antrun plugin. If you need any tasks that aren't part of the stock ant artifact, you add dependencies to the plugin. In 2.x, then, you had to be sure that all of your plugin declarations across multiple aggregated projects agree. ---

Re: Maven Antrun doesn't compile the project well.

2011-10-26 Thread Benson Margulies
.Could this be http://jira.codehaus.org/browse/MNG-1323? If you have multiple, conflicting, antrun configurations, and you are using mvn 2.x, you won't get what you want. On Wed, Oct 26, 2011 at 3:36 PM, vra5107 wrote: > Aye aye Mr Wayne > >  > I honestly don't care what happens when you run Ant

reactor and plugin dependencies & the reactor

2011-10-26 Thread Benson Margulies
I'd like to have a multi-module project in which module (a) builds the code of an ant task, and module (b) lists module (a) as a dependency of the antrun plugin to use it. I have a vague memory that this isn't going to work in the reactor. Can anyone tell me if I'm inventing a problem? ---

Re: Problems with MAVEN's-ANT on OpenVMS

2011-10-20 Thread Benson Margulies
Putting on my pointy hat with the stars on it, I'm predicting that various APIs of the File object return strings ending in "." on OpenVMS whether you want them to or not. Lucene creates a file that it thinks is named '1', (or something ending with '1') and OpenVMS helpfully decides that it's name

Re: Problems with MAVEN's-ANT on OpenVMS

2011-10-13 Thread Benson Margulies
Just to put the cork in this, the backtrace at the end proves that Apache Lucene doesn't work in your OpenVMS environment. Words cannot express my lack of surprise. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: UTF-8 Test Mystery

2011-10-11 Thread Benson Margulies
n situations - it was > just hard for me to believe the compiler was compiling the wrong code and > easier to assume it was surefire or something. > > Maybe in the 22nd century we will not have so many problems with UTF-8 :-) > > Thanks everyone for your help and insight. > &g

Re: Incorrect location for downloading plugin pom

2011-10-10 Thread Benson Margulies
This has certain superficial resemblances to the following shoot-self-in-foot process. Step 1: Define a nexus instance. Define a group of public repositories in it. Step 2: Using settings.xml, make a mirror-of "*" that points to this repository. Step 3: Add an explicit element to a pom pointing t

Re: UTF-8 Test Mystery

2011-10-10 Thread Benson Margulies
Eric, A couple of points: 1: Javac has an option to control the input encoding of java source files. There's a corresponding configuration option for the maven-compiler-plugin. 2: Adding -Dfile.encoding=utf-8 to MAVEN_OPTS will cause maven, and any other piece of java it launches, to use UTF-8 a

Re: Managing Different Java Versions

2011-10-10 Thread Benson Margulies
The following is probably too late to be useful. In my foggy memory, my sense is that the exception error message for the class format error identifies a class name. Under normal conditions, it's not terribly hard to map a class name to a jar. Personally, I use grep, because ZIP files (JAR files b

Re: Managing Different Java Versions

2011-10-09 Thread Benson Margulies
safely > > - 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 9 Oct 2011 23:14, "Benson Margulies" wrote: > >> If you have to

Re: Managing Different Java Versions

2011-10-09 Thread Benson Margulies
If you have to support 1.5, the easiest thing to do is eschew the use of 1.6 features. Just set the compiler plugin options for source and target of 1.5. After you do that, you might still want the sniffer, since this does not stop you from accidentally coding calls to methods introduced in 1.6.

Re: Passing Profile Properties to Surefire Tests

2011-10-02 Thread Benson Margulies
Nothing in surefire maps Maven properties to system properties. You need to explicitly map each such property. See http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html - To unsubscribe, e-mail: us

Re: DOXIA bug 441

2011-09-15 Thread Benson Margulies
On Thu, Sep 15, 2011 at 5:25 AM, Rodrigo Javier Tobar Carrizo wrote: > Hi all, > > I submitted a bug to the doxia module 2 weeks ago, about a misbehavior in > the TWiki parser. I've included both test case and possible solutions. So > far there has been no reply, so I'm wondering if someone actual

Re: Adding modules from within a plugin?

2011-09-14 Thread Benson Margulies
( Make Friends with -P and use shell scripts to arbitrate? Try the maven-invoker-plugin to organize the top-level execution? > > Regards, > > Maik > > > Original-Nachricht ---- >> Datum: Tue, 13 Sep 2011 17:21:37 -0400 >> Von: Benson Margulies >&

Re: doxia and docbook

2011-09-14 Thread Benson Margulies
and the directory names and extensions: > > http://maven.apache.org/doxia/references/index.html > > -Lukas > > > On 09/13/2011 11:22 PM, Benson Margulies wrote: >> >> No, the folder name is 'docbook' for the 'simple-docbook' format, >> which

Re: doxia and docbook

2011-09-13 Thread Benson Margulies
No, the folder name is 'docbook' for the 'simple-docbook' format, which is no the same thing as xdoc. It turns out that you have to add a dependency to the site plugin. I've improved the doc. On Tue, Sep 13, 2011 at 4:21 PM, Karl Heinz Marbaise wrote: > Hi, >> >> adding src/site/docbook and putti

Re: Adding modules from within a plugin?

2011-09-13 Thread Benson Margulies
Original-Nachricht ---- >> Datum: Tue, 13 Sep 2011 15:46:16 -0400 >> Von: Benson Margulies >> An: Maven Users List >> Betreff: Re: Adding modules from within a plugin? > >> On Tue, Sep 13, 2011 at 3:37 PM, Wayne Fay wrote: >> >> Because

Re: Adding modules from within a plugin?

2011-09-13 Thread Benson Margulies
On Tue, Sep 13, 2011 at 3:37 PM, Wayne Fay wrote: >> Because activating a profile by properties is not working properly I would >> like to either add the modules to the current build from within my plugin >> or activate a profile defining these modules. > > Can you provide more details about what

doxia and docbook

2011-09-13 Thread Benson Margulies
adding src/site/docbook and putting things in it seems to have no effect. Do I need to add a plugin? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Exclusions for maven plugin

2011-09-11 Thread Benson Margulies
The quickest solution is to use a element in the POM to call out the version of the wagon plugin that you want. On Sun, Sep 11, 2011 at 7:18 PM, Niranjan Rao wrote: > Hi there, > > It looks like I might be getting bitten by the bug as mentioned at > http://jira.codehaus.org/browse/WAGON-253.

[ANN] Maven Plugin Tools 2.9 Released

2011-09-05 Thread Benson Margulies
The Maven team is pleased to announce the release of the Maven Plugin Tools, including the maven-plugin-plugin, version 2.9 The Maven Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's found in the source tree, to include in the JAR. http://maven.apache.org/plugins/maven-plu

Re: Cannot create class by using plugin 'wsimport'

2011-09-05 Thread Benson Margulies
If this is an m2e issue, please take it to the m2e users list. If it is a maven issue, the state of the m2e lifecycle mapping is not relevant. Ordinary eclipse builds don't pay attention to it. On Mon, Sep 5, 2011 at 9:58 AM, Thomas Chang wrote: > Hi all, > > Formerly I use maven 2.8 and can crea

Re: -gs does not apply to the forked maven execution in release:prepare

2011-09-04 Thread Benson Margulies
nts to pass, I forget what it is, but I'm sure you know >> how to find it ;-) > > -Darguments="..." I wonder: why? Does anyone know a use case in which it's important to make the setttings or global settings different in the forked execution? > >> >&g

-gs does not apply to the forked maven execution in release:prepare

2011-09-04 Thread Benson Margulies
I was a bit taken aback when a run of the maven release plugin failed because I ran mvn -gs my_settings.xml release:prepare and then the build couldn't find the repositories from the global settings? Is there really on purpose, or should I write up a JIRA? ---

Re: [maven] settings.xml boolean values not be honored.

2011-08-30 Thread Benson Margulies
On Fri, Aug 26, 2011 at 11:11 AM, Jason Pyeron wrote: >> -Original Message- >> From: Jason Pyeron >> Sent: Thursday, August 25, 2011 18:59 >> To: 'Maven Users List' >> Subject: [maven] RE: [maven] Re: settings.xml boolean values >> not be honored. I don't feel qualified to weigh in. I ask

Re: maven project with xml packaging

2011-08-29 Thread Benson Margulies
Use packaging=pom and then use the build helper plugin to attach the XML file. On Mon, Aug 29, 2011 at 11:17 AM, Andy Glick wrote: > You have asked about "XML packaging". In Maven parlance packaging refers to > the type of the artifact that the current Maven "module" will produce. > Normally pack

Re: settings.xml boolean values not be honored.

2011-08-25 Thread Benson Margulies
On Thu, Aug 25, 2011 at 6:10 PM, Jason Pyeron wrote: > When I set the values against the default and I do not have a user > settings.xml, > the system creates a "default" settings. This in effect takes precedence, and > since it cannot be determined if the value was specified or was defaulted, th

Re: XML files are not getting included while compiling the source

2011-08-25 Thread Benson Margulies
On Thu, Aug 25, 2011 at 7:44 AM, anamika gupta wrote: > Can you please tell me what entries to do in the pom.xml file so that it > includes the .xml file None. You just put them in src/main/resources. If you insist on doing this the hard way, read up on the element of the pom to see how to make

Re: XML files are not getting included while compiling the source

2011-08-25 Thread Benson Margulies
On Thu, Aug 25, 2011 at 7:37 AM, anamika gupta wrote: > I have many XML files in src/main/java directory and its sub directory. When > I > run "mvn compile", these XML files will not be copied to the > target/classes XML files belong in src/main/resources, not src/main/java. > > -- > View this m

Re: No output from JXR ...

2011-08-23 Thread Benson Margulies
To clarify how all this happened to me today: JXR never had a proper 'execute' method, so running JXR as a build plugin instead of a reportSet never worked. When I added the aggregate goals, I somehow got turned around and made the IT use a combination of build plugin and reportSet. I thought I'd

Re: No output from JXR ...

2011-08-23 Thread Benson Margulies
ven-3/trunk/pom.xml?revision=1155273&view=markup > > [2] http://maven.apache.org/ref/3.0.4-SNAPSHOT/ > > Le mardi 23 août 2011, Benson Margulies a écrit : >> In spite of having run the most recent release, and implemented the >> aggregation feature, I&#x

No output from JXR ...

2011-08-23 Thread Benson Margulies
In spite of having run the most recent release, and implemented the aggregation feature, I'm seemingly unable to use it myself. In build/plugins I have org.apache.maven.plugins maven-jxr-plugin 2.3

Re: publishing pretty source code as part of a maven site

2011-08-23 Thread Benson Margulies
Oh, the irony. I was the most recent release manager, and I didn't even realize it was useful for this. On Tue, Aug 23, 2011 at 10:29 AM, Jesse Farinacci wrote: > Greetings, > > On Tue, Aug 23, 2011 at 10:26 AM, Benson Margulies > wrote: >> Is there a reporting plugi

publishing pretty source code as part of a maven site

2011-08-23 Thread Benson Margulies
Is there a reporting plugin out there that can be asked to publish prettified copies of java classes as part of a maven site? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Benson Margulies
On Mon, Aug 22, 2011 at 10:46 AM, Julien HENRY wrote: > According to my own tests, with Maven 3 the parent pom is resolved according > to the following algorithm: > > IF relativePath != "" > THEN > >   IF pom is found at relativePath location and GAV match >   THEN use this pom as parent >   ELSE

Re: site 3.0 breaks site deployment

2011-08-20 Thread Benson Margulies
One alternative is to use the pattern of having a separate site-pom.xml to document such a 'disconnected' parent. See, for example: https://svn.apache.org/repos/asf/maven/pom/trunk/asf On Sat, Aug 20, 2011 at 4:24 PM, Lukas Theussl wrote: > > This is probably related to http://jira.codehaus.org

Re: javadoc plugin claims no sources, but there's one ...

2011-08-18 Thread Benson Margulies
line javadoc tool? > > /Anders (mobile) > Den 18 aug 2011 16.05 skrev "Benson Margulies" : >> There is exactly one java source file, for a public class, in the >> package cited below. There are no exclusions set up. Anyone have a >> clue? >> >> INFO] [

javadoc plugin claims no sources, but there's one ...

2011-08-18 Thread Benson Margulies
There is exactly one java source file, for a public class, in the package cited below. There are no exclusions set up. Anyone have a clue? INFO] [javadoc:javadoc {execution: default-cli}] [INFO] 1 error 1 warning [INFO] [ERRO

Re: site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Benson Margulies
done in Doxia Sitetool: see [1]. >> > > >> > > Notice that I expact to continue to improve it in next m-site-p >> > > version, since there is room for improvement: see [2]. >> > > >> > > Regards, >> > > >> > > Hervé >>

Re: site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Benson Margulies
> > > [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- > model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDecorationModelInheritanceAssembler.html#215 > > [2] http://jira.codehaus.org/browse/MSITE-582 > > Le mercredi 17 août 2011, Benso

Re: site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Benson Margulies
> Hervé > > > [1] http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration- > model/xref/org/apache/maven/doxia/site/decoration/inheritance/DefaultDecorationModelInheritanceAssembler.html#215 > > [2] http://jira.codehaus.org/browse/MSITE-582 > > Le mercredi 17 ao

site plugin: automatic breadcrumbs for modules or not?

2011-08-17 Thread Benson Margulies
I am confused about breadcrumb inheritance. If a project-with-modules specifies breadcrumbs, and its children do not, they don't see to get a breadcrumb up to their parent. Should they? - To unsubscribe, e-mail: users-unsubscr...@

site.xml and breadcrumbs

2011-08-17 Thread Benson Margulies
One might imagine that this page: http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html would tell me how to get the breadcrumbs across the top that are visible on, well, this page. I can't find it. Am I missing something obvious? ---

Re: Getting strange error in compilation

2011-07-31 Thread Benson Margulies
What do you get from: find `/usr/libexec/java_home`/.. -name "classes.jar" -print ? I get: /Library/Java/JavaVirtualMachines/1.6.0_26-b03-384.jdk/Contents/Home/../Classes/classes.jar On Sun, Jul 31, 2011 at 7:55 PM, Barrie Treloar wrote: > On Mon, Aug 1, 2011 at 9:14 AM, Kathryn Huxtable

Re: latest snapshot not downloaded

2011-07-31 Thread Benson Margulies
I believe that this is a known issue with a fix already committed for the next release. I don't personally know a work-around. On Sun, Jul 31, 2011 at 3:23 PM, Brian Parker wrote: > Sorry, forgot to mention I'm using maven 3.0.3, on Mac. > > Brian > > On Sun, Jul 31, 2011 at 2:14 PM, Brian Parker

Re: Upgraded to Maven 3 - now the "clean" goal deletes entire module directories?

2011-07-31 Thread Benson Margulies
" a digital Ouroboros of disaster" -- that made my day. On Sun, Jul 31, 2011 at 11:03 AM, Jesse Farinacci wrote: > Greetings, > > On Sun, Jul 31, 2011 at 10:53 AM, Hugi Thordarson wrote: >> You inspired me to do quick search for "outputDirectory" in all the POMs and >> I found this little bugge

Re: clarification on activeByDefault

2011-07-29 Thread Benson Margulies
tings.xml you need > to use activeprofiles > > On 29 July 2011 13:01, Benson Margulies wrote: >> http://maven.apache.org/guides/introduction/introduction-to-profiles.html >> >> Is this trying to tell me that in settings.xml is >> unconditional, since it settings.x

clarification on activeByDefault

2011-07-29 Thread Benson Margulies
http://maven.apache.org/guides/introduction/introduction-to-profiles.html Is this trying to tell me that in settings.xml is unconditional, since it settings.xml isn't 'a pom' and so no other profile 'in the same pom' can be active?

Re: release plugin tagging with -SNAPSHOT

2011-07-28 Thread Benson Margulies
http://jira.codehaus.org/browse/MRELEASE-697 On Thu, Jul 28, 2011 at 2:30 AM, Barrie Treloar wrote: > On Thu, Jul 28, 2011 at 1:46 PM, Benson Margulies > wrote: >> Never mind this here, I isolated this to 2.2 and made a JIRA. > > Can you post the Jira so I can look at

Re: release plugin tagging with -SNAPSHOT

2011-07-27 Thread Benson Margulies
Never mind this here, I isolated this to 2.2 and made a JIRA. On Wed, Jul 27, 2011 at 11:59 PM, Benson Margulies wrote: > Here's some dialog with release:prepare > > [INFO] Checking dependencies and plugins for snapshots ... > What is the release version for "Parent

release plugin tagging with -SNAPSHOT

2011-07-27 Thread Benson Margulies
Here's some dialog with release:prepare [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "Parent POM for the Juggernaut components"? (com.basistech.jug:jug-parent) 57: : What is SCM release tag or label for "Parent POM for the Juggernaut components"? (com.

Re: Maven dependencies

2011-07-26 Thread Benson Margulies
Um, isn't this the job of http://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createDependencyReducedPom? Shouldn't the shaded artifact's pom (as classified or as replacing the main artifact) not call out all the transitive deps? On Tue, Jul 26, 2011 at 7:41 PM, Kalle Korhonen wrot

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Benson Margulies
ects uses this as a parent, and pulls in all the plugin dep >>> >> versions defined in it (or overrides in project pom if necessary). >>>  Seems >>> >> that would be simplest solution >>> >>> Since these projects are unrelated, they can't be glued together

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-25 Thread Benson Margulies
I don't know about plugin-registry.xml, but you can distribute a settings.xml for use with -gs that has an active-by-default profile with a pluginManagement section that does the job. On Mon, Jul 25, 2011 at 3:02 AM, Kasun Gajasinghe wrote: > Hi, > I have a requirement where I need to specify spe

<    1   2   3   4   5   6   7   8   >