very interesting Brian, thanks for sharing.
May I ask how you manage your internal build increment and its reset? It
seems it's not the SCM build number.
Does your system allow for modification of a build-tags? Or do you rebuild
from the trunk? But in the latter case you have additional code and
My company uses JUnit to perform unit and integration testing. Those two
things are very valuable to our testing process, but I'd like to see how we
can also incorporate the so-called "system" testing too. But what would
those look like? Aren't they just end-to-end integration tests? Just curious
t
Wayne, your answer sounds like it might solve my problem, but I am a new user
and am not sure of the syntax to implement your suggestion.
I am creating a buildnumber with a time stamp in the parent pom using the
buildnumber plugin. I want to pass the resultant property, ${buildNumber},
to all th
Here's how I deal with it:
Each build that goes to QA is in fact a mini release. The presumption is
that any release could actually go to the customer (without rebuilding
to promite). We use x.y.z-build as our versioning, but refer to a
customer release simply using the x.y.z number. Each internal
Good point.
I guess I was expecting something "automatic" since only a production
release would need an increment in the version. I should trust the developer
won't mess up with that :)
Trying to look for future direction on the Maven Release plugin, I just
noticed the release:branch goal!
That
I am using dependencySet in the assembly plugin to deliver a jar file
that I built and some of its transient dependencies. The final
requirement I have to meet is the signing of every jar in this zip
file.
I'm aware that I can use the the jar plugin for signing. But how can I
integrate it so that
The "only way" anything gets done is if its in JIRA... Otherwise (as
you can see), it gets lost in the void.
So, if you care to see the bug fixed, I'd open a ticket and attach a
test case that fails. Ideally, you'd paste a patch with a fix too heh.
;-)
Wayne
On 3/26/08, Petar Tahchiev <[EMAIL PR
I have no idea, but I totally see this
behaviour.
Maybe we should open a ticket?
Dennis Lundberg-2 wrote:
>
> Is this in JIRA?
> If so which issue is it?
>
> Petar Tahchiev wrote:
>> Anybody working on this?
>>
>> I have the exact same issue as drekka mentions and it's still an year
>> aft
Is this in JIRA?
If so which issue is it?
Petar Tahchiev wrote:
Anybody working on this?
I have the exact same issue as drekka mentions and it's still an year after
his letter.
Is this issue still opened?
I really can't believe it
Regards, Petar.
drekka wrote:
Hi Dennis,
TO ensur
It's not currently possible, but something we discussed for 2.1. Check
the proposals on the wiki.
-Original Message-
From: ewhite [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 5:04 PM
To: users@maven.apache.org
Subject: run plugin before scanning for projects
I have a plugin
Hrm. I seem to recall there are odd instances where the checksums don't
get created. I can't recall if it was if you use file:// or some other
thing.
-Original Message-
From: Allen, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 5:01 PM
To: Maven Users List
Subject: RE:
Isn't your desired outcome the same as the outcome achieved by using
maven archetypes? It seems to me that you would easily accomplish
this task with an archetype since project generation would be done
only once (when the project doesn't exist).
On Wed, Mar 26, 2008 at 4:04 PM, ewhite <[EMAIL PRO
I have a plugin that generates a couple of projects.
I want to call this plugin from a parent project and use aggregation to then
build the generated projects.
The sub-projects obviously don't exist yet, so I am getting "Could not find
model file" errors.
I need to run my plugin BEFORE maven walk
It does upload the files now, but for some reason a checksum is only
generated for a metadata XML file, and not for the JAR or POM.
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 4:33 PM
To: Maven Users List
Subject: RE: [m2] manually "dep
Change your pom to use file:/// or scp:///
-Original Message-
From: Allen, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 4:27 PM
To: Maven Users List
Subject: RE: [m2] manually "deploying"?
What do you mean? Change it how?
-Original Message-
From: Brian E. Fox
Hi Sridhar,
This message belongs to the user list.
There is a tomcat plugin at mojo.codehaus.org
Maybe you could look at it and maybe ask on the
mojo user list for information ([EMAIL PROTECTED]).
Regards,
Raphaël
-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTE
Edit the distributionManagement section of the pom, so that the url
element is
file:///wherever/your/repository/root/is
instead of whatever protocol it is trying to use which is blocked.
Run the standard deploy command, then change the pom back (no need to
commit it).
On Wed, 2008-03-26 at 16
What do you mean? Change it how?
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 2:49 PM
To: Maven Users List
Subject: RE: [m2] manually "deploying"?
If you have file or scp access to the repo, why not just change the
distMgt url in the mea
Before you do this, make sure you understand the requirement.
The Java Classloader does not have the ability to deal with Jars
bundled inside Jars. This is simply not part of the spec. So, if
someone is asking you for this, make sure they know what they're
asking for.
Bundling Jars inside Wars an
It's not possible with the jar plugin but it is possible with the
shade plugin, although I've never used it so I can't comment more than
that.
http://maven.apache.org/plugins/maven-shade-plugin/
On Wed, Mar 26, 2008 at 2:34 PM, Sonar, Nishant
<[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> I have multi
Use the maven-dependency-plugin and this will serve your purpose.
Thanks & Regards,
Logu Rajamanickam
"Sonar, Nishant" <[EMAIL PROTECTED]>
03/26/2008 02:34 PM
Please respond to
"Maven Users List"
To
"Maven Users List"
cc
Subject
packing jars in another jar
Hi
I have multi mo
Hi
I have multi module project. I need to make a distributable JAR in a way
that should hold all the dependent jars, including the jars referred by
dependent jars.
Need help
I am trying to pack dependent jars in another jars (don't want to use
assembley plugin)
Is it possible wi
Thanks! Simon and Damian,
That's exactly what I want.
Best
Stan
On Wed, Mar 26, 2008 at 2:55 PM, simon <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2008-03-26 at 14:23 -0400, Stanley Lee wrote:
> > For a plugin having configuration like
> >
> > foo
> > bar
> >
> >
> > Is it possible to set/cha
On Wed, Mar 26, 2008 at 1:23 PM, Stanley Lee <[EMAIL PROTECTED]> wrote:
> For a plugin having configuration like
>
> foo
> bar
>
>
> Is it possible to set/change/override parameters through command-line? I
> tried -DpluginName.param1=value1, but doesn't work. Any suggestions?
>
> Thanks!
On Wed, 2008-03-26 at 14:23 -0400, Stanley Lee wrote:
> For a plugin having configuration like
>
> foo
> bar
>
>
> Is it possible to set/change/override parameters through command-line? I
> tried -DpluginName.param1=value1, but doesn't work. Any suggestions?
${val1}
${val2}
If you have file or scp access to the repo, why not just change the
distMgt url in the meantime?
-Original Message-
From: Allen, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 2:42 PM
To: Maven Users List
Subject: RE: [m2] manually "deploying"?
Something is set up wrong
Something is set up wrong with the repository so that it's basically
read-only at present, and any attempt to use "deploy" gives an HTTP 405
error. The people who maintain it are on a different continent, and also
pretty busy, so it can be hard to get hold of them, and when I do I'm
often told to f
For a plugin having configuration like
foo
bar
Is it possible to set/change/override parameters through command-line? I
tried -DpluginName.param1=value1, but doesn't work. Any suggestions?
Thanks!
Have you activated the Xinclude support in the docbkx maven plugin (see
http://docs.codehaus.org/display/MAVENUSER/Docbkx+Maven+Plugin, example 9) ?
___
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Arc
Wouldn't it be easier to have someone else deploy it for you?
Every file that goes into the repository gets a sha1 and md5 hash. That
minimally means the pom and the jar.
-Original Message-
From: Allen, Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 11:31 AM
To: Maven U
Hi,
I'm having the same issue with unwanted dependencies. Has there been a
solution to this problem?
The setup i have is:
Project A (EAR) -> Project B (Ejb with generateClient)
Now i have Project C which need only Project Bs' ejb-client.jar excpect i
get all of Project Bs' dependencies.
Thank
Hi,
I'd like to copy a jar that was built from source to an acceptance test
box so i can run end-to-end tests against it.
Only problem is that I need to scp the jar.
I've had a look at various plugins, but nothing seems to support this.
Can you help?
Thanks,
Rich
I fixed my problem
I was referencing my root project in my modules configuration like so:
../aviall-edi-site
../aviall-edi-commons
../aviall-edi-process-engine-module
../aviall-edi-order-process-module
../aviall-edi-processor-application-module
../aviall-edi-project
Hi,
My Plat form is:
Maven version: 2.0.7
Java version: 1.6.0_04
OS name: "windows xp" version: "5.1" arch: "x86"
I have been following an issue reported and closed on codehaus at
http://jira.codehaus.org/browse/MRELEASE-6. I am trying to create a
multi-project with Maven2, based on the inform
Yep, thanks... call it what you like but when it's in a tag, i
tend to call it a dependency :)
Cheer,
Lance.
On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Lance Java schrieb:
>
> > Ah... got ya...
> > Add a log4j dependency to my project even though i don't reference it
> > dir
Lance Java schrieb:
> Ah... got ya...
> Add a log4j dependency to my project even though i don't reference it
> directly
> artifactA.scope=compile
> log4j.scope=provided
>
Rather than think of it as "adding a dependency", think of it as
declaring what your container environment provides.
If you
Ah... got ya...
Add a log4j dependency to my project even though i don't reference it
directly
artifactA.scope=compile
log4j.scope=provided
Thanks.
On 26/03/2008, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Please just try it! We understand.
>
> The pom will pick your re-declaration of log4j/provide
Ok, so I know it's sort of an asinine thing to do. However, currently
mvn deploy is returning an HTTP 405 error from our repository, and I
don't really have control over our company repository (new employee
doesn't get permissions for a while), so I can only do a manual copy to
the appropriate poin
Please just try it! We understand.
The pom will pick your re-declaration of log4j/provided as
"overriding" the log4j/compile in artifactA.
Wayne
On 3/26/08, Lance Java <[EMAIL PROTECTED]> wrote:
> I'm not sure if you understand.
> artifactA is required so I specify a scope of "compile"
> Since a
I'm not sure if you understand.
artifactA is required so I specify a scope of "compile"
Since artifactA depends on log4j, it automagically brings that into the jar
too which I don't want.
On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Lance Java schrieb:
>
> > Hi, I'm a maven newb
Lance Java schrieb:
> Hi, I'm a maven newbie and want to globally exclude sub dependencies from
> being built into my war.
>
> Lets say my war depends on artifactA and artifactB with a scope of compile.
> artifactA depends on log4j
> artifactB depends on the servlet api
>
> I want to include artifa
You already said the magic word -- "provided".
Specify the artifacts you do not want included with
provided and they should not be included in your WAR.
Wayne
On 3/26/08, Lance Java <[EMAIL PROTECTED]> wrote:
> Hi, I'm a maven newbie and want to globally exclude sub dependencies from
> being bui
Hi, I'm a maven newbie and want to globally exclude sub dependencies from
being built into my war.
Lets say my war depends on artifactA and artifactB with a scope of compile.
artifactA depends on log4j
artifactB depends on the servlet api
I want to include artifactA and artifactB in the war but d
If your requirement is this urgent, I'm certain that one of the
consulting shops who specialize in Maven would be happy to help you
out, for a reasonable fee.
Or, since your problem is actually with Cargo, perhaps someone on the
Cargo team is willing to provide "emergency" help on a consulting
(pa
Hi all,
I am having issues setting up webstart inside my maven 2 war project. The
issue I get is the mainClass is not found. I specify my main class which
does exist inside the web application,
com.walterjwhite.gui.AdministrationForm.
Will this plugin work inside a war/web application project?
On Wed, Mar 26, 2008 at 6:09 AM, Jim Christenson
<[EMAIL PROTECTED]> wrote:
> Is there a way to force this, or is there some other tool/report that would
> look at the code and show the gaps?
mvn dependency:analyze
Analyzes the dependencies of this project and determines which are:
used and de
Hi folks,
I want to write large DocBook files and therefore I would like to divide
them into many files. I've fould quite nice method for that - XInclude. The
problem appears while generating PDF or HTML files from DocBook. The
is ignored and the separate DocBook file isn't imported to the
paren
Please stop using the developer list for user questions. People answer
when they can, as they can and that's done on the user mailing lists
which you can find here:
users@maven.apache.org
On 26-Mar-08, at 2:53 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
I am very sorry,
I need h
Ok . I need to consider our build processing in other way ie maven way.
Thanks again.
2008/3/26, Wayne Fay <[EMAIL PROTECTED]>:
> Maven is not Ant. Maven does not read from external property files and
> insert values into the pom at runtime.
>
>
> Wayne
>
> On 3/26/08, Tom Joad <[EMAIL PROTECTE
Maven is not Ant. Maven does not read from external property files and
insert values into the pom at runtime.
Wayne
On 3/26/08, Tom Joad <[EMAIL PROTECTED]> wrote:
> Thanks , I'll already do it.
> So the example of target i give is not the good one.I need to load
> some properties that i don't kn
Thanks , I'll already do it.
So the example of target i give is not the good one.I need to load
some properties that i don't know the value by advance. Our
development center tag a version of application in cvs , and send us
a file where are defined the version, the projectname, the moduleweb
name
Thanks. That worked great.
For posterity here is the code
Cheers,
-- Chris
pom.xml
.
com.foobar
foo
rnc
${fooVersion}
com.foobar
bar
rnc
${barVersion}
Hi Jim,
Jim Christenson schrieb:
> I need some help understanding how the dependency resolution works and why.
> I have read the documentation on the various scopes and want to know what
> the best practice is for listing project dependencies.
>
> I am working with a project that uses a number of
I need some help understanding how the dependency resolution works and why.
I have read the documentation on the various scopes and want to know what
the best practice is for listing project dependencies.
I am working with a project that uses a number of external libraries.
However, the tech-le
I guess not.
And this might be one of the reason there's currently an open bug/improvement
request about being able to use concurrently the local repository:
http://jira.codehaus.org/browse/MNG-2802
Maybe there's in fact a big need for an abstract io/filesystem access library
in maven to achieve
Is there any reason you're sending the Maven Users list a question
that really belongs to the Cargo team?? You've having a problem with
the Cargo plugin, not Maven itself.
Please ask Cargo.
Wayne
On 3/26/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi
>
> Am new to this maven2, in my proje
On 26/03/2008, Guillaume Boucherie <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm trying to make a custom plugin and I have a question about maven API.
> In my plugin I want to have two goal. First will run some thing via ssh
> and
> second must stop them.
> Is there a way in maven API to store (sh
Mikolaj Radwan schrieb:
> Hi,
>
> We have a problem with artifact resolution in maven. We use our own
> artifact repositories, that are set as proxies. Those repositories are
> sometimes down and when we try to build anything then, the build fails
> with the following error:
>
> [INFO] artifact org
Hi all,
I'm trying to make a custom plugin and I have a question about maven API.
In my plugin I want to have two goal. First will run some thing via ssh and
second must stop them.
Is there a way in maven API to store (share, cache ?) custom object between
two different goals ?
Thanks
Guillaume B
Hi,
We have a problem with artifact resolution in maven. We use our own
artifact repositories, that are set as proxies. Those repositories are
sometimes down and when we try to build anything then, the build fails
with the following error:
[INFO] artifact org.apache.maven.plugins:maven-clean-plug
Hi
Am new to this maven2, in my project we are using tomcat 6 + maven2
build script, is this right build script for deploying the web
application,
And how to write the script to copy the war file in tomcat/webapp folder
Here I am using the command mvn install it copying the war file in some
wh
Huh, thanks stupid me putting sandbox instead of snapshot :) There were
no snaphsot repo in that pom.xml, that explain ;)
En l'instant précis du 26/03/08 12:39, Upul Godage s'exprimait en ces
termes:
Hi,
Check whether snapshots are enabled for "that repository" in the
~/.m2/settings.xml or po
Maven does not support reading properties out of external files like Ant.
As for changing from /target to /whatever, before you start heading
down this road, please do a little reading about what Maven is trying
to do for you etc. Sonatype.com and Devzuz.com have links to free pdf
ebooks they have
Hi,
Check whether snapshots are enabled for "that repository" in the
~/.m2/settings.xml or pom.xml*
*
true
Upul
On Wed, Mar 26, 2008 at 4:53 PM, David Delbecq <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i have a curious problem here. Maven tells me this (see below) it can't
> find a artifact.
Anybody working on this?
I have the exact same issue as drekka mentions and it's still an year after
his letter.
Is this issue still opened?
I really can't believe it
Regards, Petar.
drekka wrote:
>
> Hi Dennis,
>
> TO ensure you have everything I've uploaded a log file by executing
Hello,
i have a curious problem here. Maven tells me this (see below) it can't
find a artifact. However, the file is present and i can download it via
a browser using the following address:
http://rmibeta.oma.be:9090/archiva/repository/internal-releases/org/apache/xmlgraphics/fop/1.0-SNAPSHOT/
Hello all,
My problem is quite simple.
I have a properties file wherein i have projectname webmodulename,
version and other informations.
I'd like to tell maven to retrieve these values into the pom.xml .For
instance , i need to set default target directory to
${projectname}-${version} instead of t
The way I did it was
dir /b *.jar >> bag_of_jars.txt
Then I used regex's to turn bag_of_jars.txt into a batch file with mvn
deploy:deploy-file -DgeneratePom=true -Dfile=...
and I ran the batch file.
It's a once off, and since you have to tweak the groupId's to match what's
in the global repos a
There is nothing that says that a version number has to be a number!
I would do the TEST release as
1.2.3-SNAPSHOT -> 1.2.3-TEST-1
If you want to do multiple test releases (i.e. there was a big fubar with
1.2.3-TEST-1, so we're going again then you have 1.2.3-TEST-2)
When you are finally ready to
Hi
I am new to this maven, in my project we are using tomcat 6.0 and maven
2.0.8, I written the following code.
I have facing problem for start / stop the server with the pom build
script, I don't this is the correct code; I followed in cargo sample
code. But it is not working,
1) What m
hi, Could you please point me to existent ant / maven file (or hint the
other solution), that helps install a great amount of ordinary jar files
into local maven repository.
Basically, I'm going to reorganize my projects with maven principles and
tool, so I need to install into repository all cur
I'm not 100% sure it's the right forum to ask question about releasing.
But since it's supported by the release plugin and since I'm trying to
implement my cycle with it, I'm gonna give it a shot!
I'm trying to use the release plugin cycle to support our applications
staging needs.
While I now h
I couldn't send this message with the zip attachment, so I'm resending
without it (Thanks to Brian for helping me!)...
-- Forwarded message --
From: Fiouz <[EMAIL PROTECTED]>
Date: Wed, Mar 26, 2008 at 12:41 AM
Subject: Multi-module reactor ignores classifiers? Unable to release
T
73 matches
Mail list logo