Need help: Why can't I put distributionManagement in settings.xml?

2007-03-07 Thread Helck, Christopher
Hi, I want to have two profiles with different repositories and distributionManagement elements. I've created a settings.xml and defined the new profiles in it. Putting repositories in settings.xml is ok, but putting distributionManagement seems to be illegal. Why? What's wrong with saying that

Profiles, settings, and distributionManagement

2007-03-06 Thread Helck, Christopher
Hi, I'm confused. I want to have two profiles with different repositories and distributionManagement elements. I've created a settings.xml and defined the new profiles in it. Putting repositories in settings.xml is ok, but putting distributionManagement seems to be illegal. Why? What's wrong

Should a build be tied to a specific Maven versions?

2007-02-16 Thread Helck, Christopher
Hi, Does it make sense and is it possible to include the maven version number into a pom? If the user doesn't have the correct version of maven then I want the build to fail. This is important in a certification environment. Thanks, Christopher Helck Thank you for being part of it. The

Maven2 replacement for maven.repo.remote?

2007-02-13 Thread Helck, Christopher
Hi, I need to support the deployment of artifiacts to three separate repositories: development, staged, and certified. In maven1 I did this by overriding the variables maven.repo.remote and maven.repo.list in a script. How should I do this in maven2? Here's what I really want: When a

Can I include pom variables in xdocs?

2006-12-22 Thread Helck, Christopher
Hi, I'm in maven 1. I would like to have ${pom.currentVersion} to be expanded inside an xdoc file. Is this possible? Thanks, Christopher Helck Thank you for being part of it. The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee.

RE: Using Maven 1.0.2 with JDK 1.5

2006-08-10 Thread Helck, Christopher
Maven 1.0.2 definitely works with jdk1.5.0_07 on Windows XP. I can't imagine that 1.5.0_8 would cause the problem you describe. I would turn on tracing in the maven.bat script. -Christopher Helck -Original Message- From: Andrew Birchall [mailto:[EMAIL PROTECTED] Sent: Thursday, August

Maven 1.0.2 and Python

2006-06-20 Thread Helck, Christopher
Is anyone using Maven to develop python code? (I'm just beginning in Python, so I'm not sure what this subject entails). Specifically I'm wondering about having maven execute Python unit tests. How should I do this? Thanks, C. Helck Thank you for being part of it. The information

Xdocs Question

2006-03-30 Thread Helck, Christopher
In my documents I often want to create links to documents in other sites. Right now I hard code them like this: a href=http://site.server/maven/component-x-1.0.9/multiproject/xyzzy/foo. html ... /a This is hard to maintain. If I upgrade the current component to use the next version of

RE: Is deployment dangerous?

2006-03-21 Thread Helck, Christopher
dangerous? its possible. To help prevent it, you should: * use appropriate file and directory permissions * always have the version set to *-SNAPSHOT, and use the relase plugin to deploy the releases. - Brett On 3/21/06, Helck, Christopher [EMAIL PROTECTED] wrote: Is there a danger that artifacts

RE: Is deployment dangerous?

2006-03-21 Thread Helck, Christopher
Oops nevermind, I see the scm plugin -chris -Original Message- From: Helck, Christopher Sent: Tuesday, March 21, 2006 9:49 AM To: Maven Users List Subject: RE: Is deployment dangerous? Hi Brett, I'm using 1.0.2 and it looks like the release plugin is deprecated. Is there some

Is deployment dangerous?

2006-03-20 Thread Helck, Christopher
Is there a danger that artifacts in a repository can become corrupt? I'm concerned about someone modifying source code with out changing a projects version and redeploying the artifact. Is there a way to prevent this? There is also the case where source code is not changed but a component is

How can I prevent redeployment of an artifact?

2006-03-01 Thread Helck, Christopher
Hi, I'd like to prevent an artifact from being redeployed to a repository. I gather that rebuilding and redeploying a versioned artifact violates one of Maven's core principals. I don't have any real objection if this occurs in our development repository, but I'd like to forbid it in our

Help with dependecies and release management

2006-02-17 Thread Helck, Christopher
Hi, I'm looking for pointers about release management with Maven. The basic question is how to handle certification builds for components? If I have an application that uses 5 components and I modify one component (a bug fix) how should I do a release? I could modify the component and release

RE: m2 -- Ready for Prime Time, yet?

2006-02-15 Thread Helck, Christopher
Hi Ray, I'm unable to use m2 for production builds yet. I have problems with the site and compiler plugins. The site plugin doesn't handle legacy repositories, and the compiler plugin doesn't handle java dependecies correctly. Perhaps some of these have been fixed in the latest release.

Need advice with InstallShield plugin for Maven2

2006-02-13 Thread Helck, Christopher
Hi, I'm having a hard time figuring out how to add an InstallShield plugin to the lifecycle. In maven1 it was easy -- I had various goals to create, tar, and deploy the installer. In maven2 I'm at a loss as to how to begin. What I need to do is: 1 Create a jar file. 2 Assemble

RE: Need help with maven-compiler-plugin

2006-02-10 Thread Helck, Christopher
List Subject: Re: Need help with maven-compiler-plugin On 2/9/06, Helck, Christopher [EMAIL PROTECTED] wrote: I'm experiencing a weird problem when compiling my source code. I'm not sure if the problem is with the compiler or maven. In the past (maven1) the -X switch would print the actual

Need help with maven-compiler-plugin

2006-02-09 Thread Helck, Christopher
I'm experiencing a weird problem when compiling my source code. I'm not sure if the problem is with the compiler or maven. In the past (maven1) the -X switch would print the actual command used to invoke the compiler. I could cut and paste it into test script and debug from there. Is there a way

[m2] Need help with modules mess in production builds.

2006-02-08 Thread Helck, Christopher
Hi, Currently we have one application that is divided into six components. We build the entire thing using maven1's multiproject goals. Our certification team is happy with this because they just need to type one command and everything builds. We are now creating a second application that will

RE: m2 and perforce ???

2006-02-07 Thread Helck, Christopher
Hi Esteban, Somehow you need to find out the exact command that maven2 is trying to execute. In maven1 the -X usaully did this, but in Maven2 it doesn't seem to. If you want I'll give it a try. Please send me the snippet of XML you use to setup Perforce in pom.xml. Regards, C. Helck

RE: M2: Having trouble with legacy repository

2006-01-23 Thread Helck, Christopher
don't know if repo-clean has any docs yet, but the source can be found here: https://svn.apache.org/repos/asf/maven/sandbox/repoclean ^_^ Helck, Christopher wrote: I'm using a legacy repository. When I run maven I see warnings like this: [WARNING] POM for 'ebs:marketdata:pom:1.0.7' is invalid

How to I migrate repositories?

2006-01-19 Thread Helck, Christopher
I have a large internal M1 repository and projects that continue to update it. How do I migrate it to M2. How do I keep the two repos in sync? I imagine that I will have projects using Maven1 and Maven2 for some time. How should I handle the case where a Maven1 project depends on an artifact

M2: Having trouble with legacy repository

2006-01-18 Thread Helck, Christopher
I'm using a legacy repository. When I run maven I see warnings like this: [WARNING] POM for 'ebs:marketdata:pom:1.0.7' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. The jar in question was built and deployed with maven1. How do I get rid of this error? Do I

M2: Having trouble with site

2006-01-18 Thread Helck, Christopher
I'm just converting over to m2. When I build the site I get a fatal error. My POM has an empty reporting section. I am using a legacy internal repo as well as ibiblio. Can someone help? [INFO] ** [INFO] Starting Jakarta Velocity v1.4

RE: M2: Having trouble with site

2006-01-18 Thread Helck, Christopher
-Original Message- From: Alexandre Russel [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 10:09 AM To: Maven Users List Subject: Re: M2: Having trouble with site Helck, Christopher a écrit : I'm just converting over to m2. When I build the site I get a fatal error. My POM has an empty

RE: Need help with ibiblio problems

2006-01-11 Thread Helck, Christopher
with a leading slash, but it is now working for them all. - Brett On 1/11/06, Brett Porter [EMAIL PROTECTED] wrote: That's quite odd. The rule is there, but is not being picked up. I'll continue investigating. - Brett On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote: I have issues

Need more help with broken ibiblio: 404 on werkz-1.0-beta-10.jar

2006-01-11 Thread Helck, Christopher
I browse to http://www.ibiblio.org/maven/werkz/jars/ and werkz-1.0-beta-10.jar is visible, but when I click on it I get 404 error. Same is true for some some other files in the directory: werkz-1.0-beta-11.jar and werkz-1.0-beta-3.20020715.042250.jar to name a few. -chris Thank you for being

Need help with ibiblio problems

2006-01-10 Thread Helck, Christopher
What's happened to ibiblio/maven? Maven is unable to download jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems to be there and other jars download ok. I gather there is a restructuring of ibiblio going on for maven 2. Is this the issue? Is there a description of the changes

RE: Need help with ibiblio problems

2006-01-10 Thread Helck, Christopher
let us know if there are any other issues. - Brett On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote: What's happened to ibiblio/maven? Maven is unable to download jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems to be there and other jars download ok. I gather

RE: How do I package dependent jars in my distribution?

2005-09-14 Thread Helck, Christopher
I've created a plugin I call jarset which may be of interest. It creates a directory target/jarset. It copies everything from src/bin to target/jarset/bin It copies your jarfile to target/jarset/libs It copies dependent jars to target/jarset/libs It zips everything up. It deploys to maven repo in

Need help with Artifact Type Handler and dist plugin.

2005-07-05 Thread Helck, Christopher
I have a maven.xml which tars up some special files and deploys them to my repository. I'm having problems with the deploy part because I'd like the files to be deployed to a distrubutions directory just as if I were using maven-dist-plugin. I'd like to use maven-dist-plugin's ArtifactTypeHandler

Maven and Hackystat

2005-06-10 Thread Helck, Christopher
Hi, Has anyone tried integrating Maven with Hackstat (http://csdl.ics.hawaii.edu/Tools/Hackystat/)? I'm mostly interested in tracking junit tests. There is an Ant integration, and I'm guessing it is simply an issue of adding a post/pre goal to one of the test goals. Thanks, Christopher The

Need help with struts dependency madness.

2005-05-17 Thread Helck, Christopher
I am trying to set up maven to build a struts web application. The programmer who developed it used the jar files included in the binary release: things like common-beanutils.jar and jakarta-oro.jar. I would prefer to use versioned jar files that I've grabbed from an official repository. I took a

Need advice on deploying compoent software

2005-05-11 Thread Helck, Christopher
I know this could be a huge topic, but I have to start somewhere and I suspect that this issue is common for maven users. We've successfully migrated a project from Ant to Maven. In the process we've broken a large application into 5 components. Currently we deploy and install the entire thing as

Is there a Forehead plugin?

2005-03-02 Thread Helck, Christopher
I'm looking for a Forehead plugin. I have a number of small components that are utilities. Forehead seems like a nice way to package them up. I imagine a use case like this: I write unix and dos scripts in src/bin to invoke my application via Forehead. I write a template configuration file in

Xerces is being automatically added to classpath during compilation

2005-03-01 Thread Helck, Christopher
I am confused I have some code that uses xerces (org.apache.xml.serialize.XMLSerializer to be exact). I had foggotten to add xerces as a dependency to my project.xml file. Yet my code compiled and the tests ran fine. It was only when I tried using Uberjar did I get a class not found error. I

RE: Project configuration with 3rd party package dependencies

2005-02-17 Thread Helck, Christopher
Spring is on ibilio at http://www.ibiblio.org/maven/springframework/jars/. Other ones you need may be there too. I would recommend moving the JAR files that are not on ibiblio (or some other repository) to a local repository. If you place them in src/lib you'll have to check them into your source

Where is xalan 2.6.0?

2005-01-28 Thread Helck, Christopher
Sorry for the stupid question, but where do I grab xalan 2.6.0 from? I can't find any release after 2.5.1 in ibiblio. Thanks, C. Helck The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not

Maven training in USA New Jersey was RE: Maven training?

2005-01-12 Thread Helck, Christopher
My mistake -- I wasn't clear about where I'm located. We're in lovely Parsippany New Jersey USA. -Original Message- From: Helck, Christopher Sent: Tuesday, January 11, 2005 2:18 PM To: Maven Users List Subject: Maven training? Is anyone offering Maven training? The information

Maven training?

2005-01-11 Thread Helck, Christopher
Is anyone offering Maven training? The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this

Need help with plugin: how to put a dependency jar file into a property.

2004-12-17 Thread Helck, Christopher
In an InstallShield plugin I'm writing I need to pass a jar file to an exec command line. The raw command looks something like: sab -cp:a UnixSymbolicLink-2004-dec-13.jar -build I'd like the user of the plugin to specify the jar file as a depenency and as a property that is passed to

How do jelly nested variables work?

2004-12-17 Thread Helck, Christopher
How do I handle nested variables? Suppose I have j:forEach items=${plugin.getDependencies()} var=dep echoThis does not work: ${plugin.getDependencyPath(${dep.artifactId})}/echo echoNiether does this: ${plugin.getDependencyPath(dep.artifactId)}/echo /j:forEach Thanks, C. Helck The

Dependency properties question

2004-12-17 Thread Helck, Christopher
I'm using the properties/ tag to mark certain dependencies for special use by a plugin. I do not want these marked dependencies to be used by the java classpath. Is this possible? For example I have dependency artifactIdfoo/artifactId version1.0/version

Never mind. RE: What's the difference between pom.getArtifacts() and plugin.getDependencies()

2004-12-17 Thread Helck, Christopher
The difference is obvious. I'm not sure why I thought they were the same -chris -Original Message- From: Helck, Christopher Sent: Friday, December 17, 2004 3:19 PM To: [EMAIL PROTECTED] Subject: What's the difference between pom.getArtifacts() and plugin.getDependencies() I've

RE: How do jelly nested variables work?

2004-12-17 Thread Helck, Christopher
AFAICT. Try this: j:set var=dai value=${dep.artifactId} / echo${plugin.getDependencyPath(dai)}/echo On Fri, 17 Dec 2004 15:15:33 -0500, Helck, Christopher [EMAIL PROTECTED] wrote: How do I handle nested variables? Suppose I have j:forEach items=${plugin.getDependencies()} var=dep echoThis

What is the purpose of TypeHandler in maven-dist-plugin ???

2004-12-10 Thread Helck, Christopher
I'm writing a plugin for InstallShield. I've used the dist plugin as a starting point since it is similar to what I'm trying to do. I'm trying to figure out the deploy goals. They look somethng like this: goal name=dist:deploy-bin artifact:deploy

How to specify Plugin Dependencies???

2004-12-09 Thread Helck, Christopher
I'm writing a plugin which has runtime dependencies. How do I specify them? I don't need the dependencies when I build the plugin, only when it is used. Thanks, C. Helck The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you

How do I handle OS specific paths in a plugin?

2004-12-09 Thread Helck, Christopher
I have a plugin that needs to execute a seperately installed program. I don't want the plugin to rely on the user's environment. I would prefer to specify the executables location via a property. I'd like to have default properties for different OS's: windows and solaris. I'd like the goal to fail

Looking for InstallShield plugin

2004-12-07 Thread Helck, Christopher
Subject line says it all. Any help or pointers would be great. Thanks, C. Helck The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or

Looking for InstallShield Goal. RE: Looking for InstallShield plugin

2004-12-07 Thread Helck, Christopher
Oops. -Original Message- From: Helck, Christopher Sent: Tuesday, December 07, 2004 11:10 AM To: Maven Users List Subject: Looking for InstallShield plugin Subject line says it all. Any help or pointers would be great. Thanks, C. Helck The information contained in this e-mail

How should I use SNAPSHOT?

2004-11-17 Thread Helck, Christopher
I thought I understood snapshots, but a recent email has confused me all over again :-). The post suggested that if I have two projects A and B then I could set A's POM to have currentVersion1.0-SNAPSHOT/currencyVersion And that B should depend on A with dependency

Where should I put reusable test code?

2004-11-10 Thread Helck, Christopher
Where should I put test related code that can be used by mutliple projects? I have a project DataDictionary that has unit tests and a test helper class. The Helper is only used by the unit tests and is used to configure various classes. Other projects depend on the DataDictionary and there unit

RE: Jar:deploy-SNAPSHOT hang

2004-11-05 Thread Helck, Christopher
To: Helck, Christopher Cc: Maven Users List Subject: Re: Jar:deploy-SNAPSHOT hang It is the first command, and might hang waiting for input under scpexe. But this is scp:// ? Actually, I believe I have experienced this before and needed to reinstall my SSH keys. What is the target machine? Linux

Jar:deploy-SNAPSHOT hang

2004-11-03 Thread Helck, Christopher
The goal jar:deploy-SNAPSHOT is hanging. When I run in --debug mode I see the following: Executing command: mkdir -p /apps/local/apache2/htdocs/maven/ebs/poms Executing command: scp -t /apps/local/apache2/htdocs/maven/ebs/poms/commons-SNAPSHOT.pom The directory .../maven/ebs/poms does get

Need help with upgrading a plugin

2004-10-28 Thread Helck, Christopher
Note: This is a repost/rephrasing of an ealier question I sent out. Previous posts have led me to believe that I can upgrade a plugin by specifying the plugin in my POM. I've tried this and it partially works. The new plugin is downloaded and installed in my local repository, but Maven does not

RE: Managining Maven Plugins and dependencues

2004-10-27 Thread Helck, Christopher
/version typeplugin/type urlhttp://statcvs-xml.berlios.de/maven-plugin//url properties/ /dependency Arnaud On Tue, 28 Sep 2004 09:25:13 -0400, Helck, Christopher = [EMAIL PROTECTED] wrote: I don't understand how maven plugins are managed. Suppose I'm = working

RE: How to do production builds with Maven?

2004-10-18 Thread Helck, Christopher
production builds with Maven? On Fri, 2004-10-15 at 16:31, Helck, Christopher wrote: How can I do this? I've thought about mirroring www.ibiblio.org/maven on an internal machine and having developers and certification teams use it instead, but this seems like a lot of work. Any ideas

How to share and update maven?

2004-10-15 Thread Helck, Christopher
I have a set of projects that will be worked on by multiple developers. How do I make sure everyone is using the same version of maven and its various plugins? What I've done is checked maven into my souce control system and added it to my path. I'm expecting other developers to set their paths

How to do production builds with Maven?

2004-10-15 Thread Helck, Christopher
In my company developers have access to the web and www.ibiblio.org so using Maven is easy. When I hand the software over to our certification team they typically check the software out of source control and build it on a secure machine that does not have access to the web. I would like the

How do I use maven day to day?

2004-10-08 Thread Helck, Christopher
I'm looking for something that describes how to use maven with multiple projects on a day to day basis. When should I install something, when should I deploy it to the distribution repository (or whatever it is called), and when should I use snapshots? I can imagine someone making changes to some

Security question about remote repositories.

2004-09-29 Thread Helck, Christopher
Maven makes it very easy to download and use jars off the web. I think this is good, but a security expert has raised some concerns about it. Can anyone suggest a set of policies to use when determining which packages to use and how/when to download them? I'm thinking along the lines of creating

RE: Security question about remote repositories.

2004-09-29 Thread Helck, Christopher
: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 3:34 PM To: 'Maven Users List' Subject: RE: Security question about remote repositories. Also I'd like to hear those concerns. -Original Message- From: Helck, Christopher [mailto:[EMAIL PROTECTED] Sent

Managining Maven Plugins and dependencues

2004-09-28 Thread Helck, Christopher
I don't understand how maven plugins are managed. Suppose I'm working on a project and decide that I need to upgrade a plugin. So, I grap the latest version of a plugin and install it. Do other people on my team also need to install the plugin? Since the project.xml does not list plugin

RE: How do I test a schema

2004-09-24 Thread Helck, Christopher
. -Ben Quoting Helck, Christopher [EMAIL PROTECTED]: I'd like to automate testing a XML schema under maven, but I don't have a clue how to begin :-). I have a schema and some example XML files. I'd like to validate the files against the schema. Any help is appreciated. Thanks, C. Helck

RE: Maven/Junit: printing test failure/error stack trace to stdout

2004-09-23 Thread Helck, Christopher
I think it is 'maven.junit.usefile' and not 'junit.usefile'. When I try it maven -Dmaven.junit.usefile=false test Works fine. Perhaps this should be put in the FAQ? I'd been wondering about this same problem for a while. Thanks. -Original Message- From: John Casey [mailto:[EMAIL

How do I test a schema

2004-09-22 Thread Helck, Christopher
I'd like to automate testing a XML schema under maven, but I don't have a clue how to begin :-). I have a schema and some example XML files. I'd like to validate the files against the schema. Any help is appreciated. Thanks, C. Helck The information contained in this e-mail is confidential.

How do I upgrade to multiproject snapshot plugin?

2004-09-14 Thread Helck, Christopher
I would like to upgrade to the multiproject 1.4-SNAPSHOT. How do I do this? I tried Maven -DartifactId=maven-multiproject-plugin -DgroupId=maven-plugins -Dversion=1.4-SNAPSHOT plugin:download But maven was unable to find the snapshot. Thanks, C. Helck The information contained in this e-mail

Inherting project.properties

2004-09-09 Thread Helck, Christopher
I have multiple projects and I'd like them to inherit from a common project.properties. Is there a way to do this? Entities? Thanks, C. Helck The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee. If you are not an addressee, you must

How do I include my documents into the site documents?

2004-08-02 Thread Helck, Christopher
I have an XDOC document that I've places into the ./xdocs directory. When I run maven it processes my file and puts the resulting HTML into ./docs, but it does not create any links to my document. What do I have to do? Thanks, Christopher Helck The information contained in this e-mail is

One artifact per project question

2004-07-14 Thread Helck, Christopher
I read somewhere that maven encourages one artifiact for one project. I have some systems being built with ant that I'd like to convert to maven. A typical ant script will produce a jar file and a shell script to execute said jar. From maven's point of view is this one or two artifacts. How should