RE: deploying site generated files

2006-04-28 Thread Edelson, Justin
Just a guess, but 8080 is probably the web server port, not the SSH/SCP port, which is 22 by default. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:36 PM To: Maven Users List Subject: deploying site generated files I would like to mo

RE: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread Edelson, Justin
> Also just as a side note...I tried making the jar from scratch using just > the jar command and everything is fine. (But it'd still be really nice to > use mvn to do it instead...) I assum you're running jar on the contents of src/main/resources, which isn't what maven is doing. Take a look at t

RE: Developing a new packaging method

2006-05-23 Thread Edelson, Justin
This link was extrememly helpful in writing a new packaging method: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl e.html -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 2:39 PM To: users@maven.apache.org Subject: Deve

Status of Maven Changes Plugin website

2006-06-01 Thread Edelson, Justin
Does anyone know the status of the Maven Changes Plugin website at http://maven.apache.org/plugins/maven-changes-plugin/ ? The index pages seem to be half-there, the sample changes report is incomplete (missing the type images) and no RSS link, and some of the pages have the mojo branding and some

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Edelson, Justin
Depending on how much flexability you have to move files around, I would suggest moving these property and xml files to src/test/resources and removing the testResources block entirely. -Original Message- From: Martin Aspeli [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 10:39 A

RE: Letting the tests of one project depend on the tests of another one

2006-06-01 Thread Edelson, Justin
It sounds like you want a test-jar. See http://maven.apache.org/guides/mini/guide-attached-tests.html I don't know how you could do this in Eclipse other then have the Eclipse project have the test-jar in it's build path. I don't think Eclipse can support a separate classpath for tests from main

RE: Conceptual Confusion about build and release process using maven.

2008-02-06 Thread Edelson, Justin
> 1) During the development process within an iteration, how to make > sure that all the module owners dependent on "a.jar" keeps up to date > with the changing versions of a.jar as the development goes on until > Integration Testing. It sounds to me like you want to use a SNAPSHOT version within e

RE: mvn site not generating correct link to child modules?

2008-02-12 Thread Edelson, Justin
I think you want the site:stage goal: http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html Justin From: Ed Hillmann [mailto:[EMAIL PROTECTED] Sent: Tue 2/12/2008 6:53 PM To: Maven Users List Subject: mvn site not generating correct link to child mo

Supressing Plugin Documentation Report on Parent

2006-07-25 Thread Edelson, Justin
I'm working on a handful of Maven Plugins to support a few custom workflows. I have a parent pom that defines modules, some plugin configuration, scm, distributionManagement and reporting and then a child module for each plugin. I'm trying to keep the child poms as short as possible - really just t

[m2] Developers LDAP plugin anyone?

2006-07-26 Thread Edelson, Justin
I've put together a plugin that enables me to specify only the id for each developer in the pom and populate the remainder of the developer objects with attributes from LDAP. The name, email, etc. properties resolved from LDAP then show up in the team list report as well as the changelog report (an

RE: [m2] Developers LDAP plugin anyone?

2006-07-26 Thread Edelson, Justin
os Sanchez Sent: Wednesday, July 26, 2006 3:47 PM To: Maven Users List Subject: Re: [m2] Developers LDAP plugin anyone? absolutely, you can attach it under the MOJO jira project http://jira.codehaus.org/browse/MOJO On 7/26/06, Edelson, Justin <[EMAIL PROTECTED]> wrote: > I've pu

RE: [mojo-dev] Re: [m2] Developers LDAP plugin anyone?

2006-07-26 Thread Edelson, Justin
s.org Subject: [mojo-dev] Re: [m2] Developers LDAP plugin anyone? it'll be hosted as part of the mojo project. Beased on your contributions you can become a member. On 7/26/06, Edelson, Justin <[EMAIL PROTECTED]> wrote: > Correct me if I'm wrong, but doesn't that mean I would

RE: Automating install:install-file

2006-08-08 Thread Edelson, Justin
> My goal is to have a project in source > control that anybody can checkout and run a single mvn goal, resulting in N > jar files in the local mvn repository. Why not just set up an internal repository to contain these jars and use deploy:deploy-file one time to put them there?

RE: problem with compiler plugin

2006-08-08 Thread Edelson, Justin
I can't speak to why this works with Ant, but commons logging does NOT include any classes in the org.apache.commons package. In fact, I'm pretty sure no commons package includes any classes in this package. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tues

RE: Automating install:install-file

2006-08-08 Thread Edelson, Justin
That's not true. You could just have a file server that all users could read from. I would disagree that this is somehow harder than what you're talking about. And aren't you going to want an internal repo at some point anyway? But if you really wanted to require each user to install X number of

[m2] Can I find out if debug mode is on?

2006-08-08 Thread Edelson, Justin
I'm writing a plugin that calls an external application that accepts a "-verbose" command-line argument. I would like to be able to enable this setting if -X has been specified on the maven 2 command line. I recognize that debug and verbose are usually orthogonal, but in this case they're not. I've

RE: Automating install:install-file

2006-08-09 Thread Edelson, Justin
> One last question: how do I switch off the default behaviour of "mvn deploy"? I want to only run the deploy:deploy-file goal in the deploy > phase, and not try to deploy my empty pom with no artifacts (which I am using to configure the deploy-file). Hmmm. It sounds to me like you're using the d

RE: Automating install:install-file

2006-08-09 Thread Edelson, Justin
> I'm trying to use it differently, not incorrectly. The deploy:deploy-file goal is clearly documented as being run from the command line. No mention is made of using it within a POM. See http://maven.apache.org/plugins/maven-deploy-plugin/usage.html. Unfortunately, there's no "usage" page for the

RE: Automating install:install-file

2006-08-09 Thread Edelson, Justin
> I would *love* to be able to make the artifact of a project an existing jar file. But you have to understand that this isn't what the "jar" or "pom" packaging types do. > Instead I have to struggle with tricking maven into thinking that it has built a jar file when it hasn't. You just have you u

RE: eclipse maven 2 plugin

2006-08-10 Thread Edelson, Justin
The m2eclipse list is alive. You're correct that the svn repo listed on the site is incorrect. Correct one is http://svn.codehaus.org/m2eclipse/trunk. -Original Message- From: David J. M. Karlsen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:05 AM To: Maven Users List Subjec

@requiresDependencyResolution x2

2008-07-16 Thread Edelson, Justin
I need to build a classpath which contains dependencies scoped in compile, provided, and runtime. It looks like I need effectively to do this: @requiresDependencyResolution compile @requiresDependencyResolution runtime But that doesn't work. Only the first annotation is used. Is there a way to mak

RE: @requiresDependencyResolution x2

2008-07-16 Thread Edelson, Justin
lugin does exactly this and the filters are available in a maven-shared module. -Original Message- From: Edelson, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 2:14 PM To: users@maven.apache.org Subject: @requiresDependencyResolution x2 I need to build a classpath which con

Maven Plugin Information Report overwrites index.html

2006-11-02 Thread Edelson, Justin
I'm trying to update some inhouse plugins to adhere to the Plugin Documentation Standard (http://maven.apache.org/guides/development/guide-plugin-documentation.h tml) using the docck plugin, but am having a lot of trouble getting the index.html page to appear correctly. I have src/site/apt/index.a

FW: Question about packaging QPAC

2006-11-02 Thread Edelson, Justin
Have you checked out the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ with a guide at http://maven.apache.org/guides/mini/guide-assemblies.html ? It should do what you want. Justin From: Kendy Yus [mailto:[EMAIL PROTECTED]

Stuck on custom wagon and plexus

2008-09-03 Thread Edelson, Justin
I'm writing a Maven plugin that requires a customized version of the SCP Wagon. While I've written a number of plugins in the past, this is the first time I've tried to create a Plexus component and I seem to be stuck. Here's what I've done: * In one project, I have a class (...JschTunnelWagon),

RE: Stuck on custom wagon and plexus

2008-09-03 Thread Edelson, Justin
Brett 2008/9/4 Edelson, Justin <[EMAIL PROTECTED]> > I'm writing a Maven plugin that requires a customized version of the SCP > Wagon. While I've written a number of plugins in the past, this is the first > time I've tried to create a Plexus component and I seem to

Re: Stuck on custom wagon and plexus

2008-09-04 Thread Edelson, Justin
Brett 2008/9/4 Edelson, Justin <[EMAIL PROTECTED]> > Thanks Brett. I knew it was something simple. > > That got me one step further, now I'm getting: > Caused by: org.codehaus.plexus.component.composition.CompositionException: > Composition failed for the field

RE: Stuck on custom wagon and plexus

2008-09-04 Thread Edelson, Justin
FWIW (probably not much) I also tried merging my two projects into one and see the same result. Justin From: Edelson, Justin Sent: Thu 9/4/2008 8:14 AM To: users@maven.apache.org Subject: Re: Stuck on custom wagon and plexus I'm not instantiating the

RE: Excluding a file in resources when compiling

2008-09-04 Thread Edelson, Justin
Resources aren't "compiled". See http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html for information on how to exclude resource files. Justin From: Marc Schneider [mailto:[EMAIL PROTECTED] Sent: Thu 9/4/2008 9:07 AM To: Maven U

RE: Excluding a file in resources when compiling

2008-09-04 Thread Edelson, Justin
section : src/main/resources **/faces-config.xml but after mvn clean compile, I still can see the faces-config.xml file in the classes directory. I don't understand why. Marc. Edelson, Justin a

RE: Stuck on custom wagon and plexus

2008-09-04 Thread Edelson, Justin
.0.9, try again with Maven 2.0.8 (it might also be this bug: http://jira.codehaus.org/browse/MNG-3581). Just so I clearly understand the structure: - the wagon you are using is inside the plugin itself, as well as the components.xml - the plugin has a dependency on wagon-ssh Is that right? Cheers,

RE: Deploying a file in deploy phase that was not the pom's main packaging

2008-09-05 Thread Edelson, Justin
I've used the build helper plugin for this in the past: http://mojo.codehaus.org/build-helper-maven-plugin/usage.html Justin -Original Message- From: Scott Carter [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 3:39 PM To: Maven Users List Subject: Deploying a file in deploy

Re: Can't find dependency that I know is there

2008-09-16 Thread Edelson, Justin
FWIW, I frequently find that using an HTTP debugger like Charles helps in tracking down this type of issue. Justin - Original Message - From: Ryan de Laplante <[EMAIL PROTECTED]> To: Maven Users List Sent: Tue Sep 16 13:35:16 2008 Subject: Can't find dependency that I know is there Hi,

RE: Re: [m2] archetype repository requires authentication

2008-09-22 Thread Edelson, Justin
Last I looked at the sources, the Archetype plugin didn't support repositories that required authentication. The workaround I put in place was to basically copy org.apache.maven.archetypee.mojos.MavenArchetypeMojo and hard-code our internal repository and repository ID into it. I'd be interested if

Does relocation work for plugins?

2008-09-22 Thread Edelson, Justin
I have a Maven plugin with an internal groupId that is listed in all our users settings.xml as a valid plugin groupId. I now need to change the groupId to a new value. This new groupId is not listed as a plugin groupId in any of our internal user's settings.xml file. Can I use relocation to avo

Re: Does relocation work for plugins?

2008-09-22 Thread Edelson, Justin
Ah. So there's no way to say: version 1.0 through 1.9 have this groupId and 2.0 and above have a different groupId? That might get tricky, but at least I know something is possible. Thanks, Justin - Original Message - From: Brett Porter <[EMAIL PROTECTED]> To: Maven Users List Sent: Mo

RE: how to set '/' as root context for war?

2008-09-29 Thread Edelson, Justin
Geoffrey Wiseman wrote: > > On Fri, Sep 26, 2008 at 7:29 PM, Mick Knutson <[EMAIL PROTECTED]>wrote: > > > I want to set my war to have a root context of '/' instead of 'mywarname/' > > > > I can't remember how to set this and would appreciate a refresher. > > > > That's configuration in the appli

RE: Trying to copy additional files to jar

2008-10-01 Thread Edelson, Justin
That's for the MANIFEST.MF file. Again, you should read the JAR specification for a description of this file. Justin -Original Message- From: SophosGuy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 9:53 AM To: users@maven.apache.org Subject: Re: Trying to copy additional f

RE: Jar not in repository

2008-10-02 Thread Edelson, Justin
You can use the system scope. But you really shouldn't as that behavior is non-portable. Justin -Original Message- From: solo1970 [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 2:41 PM To: users@maven.apache.org Subject: Jar not in repository I have another question. What

RE: Jar not in repository

2008-10-02 Thread Edelson, Justin
http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html implies this would be the case in that system scope is similar to provided. This should probably be made more explicit. Justin -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thur

RE: Building different EAR files

2008-10-02 Thread Edelson, Justin
I would have different EAR projects. Justin -Original Message- From: Felix Schmitz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2008 5:31 PM To: users@maven.apache.org Subject: Building different EAR files Hello, Our maven multimode project consists so far of four projects:

RE: Dependency licenses

2008-10-06 Thread Edelson, Justin
It's in the Atlassian public repo: https://maven.atlassian.com/repository/public/ -Original Message- From: bshepherd [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 8:51 AM To: users@maven.apache.org Subject: Re: Dependency licenses I found out that here at work we can not che

RE: Jar not in repository

2008-10-06 Thread Edelson, Justin
Yes, that makes sense. Okay, not a bug. :) Just not very useful in > this case. > > I don't think we ever heard from the OP why the jars can't go into a > repository? That they need to be stored in ClearCase doesn't mean > they can't also be in a repository... &

Adding a dependency to a report

2008-10-06 Thread Edelson, Justin
I need to add an additional dependency to the JavaNCSS plugin to work around http://jira.codehaus.org/browse/MJNCSS-16. However, there's no such element /reporting/plugins/plugin/dependencies. How do I go about adding this dependency? I tried adding it to pluginManagement, but that didn't seem to w

RE: Best practice? Where to put app-server specific files (log4j.xml, datsource xml files, jboss-service.xml , etc.)

2008-10-06 Thread Edelson, Justin
We treat these JBoss configuration files as artifacts outside of the main deployable (read: EAR file). The vast majority of our JBoss sites use the same base server configuration, which includes the jboss-service.xml and other files. jboss-service.xml uses system property placeholders for envir

RE: Adding a dependency to a report

2008-10-06 Thread Edelson, Justin
u are probably left to build a custom version of the NCSS plugin. - Brett 2008/10/7 Edelson, Justin <[EMAIL PROTECTED]>: > I need to add an additional dependency to the JavaNCSS plugin to work > around http://jira.codehaus.org/browse/MJNCSS-16. However, there's no > such element

RE: Adding a dependency to a report

2008-10-06 Thread Edelson, Justin
head. You should be able to find it in searching JIRA - let us know if you have any trouble. Cheers, Brett 2008/10/7 Edelson, Justin <[EMAIL PROTECTED]>: > Bummer. Is there a JIRA for this addition I can track? > > Thanks, > Justin > > &

Re: Can I deploy my own packaging type into my own repository?

2008-10-07 Thread Edelson, Justin
Yes, of course. Maven wouldn't work if you couldn't. - Original Message - From: 陈思淼 <[EMAIL PROTECTED]> To: Maven Users List Sent: Tue Oct 07 12:42:58 2008 Subject: Can I deploy my own packaging type into my own repository? for example, I define a new packaging type called jcar, and buil

trouble relocating a plugin

2008-10-27 Thread Edelson, Justin
I asked a few months ago on the user list about relocating a plugin and finally got around to doing it. Well, it didn't go as planned. I had a plugin with groupId com.mtvi.plateng.maven and artifactId maven-hudson-plugin (yes, I know this should probably be hudson-maven-plugin and if I can get re

Re: trouble relocating a plugin

2008-10-27 Thread Edelson, Justin
:38 PM, Edelson, Justin <[EMAIL PROTECTED]> wrote: > I asked a few months ago on the user list about relocating a plugin and > finally got around to doing it. Well, it didn't go as planned. I don't think relocation works for plugins... http://jira.codehaus.or

trouble relocating a plugin

2008-10-27 Thread Edelson, Justin
I asked a few months ago on the user list about relocating a plugin and finally got around to doing it. Well, it didn't go as planned. I had a plugin with groupId com.mtvi.plateng.maven and artifactId maven-hudson-plugin (yes, I know this should probably be hudson-maven-plugin and if I can get re

RE: What is "attached" and not?

2008-10-28 Thread Edelson, Justin
You can attach arbitrary artifacts using the build-helper plugin. See http://mojo.codehaus.org/build-helper-maven-plugin/howto.html for an example. Justin -Original Message- From: Kent Närling [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 10:17 AM To: Maven Users List Subje

Re: hibernate-entitymanager

2008-10-29 Thread Edelson, Justin
Use a repository manager and deploy the artifact to a '3rd party' repository. Did you check if the artifact in question is available via the jboss repo? Justin - Original Message - From: Mansour <[EMAIL PROTECTED]> To: Maven Users List Sent: Wed Oct 29 09:26:46 2008 Subject: hibernate-e

RE: Release Plugin does not use Parent POM?

2008-10-29 Thread Edelson, Justin
Wendy Smoak wrote: > Or you could rename your profile 'release' and it will be automatically activated (unless you say -DuseReleaseProfile=false). Are you sure about that? When I look at the code for 2.0-beta-7 (actually in maven-release-manager 1.0-alpha-4), all the useReleaseProfile does is pas

Re: Maven + Junit 4.5 dependency does not work

2008-10-29 Thread Edelson, Justin
I could be wrong about this, but I think with JUnit 4, you can either extend TestCase or use annotations, but not both. Try removing 'extends TestCase' Justin - Original Message - From: Petr V. <[EMAIL PROTECTED]> To: users@maven.apache.org Sent: Wed Oct 29 16:14:54 2008 Subject: Maven

RE: Maven + Junit 4.5 dependency does not work

2008-10-29 Thread Edelson, Justin
ome thing is really going bad .. Any more pointers ? Thanks, Petr --- On Thu, 10/30/08, Edelson, Justin <[EMAIL PROTECTED]> wrote: From: Edelson, Justin <[EMAIL PROTECTED]> Subject: Re: Maven + Junit 4.5 dependency does not work To: users@maven.apache.org Date: Thursday, October 30,

RE: hibernate-entitymanager

2008-10-30 Thread Edelson, Justin
itoryId=[id] ... What artifact do I download to get all the dep installed locally on my internal maven repo ? Is there's a lost of all the artifact that are missing from central. Edelson, Justin wrote: > Use a repository manager and deploy the artifact to a '3rd party' r

Ant-based Mojos using Ant 1.6.5

2008-11-07 Thread Edelson, Justin
Currently, it seems that the support in Maven for writing plugins in Ant uses Ant 1.6.5. Is there a plan to upgrade this to 1.7.1? I traced the depencency back to plexus-ant-factory, but it looks like this component was deleted from Subversion about a month ago (http://fisheye.codehaus.org/change

RE: Ant-based Mojos using Ant 1.6.5

2008-11-07 Thread Edelson, Justin
Ant 1.6.5 try specifying 1.3 in your maven-antrun-plugin if you are using it. Thanks. LJ On Fri, Nov 7, 2008 at 12:23 PM, Edelson, Justin < [EMAIL PROTECTED]> wrote: > Currently, it seems that the support in Maven for writing plugins in Ant > uses Ant 1.6.5. Is there a plan to upgrad

RE: Ant-based Mojos using Ant 1.6.5

2008-11-08 Thread Edelson, Justin
ess you have a body of ant script that's already been debugged. Or write the script first stand-alone then wrap it. On 7-Nov-08, at 12:23 PM, Edelson, Justin wrote: > Currently, it seems that the support in Maven for writing plugins in > Ant > uses Ant 1.6.5. Is there a plan to upg

avoid dependency scope "upgrade"

2008-11-10 Thread Edelson, Justin
In a project I'm working on, I have two dependencies, one of which is provided and one of which is compile scope. They have a number of dependencies in common and I'm seeing that the transitive provided dependencies are changed to compile. This seems counter-intuitive to me. Is there any way to wor

RE: avoid dependency scope "upgrade"

2008-11-10 Thread Edelson, Justin
vided, it's always going to be provided. I ended up adding the exclusions; it wasn't that bad. You can see them here: http://svn.sonatype.org/nexus-plugins/trunk/nexus-crowd-auth/pom.xml. Justin From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monda

RE: antrun plugin: is it possible to inherit external build.xml together with parent pom?

2008-11-11 Thread Edelson, Justin
AFAIK, you can use ant-contrib with the antrun plugin. You just need to add it as a plugin dependency. Justin -Original Message- From: Silvio Arcangeli [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 8:03 AM To: users@maven.apache.org Subject: antrun plugin: is it possible to

Re: Including a dependent war as is

2008-11-12 Thread Edelson, Justin
Assuming you're using the assembly plugin to build this zip file, you need a second dependencySet that only includes the war. HTH, Justin - Original Message - From: mavenart1 <[EMAIL PROTECTED]> To: users@maven.apache.org Sent: Wed Nov 12 04:03:59 2008 Subject: Including a dependent war

Re: site deployment

2008-11-13 Thread Edelson, Justin
> Is there a way to configure the > authentication for the site > deployment operation, in the same > way that it's possible to configure > authentication of repo deployment > in the settings.xml file [i.e. via > ]? Yes. It works the same way as artifact deployment.

Re: Bug in maven-antrun-plugin?

2008-11-17 Thread Edelson, Justin
You need to add dependencies to the plugin, not your project. - Original Message - From: Costin Caraivan <[EMAIL PROTECTED]> To: users@maven.apache.org Sent: Mon Nov 17 13:16:19 2008 Subject: Bug in maven-antrun-plugin? I'm trying to rename some files using Ant, called from Maven. Thing

RE: modifying goals executed during release

2008-11-19 Thread Edelson, Justin
Did you read the documentation for the perform goal (http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html)? From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wed 11/19/2008 7:42 AM To: users@maven.apache.org Subject: modifying goals executed du

RE: Difference between release and deploy.

2008-11-20 Thread Edelson, Justin
release = a plugin that is used to automate the release process deploy = a lifecycle phase. also a plugin that deploys artifacts to a remote repository. A deploy is usually part of the release process, but it doesn't have to be. Justin From: rajkumar [mailto:

Re: Jar, War and EAR do not support the "forced=false" option of the Maven Archiver

2008-11-30 Thread Edelson, Justin
> Do you think it will be valuable that > the resource plugin copy filering > resources only when necessary: > if resources files and pom.xml file > (only because of variables) are > newer than the destination file. It's actually more complex than that. Properties can be set in settings.xml, an

Re: Limitation of the release plugin?

2008-12-04 Thread Edelson, Justin
And it won't work on SVN 1.5.x - Original Message - From: Brian E. Fox <[EMAIL PROTECTED]> To: Maven Users List Sent: Thu Dec 04 10:53:03 2008 Subject: RE: Limitation of the release plugin? Yeah but it sounds like you're thinking in svn terms only. This might not work for all scms.

Re: Limitation of the release plugin?

2008-12-04 Thread Edelson, Justin
-- Todd Thiessen > -Original Message----- > From: Edelson, Justin [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2008 10:55 AM > To: users@maven.apache.org > Subject: Re: Limitation of the release plugin? > > And it won't work on SVN 1.5.x > > - Original Mess

Re: Limitation of the release plugin?

2008-12-04 Thread Edelson, Justin
les though. --- Todd Thiessen > -Original Message- > From: Edelson, Justin [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2008 11:09 AM > To: users@maven.apache.org > Subject: Re: Limitation of the release plugin? > > Copying a working copy with uncommitt

Re: Plugin that bundles Jetty + Webapp for release

2008-12-04 Thread Edelson, Justin
You might want to look at the source tree for Nexus. It does something similar to what you're describing. Justin - Original Message - From: Stephan Niedermeier <[EMAIL PROTECTED]> To: Maven Users List Sent: Thu Dec 04 13:56:27 2008 Subject: Plugin that bundles Jetty + Webapp for release

RE: Is Maven / JUnit 4.x broken (annotations)

2008-12-10 Thread Edelson, Justin
I seem to recall a problem where if you tried to combine JUnit 3.x and 4.x styles (i.e. use annotation and extend TestCase), something like the below would happen. But I'm not sure that was a Maven problem. Justin From: Anders Hammar [mailto:[EMAIL PROTECTED]

Re: creating a JAR file of the source code in a war project

2008-12-10 Thread Edelson, Justin
You should put your code in a seperate project with packaging 'jar' and then depend upon that project from your war project. This is considered a best practice anyway. Justin - Original Message - From: Richard Chamberlain <[EMAIL PROTECTED]> To: Maven Users List Sent: Wed Dec 10 08:48

RE: Starting a jetty server for client side tests

2008-12-11 Thread Edelson, Justin
You might want to try using cargo instead. It should allow you to deploy the WAR project into a container and start up that container. Something like: true jetty6x GROUP_ID ARTIFACT_ID VERSION war ... -Original

Looking for good plugin examples

2008-12-11 Thread Edelson, Justin
Can anyone point me to good examples of plugins that use these two features: 1) DOM-based configuration 2) Getting a component from Plexus through lookup (ii.e. not via injection) Thanks, Justin

Re: Unexpected version packaged in war

2008-12-12 Thread Edelson, Justin
This may or may not be the expected behavior. But first, just to be clear, the fact that the war and jar are in the same multi-module project is irrelevant. All that matters is the ordering of dependencies and the 'closeness' of various dependencies. In your example, the two projectX dependenci

RE: How do I build one jar per class file controlling the name of the jar?

2008-12-17 Thread Edelson, Justin
Did you try using additional executions of the jar plugin? I imagine with a combination of the classifier and includes you could accomplish this. It wouldn't be dynamic in the sense that you would need to specify each class file in a separate execution. I suspect you'd need to write your own plugi

RE: Test plugin

2008-12-18 Thread Edelson, Justin
This error is accurate. There's no maven-test-plugin. test is a lifecycle phase, not a plugin. From: John Coleman [mailto:john.cole...@eurobase.com] Sent: Thu 12/18/2008 4:54 AM To: Maven Users List Subject: Test plugin When I try to run a test plugin goal I

RE: Unable to successfully complete a mvn install on one of my apps

2008-12-19 Thread Edelson, Justin
You might want to try running mvn help:effective-settings. Justin -Original Message- From: edgarosy [mailto:edgar.l...@gmail.com] Sent: Friday, December 19, 2008 4:36 PM To: users@maven.apache.org Subject: Unable to successfully complete a mvn install on one of my apps I have an applic

RE: Unable to successfully complete a mvn install on one of my apps

2008-12-19 Thread Edelson, Justin
Right, but does it show your artifactory repository? -Original Message- From: edgarosy [mailto:edgar.l...@gmail.com] Sent: Friday, December 19, 2008 5:13 PM To: users@maven.apache.org Subject: RE: Unable to successfully complete a mvn install on one of my apps When I run the mvn help:ef

RE: The PluginDescriptor for the plugin Plugin [org.apache.maven.plugins:maven-aar-plugin] was not found.

2009-01-05 Thread Edelson, Justin
See http://maven.apache.org/guides/introduction/introduction-to-plugin-prefi x-mapping.html, specifically the section labeled "Configuring Maven to Search for Plugins" -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Monday, January 05, 2009 1:33 PM To: users@mave

Re: Does the in the setting.xml work?

2009-01-15 Thread Edelson, Justin
Yes, it works. The file is supposed to be called settings.xml. On Jan 15, 2009, at 6:05 AM, "linchongsu" wrote: does the pluginGroups in the setting.xml work? anybody comes to this problem? On Mon, Nov 24, 2008 at 3:21 PM, 苏林冲 wrote: > Anybody konw this? > > 2008/11/21 苏林冲 > > Hi, a

RE: How to exclude a package from compile

2009-01-17 Thread Edelson, Justin
Excluding the pom file can be done with this configuration of the jar plugin: false As for your java package question, I would suggest building this one package as a separate project and included it (and it's dependencies) into your development war through a profile. If you can't do

RE: ${pom.version} without the SNAPSHOT part.

2009-01-24 Thread Edelson, Justin
Um, 1.2.3 is a String too. From: Thiago Moreira (timba) [mailto:tmoreira2...@gmail.com] Sent: Sat 1/24/2009 6:23 PM To: Maven Users List Subject: ${pom.version} without the SNAPSHOT part. Hi there, Is there a way to get only the numbers of the ${pom.versi

Re: Adding pre-release steps...?

2009-01-26 Thread Edelson, Justin
Write plugins to perform your validation and add them to the preparationGoals of the release plugin. Justin On Jan 26, 2009, at 7:12 AM, Kent Närling wrote: Just asking to see if anyone wanted to do the same and hints about the best way of doing this: I would like to add some simple st

Re: Adding pre-release steps...?

2009-01-26 Thread Edelson, Justin
this configuration setting be inherited even if I change other parts of the configuration in the inherited projects? or will they then override this with the default empty list (removing my called plugins)? //Kent 2009/1/26 Edelson, Justin > Write plugins to perform your validation and

RE: Does having a parent POM mean the current POM is a module ? (or a possible release plugin issue)

2009-01-27 Thread Edelson, Justin
Each project (defined shortly) needs to have the url, scm, and site distributionManagement elements defined explicitly. Project here = * Not a module of a parent project * May or may not have modules within it. Justin -Original Message- From: Lesaint Sébastien [mailto:sebastien.lesa..

RE: Maven Assemblies

2009-01-28 Thread Edelson, Justin
The assembly descriptor (i.e. the file that defines the directory structure and contents of the assembly) is a separate file from the POM. They are typically placed in src/main/assembly/. See http://maven.apache.org/plugins/maven-assembly-plugin/usage.html for examples of how to configure the

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]

RE: POM element orders

2009-02-01 Thread Edelson, Justin
AFAIK, the execution of plugin goals within a phase is not configurable, at least in Maven 2.0.x. In order to make dependency:unpack happen before assembly:attached, just execute dependency:unpack in an earlier lifecycle phase. HTH, Justin From: Éric Daign

RE: New Maven Respository Search Application

2009-02-12 Thread Edelson, Justin
Does this only index Central? -Original Message- From: Deron Eriksson [mailto:jonde...@codestrategies.com] Sent: Thursday, February 12, 2009 6:07 AM To: users@maven.apache.org Subject: New Maven Respository Search Application I'd like to announce our new Maven repository search applica

RE: New Maven Respository Search Application

2009-02-23 Thread Edelson, Justin
This use case is already met by Nexus (and, I assume, other repository managers). For example, go to http://repository.sonatype.org/ and search for a class name. Now, the results could be better in that you should be able to drill into a library and see the fully-qualified class names contained i

RE: Repo release final

2009-02-23 Thread Edelson, Justin
https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.HowdoIdisablea rtifactredeployment. -Original Message- From: PaulG [mailto:ps.gr...@googlemail.com] Sent: Monday, February 23, 2009 6:04 PM To: users@maven.apache.org Subject: Repo release final How do I ensure that a artifact v

Re: Eclipse and maven

2009-02-27 Thread Edelson, Justin
This looks like the right directory structure to me. Each directory with a pom.xml file would be an Eclipse project. Why do you think this won't work? Justin On Feb 27, 2009, at 8:25 AM, "John Wooten" wrote: I'm trying to set up the structure below which was suggested as an appropriat

RE: Eclipse and maven

2009-02-27 Thread Edelson, Justin
I believe that's a javadoc warning (not error). In addition to maven-compiler-plugin, you also need to specify the Java version in the javadoc plugin (in the reporting section) and, if you use it, the pmd plugin. Justin From: John Wooten [mailto:jwoo...@should

RE: Eclipse and maven

2009-02-28 Thread Edelson, Justin
imports.xml /rulesets/unusedcode.xml /rulesets/finalizers.xml On Feb 27, 2009, at 7:25 PM, Edelson, Justin wrote: > I believe that's a javadoc warning (not error). In addition to maven- > compiler-plugin, you also need to specify the Java version in the > javadoc

RE: Eclipse and maven

2009-03-02 Thread Edelson, Justin
ars? Do they have to install maven also? What is the best direction here? On Feb 28, 2009, at 12:55 PM, Edelson, Justin wrote: > source and target are not valid configuration parameters for pmd. > The parameter is called targetJdk. > > The way I deal with this problem is to have a prop

Re: Executing another process from maven plugin

2009-03-03 Thread Edelson, Justin
What is inside the getClassPath() method? On Mar 3, 2009, at 8:58 AM, "Roman Kournjaev" wrote: Hi Folks I am a little bit stuck here with the following problem. I have written some custom compiler plugin that invokes the actual compiler, the problem is that i have to do it in a separate

  1   2   >