examples of using build-classpath to create a launcher script

2008-10-13 Thread Beyer,Nathan
Are there any examples of using the dependency:build-classpath [1] to create a launcher script or something similar? Or should I be looking to another MOJO? Say I have a windows bat file, I'd like to insert into it a line, something like the following. set

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
-Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 3:51 PM To: Maven Users List Subject: Re: Are we blocked by central Maven repo? On 26-Sep-08, at 9:31 PM, Beyer,Nathan wrote: I disagree. 10gb or even 20gb isn't that much data, and rsync isn't

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
to this local machine Now you have the same mirroring capabilities as before, only lower bandwidth and everything will be hunky-dorey 6. If you want to be ultra-fancy, add mod-proxy rules to map anything that's not on the server through to the real repo1.maven.org -Stephen 2008/9/29 Beyer,Nathan [EMAIL

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
and their mother from just rsyncing away.Is that something that people would have interest in? If I only had the time to get it setup... :-( Dan On Monday 29 September 2008 10:21:54 am Beyer,Nathan wrote: What would you suggest then? Anything that requires customized maven

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
approval, license compliance, etc. -Nathan -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 9:59 AM To: Maven Users List Subject: Re: Are we blocked by central Maven repo? On 29-Sep-08, at 10:21 AM, Beyer,Nathan wrote: What would you

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Beyer,Nathan
It's possible that from the central repo's perspective, all traffic from your company may seem like it's coming from one IP address because of NAT. Using an internal mirror can help alleviate things. The most non-invasive mirror would be to rsync the central repo periodically and then modify

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Beyer,Nathan
that will eventually resolve itself. Wayne 2008/9/26 Beyer,Nathan [EMAIL PROTECTED]: It's possible that from the central repo's perspective, all traffic from your company may seem like it's coming from one IP address because of NAT. Using an internal mirror can help alleviate things. The most non-invasive

RE: how, exactly, does maven compare versions

2008-09-04 Thread Beyer,Nathan
Have you read this document - http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution It may help answer some of the questions. -Original Message- From: Benjamin Smith-Mannschott [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 6:21 AM To: Maven

RE: install/deploy plugin renaming assemblies?

2008-08-27 Thread Beyer,Nathan
it is uploaded with through the assembly configuration, but not the other elements. If you want to attach it with a completely different artifactId (service), you can do that with the build helper plugin instead, but note that will also change the directory it is stored in. HTH, Brett 2008/8/23 Beyer

RE: jdk version range is not checking with dashes?

2008-08-22 Thread Beyer,Nathan
If you want Java 5 minimum, then try this value [1.5,). If you want Java 1.4.2 minimum, then try this value [1.4.2,). If you want Java 1.4.2 minimum, but less than Java 5, then try this value [1.4.2,1.5). -Original Message- From: Zemian Deng [mailto:[EMAIL PROTECTED] Sent: Friday,

manipulating an existing archive during assembly

2008-08-22 Thread Beyer,Nathan
I'm using the assembly plugin to generate a few archives for distribution. I'd like to be able to download an existing archive (zip, tar.gz) and extract some of its contents and then include it in an assembly. Does anyone have suggestions on how to go about this? For example, download a tomcat

install/deploy plugin renaming assemblies?

2008-08-22 Thread Beyer,Nathan
I have an assembly that I'm creating with a custom final name. When I run 'mvn clean package' the target folder contains the JAR with the correct name and the Zip assembly with a name the custom name. When I run 'mvn clean install' or 'mvn clean deploy', the Zip file is installed/deployed using

RE: Release fails during SVN commit

2008-08-21 Thread Beyer,Nathan
Does your POM have any SVN keyword substitutions in it? For example $Id$ or $Revision$? I have had issues with releases that at the root was a file locking problem that I was able to alleviate by removing the keywords substitutions. -Nathan -Original Message- From: Andreas Heinecke

RE: AW: Release fails during SVN commit

2008-08-21 Thread Beyer,Nathan
I use Windows Vista SP1, Sun JDK 5u16, Maven 2.0.9 and SVN 1.5.1 (built by SlikSVN [1]) and an SVN HTTP-based Server at 1.5.1, and have performed two releases recently with no issues. [1] http://www.sliksvn.com/en/download/ -Original Message- From: Andreas Heinecke [mailto:[EMAIL

RE: [m2] What triggers attempt to download from: http://cvs.apache.org/maven-snapshot-repository ?

2008-08-14 Thread Beyer,Nathan
I've run into this problem as well and from what I've seen, it is a Maven dependency that's pulling this in. I've logged a bug about it - http://jira.codehaus.org/browse/MNG-3713. The issue as I've run into is that 'maven-reporting-impl:2.0.4' [1], gets pulled in during an integration test run

[m2] Version ranges and qualifiers

2006-12-27 Thread Beyer,Nathan
Given a set of versions for a JAR in a repo (1.0, 1.2, 2.0-alpha-1) and a version range of [1, 2), should version 2.0-alpha-1 be picked? This seems to be the state of affairs for Maven 2.0.4. I can understand why the algorithm is picking this, since 2.0-alpha-1 is strictly less than 2, but this

RE: Wagon providers and webdav

2006-09-14 Thread Beyer,Nathan
I assume you've tried emailing the wagon-dev list. There's very little traffic there, so no response there wouldn't be too surprising. I would suggest emailing the maven-dev list and discussing it there. In general, emailing individual contributors and committers won't get you very far. All design

RE: Company-wide Maven repo

2006-09-14 Thread Beyer,Nathan
Maven-proxy may be dead, but version 0.2 does work fairly well as a simple central repository mirror. I've had a single instance of it running on Tomcat 5.5.17 and Sun JDK 5.0_7 for over 30 days with no maintenance. Additionally, I front Tomcat with Apache HTTPD 2.2.3 and use the proxy mod to

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread Beyer,Nathan
Yes, it will run 3 times, but there's not much that can be done about it. Consider if you adjusted your command to mvn clean install site. It's not required, but for clarity, here's what's happening. The 'clean' launches the clean lifecycle and cleans everything up. The 'install' causes the build

RE: SNAPSHOT Deploy

2006-08-24 Thread Beyer,Nathan
I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List

[m2][javadoc] How does one get 'doc-files' support to work?

2006-08-24 Thread Beyer,Nathan
I have the javadoc plugin configured in my reports as follows and I have 'doc-files' folder in one of my 'resources' folders, but the doc-files aren't showing up with the javadoc. The javadoc folders do contain 'doc-files' folders, but they are empty. Am I doing something wrong? Do the 'doc-files'

RE: SNAPSHOT Deploy

2006-08-24 Thread Beyer,Nathan
SNAPSHOT version. But now I have no unique versions anymore. What I am looking for is not black or white; I would like to have both on the SNAPSHOT repository server. Does not look like this is possible. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: Problem with Maven 2 - AndroMDA team asked me to register it with Maven support

2006-08-21 Thread Beyer,Nathan
I've found that when you're first running many on a brand new project and/or an empty local repository, that you'll have to run it several times to resolve all of the dependencies, especially those coming from 'central'. The server sometimes just gets busy and starts rejecting connections. Are

RE: site-deploy and webdav

2006-08-14 Thread Beyer,Nathan
You'll need to add two pieces to your POM to get it to work. 1. Add the webdav extension to the build element. Something like this: build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-webdav/artifactId /extension /extensions ... /build 2.

RE: junit 4.1

2006-08-10 Thread Beyer,Nathan
Check out this guide.. http://maven.apache.org/guides/mini/guide-maven-evangelism.html Basically you'll log a point and ask for it to be uploaded. Check for any existing points. -Nathan -Original Message- From: Christofer Jennings [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10,

RE: repository vs. pluginRepository

2006-08-08 Thread Beyer,Nathan
As I understand it and use it, the repositories configured in 'repositories' are used for resolving dependencies and the repositories configured in 'pluginRepositories' are for resolving Maven plugins referenced in the build and reporting sections. -Nathan -Original Message- From: Jochen

[m2] Version variables for filtering

2006-07-25 Thread Beyer,Nathan
I currently have a resource file that I'm filtering and inserting the version of the project using the variable ${project.version}. Are there any other version variables that I can utilize? Specifically, I'd like to be able to exclude the -SNAPSHOT qualifier. Is there a variable that will have the

RE: [m2] version resolution

2006-07-21 Thread Beyer,Nathan
: Re: [m2] version resolution Hi Nathan, I don't know if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict +Resolution - Yann 2006/7/18, Beyer,Nathan [EMAIL PROTECTED]: Is there a guide, document or piece of code that I can look

RE: [m2] version resolution

2006-07-21 Thread Beyer,Nathan
if this is what you are looking for, but : http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Confli ct+Resolution - Yann 2006/7/18, Beyer,Nathan [EMAIL PROTECTED]: Is there a guide, document or piece of code that I can look at to determine the precedence of arbitrary version numbers

RE: commons-logging-api vs commons-logging

2006-07-21 Thread Beyer,Nathan
That's a question for the Jakarta commons-logging mailing lists. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: Friday, July 21, 2006 10:32 AM To: users@maven.apache.org Subject: commons-logging-api vs commons-logging In the central repo

[m2] version resolution

2006-07-18 Thread Beyer,Nathan
Is there a guide, document or piece of code that I can look at to determine the precedence of arbitrary version numbers? For example, given an arbitrary artifact with the following possible versions, what would be the order of precedence? 10.0.0, 2.1.10, 1.0.0, 1.1.0, 1.0-alpha-1, 1.0-RC1,

RE: javadoc 2.0 plugin: doc-files/* not being copied!

2006-07-14 Thread Beyer,Nathan
Do you have your 'doc-files' in the source folder or in a resource folder? I've never been able to get it to copy 'doc-files' that are in resource folders. Maybe that's linked to the must contain .java files you mentioned. -Nathan -Original Message- From: Rob Dickens [mailto:[EMAIL

RE: Maven-Proxy ?

2006-07-07 Thread Beyer,Nathan
That doesn't configure a mirror, it just adds another repository to search, but that will only be searched after the central mirror. See the guide on configuring a mirror: http://maven.apache.org/guides/mini/guide-mirror-settings.html -Original Message- From: Alex Shneyderman

RE: HTTP compression/gzip for wagon providers(?)

2006-07-06 Thread Beyer,Nathan
just wrote that down the other day to think about, both on the wagon side and the repository manager side. It would good if you could file it in JIRA for Wagon. Thanks, Brett On 06/07/06, Beyer,Nathan [EMAIL PROTECTED] wrote: Is there anyway to configure Maven 2 (the wagon providers?) to use

HTTP compression/gzip for wagon providers(?)

2006-07-05 Thread Beyer,Nathan
Is there anyway to configure Maven 2 (the wagon providers?) to use compression for HTTP communication? In particular to accept compression when requesting dependencies and to use compression when sending data with WebDAV requests. I have my HTTP servers setup to compress output and decompress

RE: How to implement an organisational super pom ?

2006-06-19 Thread Beyer,Nathan
From my adventures in trying to do this, I've found that it's just not a good idea in the current state of things. There are some things that can be done with dependencyManagement and pluginManagement, but that only goes so far. My suggestion is to standardize things via archetypes to generate

RE: [M2] can we use 'mvn assembly' instead assembly:assembly

2006-06-05 Thread Beyer,Nathan
Based on my limited understanding, no. One is requesting a plugin goal, the other is requesting execution of a build phase. In other words 'install' != 'install:install'. 'mvn install' == execute the default build lifecycle up to and including the install phase, which should execute all plugin

MANIFEST.MF generation outside of jar:jar plugin

2006-06-01 Thread Beyer,Nathan
Is there any currently available mechanism to generate a MANIFEST.MF file outside of the jar:jar goal? What I'm looking for is a way to generate or manipulate the MANIFEST.MF such that it contains values from the POM, like version, etc. I can do this via the 'archive' element in the

RE: Plugin versions and JDK

2006-05-23 Thread Beyer,Nathan
Additionally, if you'll need to point the bootstrap classpath of the compiler to the Java 1.4.2 libraries. So, the configuration would need to be something like this. plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.4/source target1.4/target

RE: Specifying system libraries with eclipse plugin

2006-05-23 Thread Beyer,Nathan
The 'eclipse:eclipse' with just add this to the .classpath: classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/. This translates into the JRE that's set as the default JRE that's selected in the Installed JREs preferences. The name eclipse just happens to be the name that's

[m2] Any plans for an update to javadoc plugin

2006-04-26 Thread Beyer,Nathan
Does anyone know what the timeline for releasing a new javadoc plugin for Maven 2 might be? The latest on ibiblio is 2.0 beta 3 (from Dec.), which has a number of problems with things like excludes and package groups. Thanks. -Nathan - CONFIDENTIALITY