Re: Developing maven plugin. How can I manage artifacts?

2010-03-01 Thread Wendy Smoak
On Mon, Mar 1, 2010 at 6:02 AM, boraldo wrote: > > Please tell about all known ways. I will choose then. You already said that existing plugins don't satisfy your requirements. Which ones are those, and why? With that info, perhaps someone here can point out an alternative. -- Wendy

Re: Expand environment variable in parent's

2010-02-26 Thread Wendy Smoak
2010/2/26 Gajo Csaba : > I would like to use an environment variable to define the parent project. So > I wrote that it's version is > >  ... > ${env.VERSION_NUMBER} > In short, you can't do that. Take a look at http://jira.codehaus.org/browse/MNG-2569 and the linked issues, as well as previou

Re: verifying artifact on deployment

2010-02-25 Thread Wendy Smoak
On Thu, Feb 25, 2010 at 8:10 AM, Marc Lustig wrote: > we had a number of cases when the artifact in our central-repo > (Archiva-based) was not consistent with the corresponding hash. You can configure the checksum policy to fail when Maven _downloads_ an artifact if the checksum doesn't match. I

Re: General question about remote deploy

2010-02-09 Thread Wendy Smoak
On Tue, Feb 9, 2010 at 12:26 PM, T N N A C wrote: > Which are the options to do a remote deploy in JBoss with Maven? > Can I do a remote hard deploy? Take a look at the Cargo plugin to see if it supports what you need. If not, there might be a plugin specific to JBoss. -- Wendy --

Re: Maven Archetype 1.0 to 2.0 variations question on CLI interactive prompt

2010-02-08 Thread Wendy Smoak
On Fri, Feb 5, 2010 at 10:14 PM, Matthew McCullough wrote: > > I spoke with Wendy on IRC today about fixing some archetypes, but there were > some more questions lingering.  I'm aiming to fix a few things in the "core" > apache archetypes... Since you're talking about fixing things and about the

Re: Code Coverage for integration tests

2010-01-27 Thread Wendy Smoak
On Wed, Jan 27, 2010 at 10:07 AM, Douglas Ferguson wrote: > Is there anyway to get code coverage numbers for integration tests? I'm sure it's technically possible, but as far as I know, no one has done it yet with Maven. It's definitely on my list of things I'd like to see! Let us know if you

Re: Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Wendy Smoak
On Wed, Jan 27, 2010 at 7:16 AM, Markku Saarela wrote: > org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not > match, so our Artifactory reject it's download. > > So where can i get original jar file? I wouldn't assume the jar is wrong without verifying the gpg signature.

Re: Dependency plugin strange behavior

2010-01-26 Thread Wendy Smoak
On Tue, Jan 26, 2010 at 9:29 AM, Thiago Moreira (timba) wrote: >  For the copy-dependencies execution it works fine but for the unpack > execution it claims that cannot revolve the dependency > net.sourceforge.floggy:floggy-persistence-weaver BUT this dependency is > declared at dependencies secti

Re: Multi-project organization

2010-01-24 Thread Wendy Smoak
On Sun, Jan 24, 2010 at 2:55 PM, Josh Stone wrote: > Since any given project could be built locally from source or from jars, do > I need two poms for each project, one to serve as a "build" pom and one to > reference jars? No, you don't need two poms. What do you mean by building from source o

Re: Always active profiles

2010-01-15 Thread Wendy Smoak
On Fri, Jan 15, 2010 at 7:58 AM, Mark Hobson wrote: > But dropping the activation block means that it won't be implicitly > activated? True. I shouldn't answer questions early in the morning. :) -- Wendy - To unsubscribe, e-

Re: Always active profiles

2010-01-15 Thread Wendy Smoak
On Thu, Jan 14, 2010 at 4:04 AM, Mark Hobson wrote: > Hi there, > > Is there a better way of always activating a profile, unless > explicitly deactivated, than using a dummy property activator?  For > example: > >         >                 >                        !dummy >                 >      

Re: Always active profiles

2010-01-14 Thread Wendy Smoak
On Thu, Jan 14, 2010 at 1:44 PM, Kees van Dieren wrote: > Just curious: where do you need this for? If you want plugins / dependencies > always to be active, you could add them in the pom directly, then they don't > need to be in a profile. Couldn't you simply define them directly in the pom > ins

Re: Maven and AspectJ

2010-01-14 Thread Wendy Smoak
On Thu, Jan 14, 2010 at 11:56 AM, Kalle Korhonen wrote: > If you really want to go against the grain you can always hack Maven > as needed, but if you just refactored those into two different modules > it'd be all much simpler. By two different modules, do you mean the jar and war? We'd still ha

Maven and AspectJ

2010-01-12 Thread Wendy Smoak
A project team has a set of classes that need to be instrumented two different ways with AspectJ, one to work within a webapp and the second to work standalone. The classes are kept inside the webapp module, so processing them during the build to produce the war works okay. What's the best way to

Re: Limit number of snapshot version in my local reposotory

2009-12-30 Thread Wendy Smoak
On Wed, Dec 30, 2009 at 9:12 AM, langlois yan wrote: > Is it possible to limit the number of snapshot that are store in the local > repository for the same version ? I don't know of anything that does this for a developer's local repo, but there is some code in Continuum that takes care of it f

Re: I have to include a jar file in a deliverable

2009-12-26 Thread Wendy Smoak
On Sat, Dec 26, 2009 at 4:01 PM, kunduruswaroop wrote: > How to include a jar file in an application jar file I did read many > documents and did not find anything. Let say fir example: > > I am delivering a application xyz.war and that depends on classes12.zip file > at run time. I wanted to inc

Re: Unable to download artifact from repository

2009-12-21 Thread Wendy Smoak
On Mon, Dec 21, 2009 at 2:46 AM, amaresh mourya wrote: > I ran the org.apache.maven.project.MavenProject build() method from > DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build > Maven Project for maven-artifact, but since it is derived from > org.apache.maven:maven:2.2.0 's

Re: [SURVEY] Which plugins would you like us to release?

2009-12-18 Thread Wendy Smoak
On Fri, Dec 18, 2009 at 2:15 PM, Dennis Lundberg wrote: > Please have a look in JIRA before taking the survey. Look at the "Road > Map" tab for each plugin and look at the issues solved for the next > release. If you see *solved* issues there that you need to have > released, then do vote for that

Re: How do you include classes from a WAR as a dependency?

2009-12-01 Thread Wendy Smoak
On Tue, Dec 1, 2009 at 8:10 AM, laredotornado wrote: > I'm using Maven 2.2.  I think I read somewhere that you cannot have a WAR as > a dependency because maven doesn't know how to read the WEB-INF/classes > directory. This isn't Maven related, it's a Java thing. Try compiling code at the comma

Re: exclude jar. SOS i cannot make it

2009-11-29 Thread Wendy Smoak
On Sun, Nov 29, 2009 at 2:24 PM, Koxkorrita wrote: > i must to exclude from my war file (webservice) the spring.jar file > for this purpose i make this: ... >                         >                             org.springframework >                             spring-core >                    

Re: Prevent a plugin executing for each module in a multi-module build

2009-11-27 Thread Wendy Smoak
On Fri, Nov 27, 2009 at 1:10 PM, Pankaj Tandon wrote: > One way, I know to achieve this is to configure the site plug-in in each > child project with an inherited=false. But that is a bit crummy. What happens if you configure inherited=false in the parent? -- Wendy ---

Re: Excluding repositories

2009-11-21 Thread Wendy Smoak
2009/11/20 Gajo Csaba : > One of the dependencies is trying to access a repository at > download.java.net, and this site is blocked by our firewall. Is there a way > to tell Maven to skip this repository? Either in settings.xml or pom.xml Best is to use an internal repository manager like Archiva

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread Wendy Smoak
On Fri, Nov 20, 2009 at 2:26 PM, chicagopooldude wrote: > Thanks Brian but home i see downloading downloading every time i do some > thing as this is not the first time i am doing this. is there any way we can > disable this atleast visually? Paste a small section of the build log so someone can

Re: File system repo

2009-11-10 Thread Wendy Smoak
On Tue, Nov 10, 2009 at 3:34 PM, monkeyden wrote: > These are simply directories in my maven project.  They are > created manually and they each contain a jar file and a pom file.  If this > isn't possible then what is a file system repository, if anything?  Is it > just the local maven repo (in

Re: File system repo

2009-11-10 Thread Wendy Smoak
On Tue, Nov 10, 2009 at 12:01 PM, monkeyden wrote: > Right, it only refers to the default local maven repo, not this local one. As Anders pointed out, you have exactly one "local" repository, usually in ~/.m2/repository (though it can be moved.) This repo you're trying to create in the 'lib' di

Re: File system repo

2009-11-09 Thread Wendy Smoak
On Mon, Nov 9, 2009 at 12:00 PM, monkeyden wrote: > I have several projects which can't be converted over to maven right now, > mostly because of time constraints.  The artifacts of these projects will be > used in a maven project.  I'd prefer not to install them into my repository, > so I am try

Re: Some maven questions

2009-10-30 Thread Wendy Smoak
On Fri, Oct 30, 2009 at 3:29 PM, Sony Antony wrote: > Im fairly new to maven. > Tried getting answers to these from books and google. Trying my luch here You'll probably get better answers if you start a separate thread with a descriptive subject for each of your questions. -- Wendy --

Re: Activating a profile based on the deactivation of other profiles

2009-10-28 Thread Wendy Smoak
On Wed, Oct 28, 2009 at 5:11 AM, Ricky Clarkson wrote: > So my question is; how can I make it so that development-brand is > activated only if none of the other brands are? You're on the right track by activating the default profile on the *absence* of a property with the !. Now, stop using -P

Re: Having errors, don't know how to fix it

2009-10-25 Thread Wendy Smoak
On Sun, Oct 25, 2009 at 1:34 PM, canadatom wrote: > Sat Oct 24 12:07:44 EDT 2009 > Plug-in 'org.maven.ide.eclipse.refactoring' contributed an invalid Menu > Extension (Path: 'org.eclipse.jdt.ui.refactoring.menu' is invalid): > org.maven.ide.eclipse.editor.RenamePomAction In order for anyone to he

Re: order of builds in assembly plugin

2009-10-21 Thread Wendy Smoak
On Wed, Oct 21, 2009 at 3:52 PM, Radim Kolar wrote: > > is there way to change order of builds in assembly plugin? i need to build > jar-with-dependencies first, > descriptor zip.xml second (depends on jar-with-deps). I would probably put them in separate modules with proper so Maven will do the

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Wendy Smoak
On Fri, Oct 16, 2009 at 11:15 AM, Rob Slifka wrote: > I'm working on wrapping my head around setting up an internal "blessed" > repository and being assured that Maven will fail when a dependency is not > found there. > > (1) Clear my local repo. > (2) Run Maven through our lifecycle (clean, compi

Re: Building a project that includes scripts

2009-10-15 Thread Wendy Smoak
On Thu, Oct 15, 2009 at 10:35 AM, Sean Davis wrote: > Sorry for the naive question.  I'm using maven2 in eclipse and now have a > project that includes a script folder that has shell scripts for common java > -cp . command-line interactions.  I would like to build a project that > has a lib fo

Re: Frustration with snapshot updates

2009-10-03 Thread Wendy Smoak
On Sat, Oct 3, 2009 at 9:34 AM, Quintin Beukes wrote: > It's not helping. > > This is in my settings.xml: >     >      disable-snapshots >       >         >          java.net >          http://download.java.net/maven/1 >           >            false >            never It shouldn't be checking thi

Re: Frustration with snapshot updates

2009-10-02 Thread Wendy Smoak
On Fri, Oct 2, 2009 at 11:55 AM, Quintin Beukes wrote: > And it's definitely required dependencies. It's getting bad, because > as the project grows, they get more, and I wait about 40 seconds now > just for the downloads to fail, so my build can complete. Did you try Jason's suggestion and chan

Re: C# compiler / plexus-compiler-csharp

2009-09-19 Thread Wendy Smoak
On Sat, Sep 19, 2009 at 4:26 PM, Hilco Wijbenga wrote: > I've got some Java code and some C# code (the latter currently in > src/main/csharp but I've also tried src/main/cs). I can't get the C# > code to compile. Mvn -X seems to indicate that the compiler plugin is > still looking in src/main/jav

Re: maven projects which release installers?

2009-09-18 Thread Wendy Smoak
On Thu, Sep 17, 2009 at 1:23 PM, James Russo wrote: >   Does anyone know of a public project which uses maven and releases a > windows installable artifact like a NSIS, exe, MSI, etc. Looking for some > inspiration and prior art. The Codeplex NPanday project (essentially Maven for .NET) can buil

Re: why do my emails keep getting bounced back?

2009-09-15 Thread Wendy Smoak
The ASF employs filters to keep spam off the mailing lists, and something in the message is triggering them. Probably multiple somethings, that individually might be okay, but in combination are pushing the score over the limit. Forward the bounce to the list owner, which should reach a human, an

Re: Maven 3.0 Model Builder Build Failure

2009-09-12 Thread Wendy Smoak
On Sat, Sep 12, 2009 at 6:23 PM, Martin Gainty wrote: > Any idea what causes the fail? Probably best to ask on the dev list if you're trying to build from source or using unreleased stuff. -- Wendy - To unsubscribe, e-mail: u

Deprecating and banning artifacts with repository metadata

2009-09-10 Thread Wendy Smoak
A group I work with had a requirement to be able to deprecate and ban old versions of their artifacts. The dev team is very large and simply sending out an email telling everyone not to use version 1.0 of some artifact won't work. The team needed a way to warn and/or enforce that the old version

Re: Securing deployment of released artifacts

2009-09-08 Thread Wendy Smoak
On Tue, Sep 8, 2009 at 6:17 AM, Arnaud Bailly wrote: > I would like to ensure it is impossible to upload twice the same > artifact for a given project with a given non-SNAPSHOT version and a > given repository to upload to. I checked with standard deploy plugin but > this is not done (ie. I can upl

Re: Getting a jar from a repo directly to an assembly?

2009-09-04 Thread Wendy Smoak
On Fri, Sep 4, 2009 at 12:02 PM, Jim Collings wrote: > Is there any way to do this? The jar in question is not part of my > build but is part of my assembly as it needs to be installed into the > web container by the installation script. > I've had one suggestion so far that I should create a separ

Re: Assemblies - add driver jar to assembly archive

2009-08-30 Thread Wendy Smoak
On Sun, Aug 30, 2009 at 1:23 PM, Jim Collings wrote: > So my container requires a jdbc driver for a resource and we are doing a > scripted install of our war file.  I need the jar but I need it outside > the war file and inside the assembly zip file so that my installation > script can put it in th

Re: Maven compiler plugin adds unnecessary dependent classes to output folder

2009-08-30 Thread Wendy Smoak
On Sun, Aug 30, 2009 at 1:15 PM, Andrey Razumovsky wrote: > I've got a project with e.g. jar packaging. All my dependencies have > "provided" scope. My problem is that Maven compiler plugin adds unnecessary > classes from dependent library to output folder - e.g. if I have a class > mypack.MyServl

Re: Need a separate jar from war in assembly

2009-08-28 Thread Wendy Smoak
Yes, it's common to have the code in a separate module from the webapp. It makes it easier to do unit testing of the code separately from integration testing the webapp. I'm not sure how that relates to your original question though. I see the jar module and the war module... where is the assemb

Re: Need a separate jar from war in assembly

2009-08-28 Thread Wendy Smoak
On Fri, Aug 28, 2009 at 1:06 PM, Jim Collings wrote: > So I have a jar that needs to be in an assembly but not in the war > file. It's a jdbc driver for the appserver. > How can I get it into the compressed archive but outside of the *.war file? How is your project structured now? Are you trying

Re: How to use alternative version numbering scheme

2009-08-18 Thread Wendy Smoak
On Tue, Aug 18, 2009 at 7:46 PM, Ed Hillmann wrote: > The existing version number rule uses a four-part number: Version>... > An example, 6.01.11.01, or 5.01.00.00 > > So, this won't work in the default Maven numbering scheme for versions. Have you tried it? We use a four part version for the .N

Re: Package Parent Project as a Jar

2009-08-17 Thread Wendy Smoak
On Mon, Aug 17, 2009 at 7:04 AM, Skinner Chad wrote: > I have a project called widgets that currently is a parent pom for a number > of modules that are individual custom gwt widgets. Can anyone tell me if it > is possible to have this project built as a jar that includes the exploded > contents of

Re: Package Parent Project as a Jar

2009-08-17 Thread Wendy Smoak
On Mon, Aug 17, 2009 at 7:04 AM, Skinner Chad wrote: > I have a project called widgets that currently is a parent pom for a number > of modules that are individual custom gwt widgets. Can anyone tell me if it > is possible to have this project built as a jar that includes the exploded > contents of

Re: Downloads link doesn't work

2009-08-17 Thread Wendy Smoak
On Mon, Aug 17, 2009 at 5:20 AM, Martijn Dashorst wrote: > The page http://maven.apache.org/download.html provides links to the > mirroring system, but it seems to be configured wrongly. ... > I'm using safari 4.0.2 Can you try a different browser? I believe it's a known issue with Safari. For e

Re: "disclaimer of warranty" license issue with artifact downloads?

2009-08-13 Thread Wendy Smoak
On Thu, Aug 13, 2009 at 4:06 PM, Jeff Jensen wrote: > For vendors that have software downloads (freely available to anyone) from > their website with a click-through "disclaimer of warranty" that there is no > intended warranty covering the use of the product, how do we provide similar > "legal com

Re: maven deploy plugin

2009-08-12 Thread Wendy Smoak
On Wed, Aug 12, 2009 at 2:30 PM, huser wrote: > Here is what I added in the maven goal. > > -e deploy:deploy-file -Dfile=pom.xml > -Durl=http://abc001.na.abcglobal.com:8081/nexus/content/repositories/releases > -DrepositoryId=releases -DgroupId=com.abc.t3 -DartifactId=t3 -Dversion=1.1 > -Dpackagin

Re: Wix

2009-08-07 Thread Wendy Smoak
On Mon, Mar 12, 2007 at 12:23 PM, Libby, Cynthia wrote: > Anyone using Maven and Wix to create install packages? This is an old post, but for the benefit of the archives... I'm working on a WiX plugin for NPanday (continuation of NMaven) at CodePlex and would welcome help from anyone else who's i

Re: Atomic multi-module deploy?

2009-07-16 Thread Wendy Smoak
On Thu, Jul 16, 2009 at 1:14 PM, David Hoffer wrote: > Is there a way to configure maven to deploy only if all artifacts in a > multi-module build are successful?  Currently, it seems each is deployed as > they are processed by the reactor.  The lack of atomic deploy is causing bad > builds by cons

Re: Is there a way to run a program (a trigger) before packaging a program?

2009-07-01 Thread Wendy Smoak
On Wed, Jul 1, 2009 at 11:37 AM, JavaGeek wrote: > I wrote a maven plugin.  I want to run a program that writes a file in the > plugin's source code before the plugin is packaged. ... before the *project* is packaged, I assume? > How can I do that? Make your plugin execute in a phase that prece

Re: custom deployment cycle

2009-07-01 Thread Wendy Smoak
On Wed, Jul 1, 2009 at 7:16 AM, olip wrote: > Thanks Wendy, > Can you give me an example what do you mean by "attached" goals in my > assembly plugin configuration. Sorry but I am a total newbie. See http://maven.apache.org/plugins/maven-assembly-plugin/usage.html and scroll down to Building an A

Re: custom deployment cycle

2009-07-01 Thread Wendy Smoak
On Wed, Jul 1, 2009 at 6:58 AM, olip wrote: > I can do this by typing: > four commands on the command line: > mvn install > mvn assembly:assembly > mvn site > mvn deploy You should be able to get it down to "mvn site deploy" if you change your assembly plugin configuration to one of the 'attached

Re: Adding Dependency of other Child Project

2009-06-26 Thread Wendy Smoak
On Fri, Jun 26, 2009 at 1:40 AM, n000b wrote: > Thanks for your reply Wendy. I did try the same, but maven cannot resolve the > artifact. Do I need to install the artifact somewhere (we are using an > archiva online repository, but I would prefer to have the artifact installed > to some local dire

Re: buildnumber-maven-plugin question

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 8:14 AM, David Hoffer wrote: > I think this is because our build agents do an export instead of a checkout > because its much faster.  How can I get this plugin to work with export? I think the buld number plugin works off the result of 'svn info' and as the error points o

Re: Adding Dependency of other Child Project

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 7:51 AM, n000b wrote: > How can I > let the Child B to know that the Child A has been build & the jar is added > to the class path while building the Child B project. I think you answered it in your subject line. :) Add a dependency in B's pom: my.group A ${projec

Re: how to generally skip pre and post-integration test phase

2009-06-25 Thread Wendy Smoak
On Thu, Jun 25, 2009 at 7:41 AM, aldana wrote: > I am controlling running integration-tests by setting a property > skip.integration.test (easier as setting up an integration test profile). > > problem is that I also want to skip the pre-integration and post-integration > phase for that (jetty sta

Re: dependency version in a property

2009-06-17 Thread Wendy Smoak
On Wed, Jun 17, 2009 at 5:06 PM, EJ Ciramella wrote: > I want the other way around :-) > > I have a tag and a dependency listed in there > (all in a parent pom). > > Then, in a child module, I need the version of a dependency so I can put > that version info INTO a shell script. Put it in a prope

Re: Plugin / Tool for local repository

2009-06-16 Thread Wendy Smoak
On Mon, Jun 15, 2009 at 11:38 AM, Mohan KR wrote: > same here, interested in any updates on the plugin from the discussion > below. Don't want to whip out another one > if it already exists. The code definitely exists -- Apache Continuum has a feature that purges the local repo used for builds: ht

Re: unreachable maven-xdoc-plugin sites ..

2009-06-10 Thread Wendy Smoak
On Wed, Jun 10, 2009 at 1:48 PM, Martin Gainty wrote: > for some reason the usual repositories dont have xdoc plugin??? > for maven 2 > http://repo1.maven.org/maven2/org/apache/maven/plugins What are you trying to accomplish? There is no xdoc plugin for Maven 2. Use the site plugin. > for mave

Re: unreachable maven-xdoc-plugin sites ..

2009-06-10 Thread Wendy Smoak
2009/6/10 Martin Gainty : > assuming the xdoc-plugin is where its supposed to be > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-xd= > oc-plugin-1.9.2.jar > none of the maven-xdoc-plugin-1.9.2.jar sites are reachable > what happened? The ASF Maven repo ('java-repository

Re: How to create many jars in package phase?

2009-05-20 Thread Wendy Smoak
On Wed, May 20, 2009 at 5:46 PM, Jesfre wrote: > I want to generate more than one .jar when executing >mvn package in a > module named common, this is necesary because many modules of the parent > project use diferent packages of the common module, so, I need to create > many .jars with diferent

Re: Release plugin checking remote dependencies for modules

2009-05-18 Thread Wendy Smoak
On Mon, May 18, 2009 at 6:07 AM, Danilo Tuler wrote: > I use archiva and have a lot of remote repositories, and because of > that the release takes an hour or so. You can speed this up by creating a repository group [virtual repository] and configuring Maven to only use the one url. -- Wendy

Re: Undocumented Feature: Usage of negation for profile activation

2009-05-08 Thread Wendy Smoak
On Fri, May 8, 2009 at 6:59 AM, TM wrote: > > Hello, > > I just found a---to my best knowledge---undocumented feature and though I > should share it with the community in the hope that it will made its way > into the Maven documentation. > > The feature is that you can use the negation symbol "!"

Re: include jars from a folder

2009-05-07 Thread Wendy Smoak
On Thu, May 7, 2009 at 9:55 AM, fachhoch wrote: > > I need it both for compile and runtime please suggest me how i can do this > with ant run ? If you need the jars to compile, then they need to be listed as dependencies. The repository and dependency management are big parts of Maven, it simply

Re: maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 1:15 PM, Fernando Wermus wrote: > I got 'maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.' > message running > mvn install > I am a bit confuse because I haven't changed anything since las time I use > it. This is my setup and I tested it with maven 2.0.9.  I

Re: include jars from a folder

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 1:00 PM, tubin gen wrote: > I have some of the jar files modified and kept them under folder ext-lib, > there jars files are needed  by my application, can I tell maven to include > jars from this folder   into the war file ? > my pom right now uses scope system and systempa

Re: perform 'site' with 'package'

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 10:28 AM, REMIJAN, MICHAEL J [AG/1000] wrote: > When 'mvn package' is run, is there a way to also automatically run 'site' > too?  Is this something which can be configured?? To get the same effect, you could look at the goals that are bound in the site lifecycle and bind

Maven and Blaze Advisor?

2009-05-05 Thread Wendy Smoak
Is anyone doing anything with Maven and Blaze Advisor? (The company used to be Fair Isaac, now it's FICO.) http://www.fico.com/en/Products/DMTools/Pages/FICO-Blaze-Advisor-System.aspx I'm not that familiar with it, but apparently there is some build time processing to be done, and I just wondere

Re: 2 modules with same source

2009-05-03 Thread Wendy Smoak
On Sun, May 3, 2009 at 10:54 AM, wrote: > I have 2 web modules in my ear. but there isn only 1 set of src files i need > to maintain. > As far as the logic for maintainging 2 modules,its more from a business > reqment. > > So is it possible to maintain src files in module and utilize the same

Re: Why is source jar deployed twice during release?

2009-05-01 Thread Wendy Smoak
On Fri, May 1, 2009 at 3:24 PM, David Hoffer wrote: > I had actually neglected to specify the release plugin in my pom so I > understand the super pom's version and config(none) will be used. ... > I don't know what a 'release' profile is, can you explain? The super pom includes a release profile

Re: Why is source jar deployed twice during release?

2009-05-01 Thread Wendy Smoak
On Fri, May 1, 2009 at 2:30 PM, David Hoffer wrote: > Why would the release plugin try to deploy a sources jar twice?  It fails > the second time of course.  Here is my pom... What did you type, and how do you have the release plugin configured? My guess is that the 'release' profile is enabled,

Re: Version Number Inheritance

2009-04-29 Thread Wendy Smoak
On Wed, Apr 29, 2009 at 7:39 PM, Grant Rettke wrote: > On Wed, Apr 29, 2009 at 2:58 PM, Nick Stolwijk > wrote: >> Just put the version number in the parent and have the child poms >> refer to the version. > > When you omit the version in a child module, it inherits that of the > parent, right?

Re: how to not deploy sources.jar to artifactory

2009-04-29 Thread Wendy Smoak
On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody wrote: > I know I read this (on someones blog I think) but did not realise I would > need to care until recently and now I cant find how to do this. > > The requirement is to not deploy sources.jar to the artifactory when > we do mvn release:perform Do

Re: Version Number Inheritance

2009-04-29 Thread Wendy Smoak
On Wed, Apr 29, 2009 at 12:53 PM, Jeffrey N Hagelberg wrote: > I guess my first question is whether anyone has been able to to successfully > get a child project to inherit the version of its parent project and if so, > how they made it work.  What we have defined is a little wierd, since we're >

Re: Including Javadocs (API) with project website

2009-04-27 Thread Wendy Smoak
On Mon, Apr 27, 2009 at 4:35 PM, REMIJAN, MICHAEL J [AG/1000] wrote: > Two part question, > > 1) is it possible for 'mvn site' to automatically generate javadocs or > do I always have to do javadoc:javadoc before running 'mvn site' Put it in the section, as described on http://maven.apache.org/p

Re: pom does not get installed, if classifier used

2009-04-23 Thread Wendy Smoak
On Wed, Apr 22, 2009 at 2:03 AM, Niklas Grossmann wrote: > Hi All, > > when I do a 'mvn install' and the maven jar/ejb plugin is configured to use a > classifier e.g. > ... > only the .jar file gets installed in the local repository. If I don't use a > classifier the pom gets installed alongside

Re: JDO api's 1.3 in central.

2009-04-17 Thread Wendy Smoak
On Fri, Apr 17, 2009 at 12:53 PM, Christian Edward Gruber wrote: > Hi.  I'm not sure where to find this, but whoever's maintaining javax.jdo > has uploaded this:  javax.jdo:jdo2-api:jar:2.3-20090302111651 > > There are two problems - firstly, it doesn't have CRC/hash files.  Secondly, > it looks l

Re: Missing document introduction-to-the-pom.html

2009-04-17 Thread Wendy Smoak
On Fri, Apr 17, 2009 at 12:48 PM, Jim McCaskey wrote: > Not sure who runs the web site, but for some reason I can't get here: > http://maven.apache.org/guides/introduction/introduction-to-the-pom.html > I can navigate around to most other places FWIW. Strange. For me it's not 404, but the page i

Re: Maven 2.1.0 site issue

2009-04-16 Thread Wendy Smoak
On Thu, Apr 16, 2009 at 8:57 AM, Morgovsky, Alexander (US - Glen Mills) wrote: > Hi, actually, all these commands worked without error. Okay, then try adding things to this pom one at a time to make it look like your own project, and see when 'mvn site' stops working. -- Wendy

Re: Maven 2.1.0 site issue

2009-04-15 Thread Wendy Smoak
On Wed, Apr 15, 2009 at 9:08 PM, Morgovsky, Alexander (US - Glen Mills) wrote: > I have Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400). > > My error is listed below.  Any advise would be greatly appreciated. While it shouldn't be throwing uninformative NPE's, you're not giving us much to

Re: Site deploy to local directory

2009-04-10 Thread Wendy Smoak
On Fri, Apr 10, 2009 at 4:06 PM, David Hoffer wrote: > Yes file:///tmp/website would work but not for the child modules; its in the > child that I have the issue. It should work, and you shouldn't have to specify a site url in each child module. For example the site at [1] comes from the pom [2]

Re: Site deploy to local directory

2009-04-10 Thread Wendy Smoak
On Fri, Apr 10, 2009 at 9:41 AM, David Hoffer wrote: > Can someone help with a simple site plugin question? > > I am just trying to build a site of a multi-module project and want to > publish it to my local hard drive.  Here is my pom. > > > >                org.apache.maven.plugins >          

Re: Site deploy to local directory

2009-04-10 Thread Wendy Smoak
On Fri, Apr 10, 2009 at 12:29 PM, David Hoffer wrote: > That's what it was...anybody know a better way to get the parent build dir > than > > ${project.build.directory}/../../target/ Why? Normally you share things through the repository. -- Wendy --

Re: Integration testing best practices

2009-04-08 Thread Wendy Smoak
On Wed, Apr 8, 2009 at 10:22 AM, Jason Voegele wrote: > I'm interested in knowing the current thinking on best practices for > integration testing in Maven projects.  I did find a few articles on the Web > that discuss this issue, but they all are a bit old now.  The most relevant > article appear

Re: create a jar file and then call java class from created jar

2009-04-03 Thread Wendy Smoak
On Fri, Apr 3, 2009 at 7:12 AM, Reddem, Polireddy wrote: > Hi, > I am not able to  make pom.xml  to  run  maven jar and then maven exec: > java goals. Paste a snippet from your pom that's not working, and someone can probably help you fix it. My guess is that you need to bind the execution of 'e

Re: Senior Release Engineer Opportunity in Boston

2009-03-30 Thread Wendy Smoak
On Mon, Mar 30, 2009 at 1:49 PM, durgaK wrote: > > Seek individual with... Please use j...@apache.org for job postings... you can find more info here: http://www.apachenews.org/archives/000465.html Thanks, -- Wendy - To unsub

Re: Automatically write scm info into pom

2009-03-23 Thread Wendy Smoak
On Mon, Mar 23, 2009 at 1:19 PM, Martin Eigenbrodt wrote: > I need to have an scm section within my pom for the release plugin to work. > Entering the data manual is cumbersome. My workingcopy is under svn contrll, > so > the correct information is already there (somewhere in .svn). Is there some

Re: Problem with resources not being packed by the package process

2009-03-19 Thread Wendy Smoak
On Thu, Mar 19, 2009 at 8:15 AM, eyalg1972 wrote: > Since the resources are under the src directory (mixed with the code)  I did > the following: > > Defined the resource directory to be: > > >        src >                 >           **/*.java >                   >                 >     > > A

Re: any way to leverage site documentation goal as a profile activation?

2009-03-16 Thread Wendy Smoak
On Mon, Mar 16, 2009 at 12:22 PM, Mick Knutson wrote: > I would like to have a specific profile activate when I run mvn *site* > > Is this possible? Is the underlying goal to have some plugins execute only in the site (or pre-site) phase? If not, what are you trying to do? If so, try binding th

Re: Install artifact during build

2009-03-16 Thread Wendy Smoak
On Mon, Mar 16, 2009 at 7:31 AM, Will Hoover wrote: > Is there a way to install an artifact based upon a path defined in pom? I > need to have a parent pom that installs a set of proprietary artifacts based > upon a path provided by a child pom...  Is there a way to do this? Are you trying to ins

Re: Failed to execute mvn findbugs:check

2009-03-15 Thread Wendy Smoak
On Sun, Mar 15, 2009 at 8:36 AM, dekely wrote: > Hi Wendy, > Thank you for your reply, I didn't notice  :-D > What is the date for 2.0 ? The plugin lives at Codehaus, so you'd have to (search the archives and then) ask on the mojo mailing list. Actually according to this thread it looks like th

Re: Failed to execute mvn findbugs:check

2009-03-15 Thread Wendy Smoak
On Sun, Mar 15, 2009 at 5:39 AM, dekely wrote: > When I execute mvn findbugs:check I get the following error: > "Required goal not found: findbugs:check in > org.codehaus.mojo:findbugs-maven-plugin:1.2" The docs for the 'check' goal say "since 2.0", so it isn't available in the version 1.2 that

Re: How can I force maven download dependency?

2009-03-14 Thread Wendy Smoak
On Tue, Mar 10, 2009 at 3:20 AM, Sahoo wrote: > Although this is a core assumption in maven, many people don't know this. > The question that I have is why does maven not try to protect itself from > human error? Should mvn-deploy not refuse to overwrite an artifact by > default? You might want

Re: Why distributionManagement doesn't work?

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 9:54 PM, youhaodeyi wrote: > Thanks it solves my problem. I can get the dependency. But when I run mvn > deploy command to deploy files, it will deploy the jar to the reposiroty not > the snapshotRepository. My project has the version "test-1.00-SNAPSHOTS". Remove the tra

Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 8:30 PM, Chris Stoughton wrote: > I have continuum installed, but I need to install a Maven2 build. > > 1.  Does continuum detect that there is a change in cvs? > 2.  Given that there is a change, what phase of maven does the cvs > checkout? Probably best to come join us o

Re: Why distributionManagement doesn't work?

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 8:26 PM, youhaodeyi wrote: > I have a dependency with a SNAPSHOT version, when I run mvn command, maven > will show that the dependency can't be found from the specified remote > repositories:  central (http://repo1.maven.org/maven2). I wander why it > searches http://repo

<    1   2   3   4   5   6   7   8   9   10   >