I need to support patching: creating a jar file that has just those
classes modified since a base line. Is Maven the right tool to do this?
If so how? There is a patch plugin for Maven1, but nothing for Maven2.
Thanks,
C. Helck
have creation
timestamps embedded within them that are different for each build.
Hope it's clearer now.
-Chris Helck
-Original Message-
From: Wendy Smoak [mailto:wsm...@gmail.com]
Sent: Friday, November 12, 2010 12:28 PM
To: Maven Users List
Subject: Re: What is the right way to create
The release plugin has never meshed well with our organization, how we
release software, and our SCM system. So I suggest you try it out on a
couple of use cases. Particular problems for us is that we have separate
groups doing development and release so the release:prep and
release:perform are
I'm using maven 2.2.1
I would like to upgrade the Perforce SCM plugin to version 1.2, but I'm
having lots of trouble configuring the pom. I've added:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
My bad. Should have been maven release plugin.
-Original Message-
From: Chris Helck [mailto:chris.he...@us.icap.com]
Sent: Friday, December 11, 2009 12:08 PM
To: Maven Users List
Subject: Need help with Maven SCM plugins
I'm using maven 2.2.1
I would like to upgrade the Perforce SCM
Here's my understanding...
In maven1, files in 'config' were packaged into the jar file. At some
point it was decided that 'resources' was a better name than 'config',
so now 'config' is just another directory that Maven doesn't do anything
with.
In general Maven doesn't know how you're going to
Assembly plugin is very nice, but I need to add one more step. Once I
have the package.tar.gz file, I need to create a new file, which in
Linux I would do as:
cat extract.txt package.tar.gz package.sh
chmod a+x package.sh
The file 'extract.txt' is my code to support self extracting archives
I have multiple versions of a jar file called child: child_1.0.jar,
child_1.1, and child_1.2. In theory each version of child implements the
same API and should be backwardly compatible.
I have another jar file called parent_2.0.jar. I would like to run
parent's unit tests three times, each time
I have some scripts that I would like to share across multiple projects.
I can upload them to my local repo and give the files version numbers.
Once they're in the repo, how do I access and use them from a maven
project.xml file? Ideally I'd like the scripts to magically appear in
specific
to build documents.
Thanks,
C. Helck
BTW: Is there an easy way for me to correct the problem, or should it be
left to someone how knows what they're doing?
_
From: Chris Helck
Sent: Wednesday, December 03, 2008 9:16 AM
To: 'Maven Users
Could you clarify the security requirement? It sounds like you don't want
unverified jars entering the development space. Is this correct?
We have simple production builds (no site, no reports). My maven1 cert
repository has 210 jar files, 150 of them are external. How are you going to
What happened to
http://repo1.maven.org/maven/vdoclet/jars/qdoc-current.jar ?
When I wget it I get a 403 Forbidden error.
This used to work -- just a few weeks ago. I can no longer create site
documentation for maven1 projects.
Thanks,
C. Helck
I have a mix of maven1 and maven2 projects. I would like to create
dependency data for all versions of my projects and poms. Is there any
way to do this?
It seems to me that maven2 poms would be easier. I have a maven2 repo
with all my published components. At first I thought I could write a
What monetary purpose is there to scraping the repo? I want to know if there is
a security issue related to using Maven.
-C. Helck
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 8:56 AM
To: Maven Users List
Subject: Re: repo1.maven.org
Hi,
We have multiple components and applications. When I hand an application
over to our certification team to build I need to tell them which (if
any) dependent components they need to build. So every release I have
provide specific instructions of the form:
From SCM get this label, build
the repository and test it.
Hope I understood correctly.
Regards,
Rich
-Original Message-
From: Chris Helck [mailto:[EMAIL PROTECTED]
Sent: 22 May 2008 16:14
To: Maven Users List
Subject: Certification build question
Hi,
We have multiple components and applications. When I hand
Has anyone been able to use
http://velocity.apache.org/site/tools/velocity-site-doxia-renderer/index
.html? It seems to be something very useful, but I can't get it to work.
I'm not sure if it is being actively maintained.
Basically I'm looking for a way to generate APT documents on the fly,
and
I need to create a site document that includes reports that are
extracted/created from a database, and I'm wondering what the best way
to do this is. I've been able to create report plugins that generate the
reports as stand alone documents, so accessing the DB from maven is not
the problem. I
I don't think Maven was meant to solve application deployment issues.
The whole field of installers deployment is very complex. Sometimes
you need to install certain files as root, install cron/timer jobs, stop
and restart services, create directory structures, and so on.
I have been able to use
I'd like to piggy back on to this discussion.
All our production builds are done in a controlled environment.
Different projects use make, ant, maven1, maven2, and custom scripts. We
would like, when a build is done, for the final artifacts to end up in a
dumb file location on the build box.
Hi,
A certain user of mine gets Skipping disabled repository central when
mvn (2.0.8) tries to download a plugin. I've printed the effective-pom
and effective-settings and I don't see anything redirection of central
with mirrors or repository.
It certainly sounds like mvn is not looking in the
for further attempts.
Regards
Jeff MAURY
On Wed, Feb 27, 2008 at 6:05 PM, Chris Helck [EMAIL PROTECTED]
wrote:
Hi,
A certain user of mine gets Skipping disabled repository central
when mvn (2.0.8) tries to download a plugin. I've printed the
effective-pom and effective-settings and I don't see
MAURY
On Wed, Feb 27, 2008 at 6:51 PM, Chris Helck [EMAIL PROTECTED]
wrote:
Hi Jeff,
Using a different pom the same user can download from central.
Nevertheless, if this were the case, how would you correct it?
Regards,
Christopher
-Original Message-
From: [EMAIL PROTECTED] [mailto
Hi Matt,
You may need a way for developers to override this, so they can work on old
versions. Also, be carefull that your overrides to settings.xml doesn't effect
vanilla maven builds -- say someone wants to build some tool they downloaded
from the web.
I don't claim that this is best, but
Hi,
I'd like to have two managed repos: internal and certified. The internal
is used by developers and is wide open to the web. The certified repo is
tightly controlled. I'd like a limited set of users to be able to
promote a set of poms/jars from the internal repo to the certified repo.
Can this
I am having trouble understanding the error below. Maven seems unable to
pull things down from the central repo, and I don't know why.
I can connect to the repo via the web.
I have deleted by ~/.m2/repository directory.
The plugin-registry.xml files do not exist.
I have been playing with the
:05 AM, Chris Helck [EMAIL PROTECTED] wrote:
I am having trouble understanding the error below. Maven seems unable
to pull things down from the central repo, and I don't know why.
I can connect to the repo via the web.
I have deleted by ~/.m2/repository directory.
The plugin-registry.xml files
Hello,
In maven2 how can I have snapshots websites deploy to one URL and
releases deploy to another?
Thanks,
Christopher Helck
**
This communication and all information (including, but not limited to,
market prices/levels and
I would like to suggest better cross linking between the maven documents
and the wiki. It is very hard for most users to modify the official
maven documentation. If each plugin and main maven document had a
reference to a sister wiki page then it would be easier for users to add
their own two
Could this be done with the exclude tag in dependency? You would exclude
B-I and B-P.
-chris
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Insitu
Sent: Thursday, September 27, 2007 10:56 AM
To: users@maven.apache.org
Subject: Re: Replacing Proprietary Build System
If you're using maven2 take a look at the assmebly plugin
(http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#src).
Basically it can create a zip file of your source and upload it to your repo.
-Christopher
-Original Message-
From: Ritz, Martin [mailto:[EMAIL
Hi Dave,
We use maven to create an installer that gets deployed to our repo. When
we want to install it somewhere we do:
wget http://my_repo/ebs/installer/MyInstaller-1.0.2.sh
sh MyInstaller-1.0.2.sh
In the past we used InstallShield, but for our apps it is overkill.
Instead we use simple
Hi,
I'm running into problems managing all of my component and versions. One
problem is that the dependency relations are scattered across the
different project reports. Asking questions like Which of my twenty
applications use version 1.2.3 of this library? is hard to do.
I think I would like a
Hi,
I need something to help us assembly families of components. I'd like to
say something like:
Family Foo 1.2 consists of:
FooApp 1.2
FooWebStuff 1.0.6
FooDb 1.0.2
FooClient 1.2.5
I'd like to give this description to our Certification group who can
then build Family Foo 1.2.
I need to populate an inhouse repository so it can act as a stand alone
repository. It needs to include the standard maven plugins. I don't want
to rsync Ibiblio.
I've tried using the assembly plugin to create a repository but it does
not include the plugins.
What should I do?
Thanks,
C. Helck
Hi,
How can I redefine the central repository for specific profiles? I have
three profiles defined in my settings.xml: dev, qa, and cert. I want the
dev profile to use the default central repository, but I want the qa
and cert profiles to use specific (but different) in-house URLs. From
what I've
Subject: RE: Assembly problem: Error Not a v4.0.0 POM
Hi John,
I'm also interested in this fix for the assembly plugin. Could you
kindly commit it, or at least post it here so we can apply it locally?
Thanks,
George
Chris Helck wrote:
Was this ever fixed? I still see it in maven 2.0.6 -- am
Hi John,
Thanks for the reply. I tried using the snapshot version, but still get
an error. First I added the following lines to my POM
dependencies
dependency
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
Hi Martin,
Perhaps it's a dumb idea, but why not create the jumbo jar and then as a
separate step split it apart into separate jars by filtering on package
names? It seems to me that the multiple jar files is more of a
deployment issue then anything else. It might be possible to use tools
like
not work identically. That feature will be
supported natively in archiva before the final release.
- Brett
On 26/06/07, Chris Helck [EMAIL PROTECTED] wrote:
I would like to periodically convert an internal m1 repository to m2.
On the web there are hints of such tools that are used by ibiblio
I would like to periodically convert an internal m1 repository to m2. On
the web there are hints of such tools that are used by ibiblio and ASF,
but I can't find any documentation.
I think what I need to do is use the ArchivaCli to do the conversion.
Can anyone confirm this, and/or provide an
fixing it now, but it won't be released for a
little while (there are several more things that need to go into that
release).
Thanks, and sorry for the inconvenience.
-john
On 5/8/07, Chris Helck [EMAIL PROTECTED] wrote:
I'm using maven 2.0.4. Assembly plugin is 2.2-beta-1.
I'll be happy
Hello,
In apt definition lists like:
[step 1] Move left foot forward
[step 2[ Move right foot forward
Are displayed with a yellow background when rendered in the browser.
What is the right way to change this?
Thanks,
C. Helck
If you use activeByDefault then isn't the profile always active? I don't
believe you can have a default profile that is active if and only if no
other profile is active. If I'm wrong I'd love to know because I would
find this very useful.
Regards,
Christopher
-Original Message-
From:
I use it with no major problems in maven 2.0.4. I have a vague memory of
having an issue with a trailing '/'. Anyway here's what I have:
scm
connectionscm:perforce://depot/MarketData/qa_tools/connection
developerConnectionscm:perforce://depot/MarketData/qa_tools/developer
Connection
Hi all,
There are two settings.xml files: one in mvn's conf directory and the
other in a user's home directory. I don't see many issues with putting
mvn's setting.xml under SCM. We put the maven binaries and setting.xml
under SCM and both developers and certification people find this helpful
in
or did you build from trunk?
-Deng
Chris Helck wrote:
Hi,
I'm confused. I've added a managed repository that points to one of
our in house repos. I delete my .m2/repository and was able to rebuild
a project. Yet, if I click on the scan repository now button it says
that it has zero files
Hi,
I'm confused. I've added a managed repository that points to one of our
in house repos. I delete my .m2/repository and was able to rebuild a
project. Yet, if I click on the scan repository now button it says
that it has zero files. I assumed that archiva would cache stuff that it
downloads.
Hi,
How do I make maven use Archiva to fetch things from the central repo?
Thanks,
Christopher Helck
**
This communication and all information (including, but not limited to,
market prices/levels and data) contained therein
Hi,
Is there a way to turn off a default profile when a different profile is
specified? Here's what I'd like to have happen:
mvn # Use dev profile
mvn -Pcert #Use cert profile -- do not use dev.
If I activate dev with activeByDefault or in activeProfiles then
dev is always on
I have a parent pom which depends on a simple jar file containing
configuration files (PMD config). I'm wondering if it is possible to
combine these into one project?
So I need packagingpom/packaging and to somehow cause a jar file to
be build and deployed. How can I do this? Is it wise?
Thanks,
file?
On 5/31/07, Chris Helck [EMAIL PROTECTED] wrote:
I have a parent pom which depends on a simple jar file containing
configuration files (PMD config). I'm wondering if it is possible to
combine these into one project?
So I need packagingpom/packaging and to somehow cause a jar file
Users List
Subject: Re: Is it possible for a pom project to build a jar file?
On 5/31/07, Chris Helck [EMAIL PROTECTED] wrote:
I'm also considering putting the configuration file in a well known
location (http://mystuff/pmd.xml) the same way we do for JPEGs and
getting on with life.
A known
Hi,
I'm having problems with portability and I can't seem to solve it
without replicating a lot of details in every pom I have.
I have three environments I build from:
Development:Uses ibiblio, and internal development repo.
Creates web sites on internal machine. All developers use
Hi Tim,
I recently did something like this (with PMD instead). I used
extensions then someone suggested I not use it -- it seems
extensions is headed towards deprecation. Instead under
build/plugins/plugin add you stuff as a dependency. Something like this:
plugin
Hello,
We have some internal maven 1 repositories. I would like to convert them
to maven2, but I'd like my existing maven1 builds to keep working. How
do I do this?
Thanks,
Christopher Helck
**
This communication and all
Fax: 972.789.1340
Valtech Technologies, Inc.
5080 Spectrum Drive
Suite 700 West
Addison, Texas 75001
www.valtech.com http://www.valtech.com/
making IT business friendly
From: Chris Helck [mailto:[EMAIL PROTECTED]
Sent: Wed 5/16/2007 9:44 AM
To: Maven Users
Hello,
I need advice. Our production builds are handled by a separate group.
They do the builds in a locked room with limited access to the company
infrastructure, and no access to the outside world. They have access to
our SCM. In the room they have a web server that has ssh access to a
Can you explain what you mean? I've already set things up with the
extension but I'd rather change it now if that is the right thing to do.
How can I make my rules file be a dependency of the PMD plugin? Do I
have to recreate my own version of the plugin?
Regards,
Christopher Helck
In my parent POM I'd like to setup the PMD plugin with a set of rules in
src/site/pmd.xml. In my parent POM I have:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
configuration
targetJdk1.5/targetJdk
Hi,
I've started using the changes plugin. Does it integrate with the
release plugin? What I mean is if changes.xml contains a line like:
release version=SNAPSHOT date=2007-03-01 description=Bug
Fixes
When I run release:prepare, release:peform I'd like the line to be
changed to reflect
: Assembly problem: Error Not a v4.0.0 POM
Actually, the stacktrace for this error would be pretty valuable, just
to see whether it's coming from the assembly plugin itself, or from
maven's core...Maven's supposed to detect and ignore legacy poms.
-john
On 5/7/07, Chris Helck [EMAIL PROTECTED
I have an error that I don't understand.
I have a maven 1 project that builds a jar file called pps-3.0.2.jar.
The jar (and it's pom) are moved into my legacy style repository.
I have a maven 2 project that depends on pps-3.0.2. It compiles and
tests the code fine. During the assembly it is
Hi,
I'm looking for suggestions about how to handle the creation of patch
jar files. A patch jar file is one that contains only the classes that
have changed between two releases. Our production directories typically
look like this:
application/bin # contains start scripts
64 matches
Mail list logo