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
-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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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'
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
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
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.
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,
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
41 matches
Mail list logo