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
Hi,
When executing
mvn scm:branch -Dbranch=branchName
scm plugin create the branch but doesn't update the scm section with the
created branch (in tag) .Is it normal ? how should I do it ?
There is the same problem with scm:tag.
Benoit
When you say System Testing, I assume you are actually talking about
Functional Testing? In my experience, this usually means end to end
integration testing, so if you're already doing that, I don't know
what else you're looking to do.
Realistically, I would suggest that you talk to the testing
Hello There
I am trying to use maven to check out my project from cvs but I haven't been
able to get the correct syntax in the pom.xml file in order to do this.
Could anyone point me to the right direction!. Thanks for your help.
Sowmya.R wrote:
Hi Wayne ,
I got where is that problem .
We increment it manually every build (the release plugin doesn't work
for us, but we manually follow the same process). With svn you can move
a tag just like anything else, so we just move it to release-tags when
it's actually released from qa. If we rebuild, it must go through qa
again.
Hi all,
Recently, some developers did a release manually. So they put a release version
in the pom and triggered a deploy. Everything fine but...
The thing is: they forgot to re-update the pom.version to a new snapshot
version.
So, as the code is continuously integrated, at each new commit,
Hi,
To checkout the project you have to include scm tag
scm
connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
://folder/${mybranch}/connection
developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
://folder/${mybranch}/developerConnection
When i use package goal, as result i have a *.jar file in my target folder.
How can I do, if i want 2 *.jar file. First in target folder, second, in
other folder. If it is dificult, how can i create only 1 *.jar file in not
default (target) folder. THX!
--
View this message in context:
Just run a command after executing mvn package that copies the file.
#mvn package
snip
#cp target/file-1.0.0.jar /other/directory/
One file copied.
#
If you want a better response, tell us more about what you're trying
to do and why.
Wayne
On 3/27/08, author [EMAIL PROTECTED] wrote:
I think it should be defined at the repository definition level.
Jeff MAURY
On Thu, Mar 27, 2008 at 2:32 PM, MATHUS Baptiste [EMAIL PROTECTED] wrote:
Hi all,
Recently, some developers did a release manually. So they put a release
version in the pom and triggered a deploy. Everything fine
Others have asked about this previously. I would imagine it is filed
in JIRA if you go look for it.
The general response is, you can manage the rwx bits on your deployed
artifacts to avoid this happening. Off the top of my head, I think a
cron job that modifies the ACLs for deployed non-snapshot
Well:
* I think you're right: I'll open a thread in the archiva users ML to see if
it's possible. At least it would be a good idea for improvement.
* But I also think maven-deploy-plugin would be better if it had this option.
At least it would help debugging. Or some option like -DdryRun=true to
As soon as you write the code and contribute it, I'm sure it will be
greeted with open arms. ;-)
Until someone gets really inspired to do this, I just have no real
expectation for when it will happen. Many people are solving this
problem with other solutions (previously mentioned) so its
Hi all,
Is it already possible with archiva to forbid that a released artifact be
overridden?
I checked the archiva interface, and it seems it doesn't, but I prefer
re-checking here.
I didn't find any feature request about this in the tracker, I guess this
should be added, shouldn't I?
Hi,
Where can we go to search groupId ArtifactId of frameworks when www.*mvn*
repository.com/ is out of order ?
Regards,
Gerald
Manually dig through repo1.maven.org yourself, by hand.
Its really not that bad.
Wayne
On 3/27/08, Gerald Reinhart [EMAIL PROTECTED] wrote:
Hi,
Where can we go to search groupId ArtifactId of frameworks when www.*mvn*
repository.com/ is out of order ?
Regards,
Gerald
Don't worry. I'm totally aware of how the open source community works and
wholeheartely support it :).
I'll never complain if something isn't done quickly. If I really need
something, I'll just try and provide the patch myself.
In the meantime, I'll log the improvement request
Hello all,
We are migrating our build process from ant to maven. Our software
architect doesnt' want to let maven download dependencies , he wants
to know exactly which librairies we use and adds a new one only after
validation. So i installed archiva for internal repository , and i
deploy every
Hi All,
I am trying to deploy a site to MS Sharepoint which is *not* behind a proxy
via webdav (Sharepoint supports webdav protocol).
For that I have defined site in my pom (it worked well for deployment to IIS
via webdav which didnt use NTLM auithentication):
distributionManagement
This is the default in the new code, but it wasn't merged back to 2.0.x
I believe.
-Original Message-
From: MATHUS Baptiste [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 9:32 AM
To: Maven Users List
Subject: [deploy-plugin] Abort deploy when a target is present
Hi all,
It's done... there is a force flag to force a deploy if you need to, otherwise
it will fail.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 11:48 AM
To: Maven Users List
Subject: Re: [deploy-plugin] Abort deploy when a target is present
As
This response arrives a bit late :wistle:, i know ... but here is the
solution.
The problem is that the latest release of maven-ear-plugin at the moment is
2.3.1, and this version don't implement this feature yet!!!
data-sources tag is considered since version 2.3.2, and actually
Hello All,
The page[1] below nicely shows us how to precompile JSPs before the WAR is
created. It works perfectly well. Problem is though, we have an additional
requirement to delete the JSPs after they are precompiled, so that no JSPs
are in the WAR (only their compiled versions are to stay.)
hi,
If u mean acceptance testing,
google Maven + Selenium u'll find a plugin to be integrated for doing
user-acceptance testing
hth
marco
On Thu, Mar 27, 2008 at 11:24 AM, Wayne Fay [EMAIL PROTECTED] wrote:
When you say System Testing, I assume you are actually talking about
Functional
Wow, I obviously have not been keeping up with this issue. We have
various internal controls such that I don't particularly care about it
right now.
Thanks Brian.
Wayne
On 3/27/08, Brian E. Fox [EMAIL PROTECTED] wrote:
It's done... there is a force flag to force a deploy if you need to,
Does maven 2 provide a text substitution feature?
I've looked through the docs, but not found anything.
Specifically I would like to copy the version
(version1.0.10/version) from the pom into a (xml) file
in our application so the version can be displayed in the
application.
Currently we have
Check out
http://maven.apache.org/guides/getting-started/index.html#How_do_I_filte
r_resource_files. That may get you started.
Andrew
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2008 3:14 PM
To: users@maven.apache.org
Subject: Text
Yes. Put a property file in /src/main/resources containing:
Version= ${project.version}
Then enable filtering in the resources section of your pom for
/src/main/resources and this file will end up in /target/classes with
the version correctly filtered.
-Original Message-
From: [EMAIL
There is another syntax you need to tell maven which server settings to
use, lets see...ah like this:
apache.releases::default::scp://people.apache.org/home/brianf/public_htm
l/staging-repository
The above tells maven to use the credentials defined in my settings
under apache.releases, that the
Hi Sowmya.R
Thanks so much for your reply. I have tried what the code that you sent me
but I get an error. Below is my pom.xml...
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi,
I've done this by configuring an exclude filter on the JSP files in the
configuration
section of the maven-war-plugin. This way JSPs are not in the final WAR
file.
Hope that helps.
Olivier
On Thu, Mar 27, 2008 at 7:56 PM, Glen Mazza [EMAIL PROTECTED] wrote:
Hello All,
The page[1]
The Maven Findbugs team is pleased to announce the release of the Maven
Findbugs Plugin version 1.2
This plugin allows the developer to run Findbugs analysis against a
Maven project and produce site output in HTML to match other site
reports. There are option to produce other XML outputs
I found the answer to my problem and would like to save it here for the
archives.
The basic process I followed was: after the WAR is created, use the
maven-antrun-plugin to open it up, delete the JSP's, and rezip the WAR. To
do this, I added the following execution to my maven-antrun-plugin
Hi !
I have an artifact (jar file) which contains jrxml files and classes
implementing JRDataSource. Theses classes are used in my jrxml files.
I want to use jasperreports-maven-plugin to compile jrxml files. Jasper
compilation fails because it cannot find my classes implementing
Try binding the compile-reports goal to the compile phase of the build.
Like so...
executions
execution
phasecompile/phase
goals
goalcompile-reports/goal
/goals
/execution
/executions
That still might not do the trick. I'm not sure when the plugin will get
executed with respect to the Java
i'm using the assembly plug-in to create an assembly in the form of a
directory which contains my
jar file which is created by maven and it also contains a lib directory with
all the jar files that are dependencies of this build
this is what my assembly xml looks like
assembly
iddist/id
Please file a JIRA a submit a reproceable sample source.
and better yet, take a look at the source and see if you can fix it :-)
Thanks
-D
On Thu, Mar 27, 2008 at 4:32 PM, David C. Hicks [EMAIL PROTECTED] wrote:
Try binding the compile-reports goal to the compile phase of the build.
Like
Thanks a lot David !
Adding phasecompile/phase solves the problem because it forces the plugin
to compile the report after the java classes compilation.
Regards !
Eric Lewandowski
-Message d'origine-
De : David C. Hicks [mailto:[EMAIL PROTECTED]
Envoyé : 27 mars 2008 19:33
À : Maven
Hi, I am also new user of this maven.
I will tell you one simple step to do this.
checkout the project from cvs using eclipse.With in the project your going
to get pom.xml.
using that pom.xml just replace the values in SCM your having in username
and password (what I have sent earlier) .
39 matches
Mail list logo