Re: Maven 2 inheritance which elements get inherited ?

2009-01-29 Thread kukudas
Thanks i did that too but the profiles were missing so i wanted to be sure and asked here. Thanks for your help. Jörg Schaible-2 wrote: Hi kuku, kukudas wrote at Mittwoch, 28. Januar 2009 15:20: Thanks, so when i activate a profile by using the command line (ex.: mvn clean install -P

How do i use maven in my development environment

2009-01-29 Thread MacMohan
Hi, i m new to maven and have been asked to set up new development environment in my office. Mine is a small office of 8-10 developers. Till now we have CVS on one of remote servers and app servers(TOMCAT 5.x) running on individual developer machine. we use Eclipse 3.3 as Java IDE. Al the

RE : RE : maven / osgi / repositories

2009-01-29 Thread Deneux, Christophe
In your OSGI bundle project, you will use the maven-assembly-plugin to generate your OSGI bundle artifact (artifactId-version-classifier.jar) with: - configuration of the Manifest to specify specific OSGI information: plugin artifactIdmaven-assembly-plugin/artifactId

Re: Problems with release:prepare on the resolution of a dependency with test classifier

2009-01-29 Thread Martin Höller
Sound's like a known issue: http://jira.codehaus.org/browse/SCM-406 hth, - martin On Wednesday 28 January 2009 Thiago Moreira (timba) wrote: Thank you Barrie! Now it is working fine BUT I'm getting a new error... [INFO] [release:prepare] [INFO] Resuming release from phase 'scm-tag' [INFO]

Re: How do i use maven in my development environment

2009-01-29 Thread Yves Dessertine
First, re-arrange your project like this : http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Then, you write your pom.xml (either look for examples, or let Maven generate your project with the command) : mvn archetype:generate Choose : 18: internal -

Re: RE : RE : maven / osgi / repositories

2009-01-29 Thread Henri Gomez
Good idea. Did you have sample pom.xml for study ? Thanks Christophe 2009/1/29 Deneux, Christophe christophe.den...@capgemini.com: In your OSGI bundle project, you will use the maven-assembly-plugin to generate your OSGI bundle artifact (artifactId-version-classifier.jar) with: -

Re: Maven Assemblies

2009-01-29 Thread Karl Heinz Marbaise
Hi David, Thanks for your help. I kept seeing the assembly file referenced, but nothing too much on where it should be. http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html) Isn't this enough ? Or do i misunderstand things ? There are two issues I

Re: m2eclipse CTRL-SHIFT-T Open Type dialog is missing

2009-01-29 Thread Mateusz Grzechociński
2009/1/28 Lincoln Baxter, III lincolnbax...@gmail.com: Hi Mavenites, When I install the m2eclipse plugin, version 0.9.6, my Open Type dialog box disappears. I can't bring it up with a shortcut. The menu item is gone. It's just missing. Is this intentional? I really rely on this dialog quite

Re: Archetype create v. generate

2009-01-29 Thread Hubert Iwaniuk
Hi Dave,create is deprecate, generate is a way to go. If you want it not interactive, read: http://maven.apache.org/plugins/maven-archetype-plugin/examples/generate-batch.html HTH, Hubert. On Tue, Jan 27, 2009 at 9:03 PM, Dave Newton newton.d...@yahoo.com wrote: Just a ping to see if

Re: m2eclipse CTRL-SHIFT-T Open Type dialog is missing

2009-01-29 Thread Lincoln Baxter, III
Thanks! You nailed it. For some reason the Maven plugin disabled my Perspective - Customize - Commands - Java Open Type option. Happier... --Lincoln On Thu, 2009-01-29 at 12:53 +0100, Mateusz Grzechociński wrote: 2009/1/28 Lincoln Baxter, III lincolnbax...@gmail.com: Hi Mavenites, When

Plugin calling shell script

2009-01-29 Thread Pankaj Tandon
Hello, I have written a plugin that uses Wagon to remotely execute a command on a remote machine. But now I find that instead of executing a simple unix command, I need to execute a whole shell script. So I created a shell script and placed it in src/main/resources, so that it correctly gets

Re: Plugin calling shell script

2009-01-29 Thread Gabriele Columbro
What about packaging another jar which holds your script (s) (e.g. mojo-scritps.jar) and add this in the specific plugin dependencies section, something like: plugin dependencies dependency artifactIdmojo-scripts.jar/artifactId /dependency /dependencies /plugin Would this solve your

Snapshots not being updated?

2009-01-29 Thread Tim
I have a SNAPSHOT artifact (foo.bar) who has a dependency of: dependency groupIdsaxon/groupId artifactIdsaxon/artifactId version9/version /dependency I changed the group for saxon (internal repo) and changed the SNAPSHOT to depend on dependency groupIdnet.sf/groupId

How to refer to SNAPSHOT timestamp from Web site

2009-01-29 Thread TM
Hello, I'm creating a project Web site using the Maven site plugin. The project is currently in a SNAPSHOT state, that is, the assembly that I create (and artifacts) have a timestamp suffix attached to their file name when the get deployed to some Maven repository. Assuming that the build

Re: Archetype create v. generate

2009-01-29 Thread Dave Newton
Hubert Iwaniuk wrote: Hi Dave,create is deprecate, generate is a way to go. If you want it not interactive, read: http://maven.apache.org/plugins/maven-archetype-plugin/examples/generate-batch.html HTH, It does--thanks much! Dave

nexus can't find maven-archetype-plugin?

2009-01-29 Thread Jens Rapp
hi, i'm playing around with nexus as repository manager and now have a little problem: the maven-archetype-plugin can't be found. most of the other plugins work maven uses the standard public repository group in nexus. what do i have to do for being able to use em all??? -- Pt! Schon

Re: maven / osgi / repositories

2009-01-29 Thread Jason van Zyl
On 27-Jan-09, at 6:41 PM, Barrie Treloar wrote: repositories. They might become OBRs at some point when OSGi becomes more mainstream. One thing I have been toying with for a while is to auto-magically extend maven-jar-plugin to add the OSGi headers. I really don't think this is a great

RE: Dependent jars not included in package

2009-01-29 Thread jude.prakash
I'm trying to include jars inside jars.. From: Morgovsky, Alexander (US - Glen Mills) [mailto:amorgov...@deloitte.com] Sent: Sunday, January 25, 2009 3:53 AM To: Jude Prakash (WT01 - Communication and Media) Cc: users@maven.apache.org Subject: Dependent jars not

Re: Maven Assemblies

2009-01-29 Thread David Weintraub
On Thu, Jan 29, 2009 at 5:37 AM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi David, Thanks for your help. I kept seeing the assembly file referenced, but nothing too much on where it should be.

Re: maven / osgi / repositories

2009-01-29 Thread Henri Gomez
One thing I have been toying with for a while is to auto-magically extend maven-jar-plugin to add the OSGi headers. I really don't think this is a great idea. I think for a bundle to be useful someone needs to provide proper imports and exports. Right, but it make took years ;( I haven't

Ecosystem Component Categories/Acronyms

2009-01-29 Thread lukewpatterson
What is a good generic term and acronym for Nexus? Would it be repository manager / rm What about repo browsers (viewvc, fisheye)? examples: source code management - scm continuous integration - ci issue management system - ims I'm trying to set up friendly URLs and dns redirects for use in

RE: maven / osgi / repositories

2009-01-29 Thread Edelson, Justin
I think what we can do is give a brief guideline as to what's commonly expected and help people create correct and useful bundles. Clearing up the version vs. classifier issue would be a good first step. From: Jason van Zyl [mailto:jvan...@sonatype.com]

Accessing release:prepare properties

2009-01-29 Thread Bill Simons
I'd like to run the release:prepare goal in batch mode and override the default scm tag name. Currently the default tag name seems to be ${artifactId}-${releaseVersion} where the releaseVersion is based on removing SNAPSHOT from the current project version. I would like to change the tag to

Accessing release:prepare properties

2009-01-29 Thread Bill Simons
I'd like to run the release:prepare goal in batch mode and override the default scm tag name. Currently the default tag name seems to be ${artifactId}-${releaseVersion} where the releaseVersion is based on removing SNAPSHOT from the current project version. I would like to change the tag to

RE: nexus can't find maven-archetype-plugin?

2009-01-29 Thread Brian E. Fox
Little hard to diagnose with that info. How is your settings.xml setup? What repos are in your group? What exactly is maven saying (log)? We have a nexus user list where your questions will be noticed quicker: http://nexus.sonatype.org/dev/mailing-lists.html -Original Message- From:

Problems with assembly

2009-01-29 Thread philion
Greetings, I am trying to use a top-level POM to assemble all the artifacts of several modules into a single assembly for delivery (exactly what the assembly plugin is for, I think). I've got it almost there, but I keep running into a strange problem: [WARNING] The following patterns were never

Re: maven / osgi / repositories

2009-01-29 Thread Barrie Treloar
On Wed, Jan 28, 2009 at 2:13 PM, Jason van Zyl jvan...@sonatype.com wrote: On 27-Jan-09, at 6:41 PM, Barrie Treloar wrote: repositories. They might become OBRs at some point when OSGi becomes more mainstream. One thing I have been toying with for a while is to auto-magically extend

maven eclipse work space resolution doesnot work

2009-01-29 Thread Shehan Simen
Hi all, I'm using eclipse maven (m2) plugin. I have a maven project which has a parent maven project and another maven project. But when I enable the work space resolution and run the project, I am getting a run time error that it cannot find the other dependent classes in other maven

Maven for the internet afraid

2009-01-29 Thread Merv Green
Asking this embarrasses me, but must be done. I work for a company where the internet terrifies Them. They want to use Maven, but they think it should never go online, so they want a locked down internal repository containing whatever artifacts some couple hundred developers might need. Can

Re: Maven for the internet afraid

2009-01-29 Thread Wendy Smoak
On Thu, Jan 29, 2009 at 9:27 PM, Merv Green paradeofh...@gmail.com wrote: Asking this embarrasses me, but must be done. I work for a company where the internet terrifies Them. They want to use Maven, but they think it should never go online, so they want a locked down internal repository

Looking for a workaround for MNG-3228 (activate inherited profile)

2009-01-29 Thread Stefan Fritz
Any idea? The main reason why we want to do this is to be able to have different types of projects. Each type has different pom settings which we want to maintain in a central place. At the moment we have a master pom per project type which limits us in combination with module builds as Maven