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
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
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
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
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.
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
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
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
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
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 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
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
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
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.
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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 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
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
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
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
/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
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
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
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
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
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
: 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
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
. -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
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
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.
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
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
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
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
69 matches
Mail list logo