I haven't been able to find the doco for release plugin.
Please could someone tell me, based on the scenario outlined below, if this how
the release plugin works.
NOTE: When I run release:prepare I get an 'isn't a snapshot' Exception.
Release scenario
-
I have a
This helped me out : http://www.phptr.com/articles/article.asp?p=405515rl=1
- Corné
Can someone point me to a minimal example that uses Maven to create a
minimal servlet and JSP?
Thanks,
sieg
-
To unsubscribe, e-mail: [EMAIL
Hi,
any idea when Continuum will support ClearCase? I'm testing luntbuild and
this works well with ClearCase. However, it kind of worries me that they now
have a (quite expensive) commercial version. I fear that the open source
version might be not as good as it can be, because the commercial
I am about to start a new project and
in prep have been coding up a few little test projects in order to evaluate
Maven2
on the whole I am confident enough re
Maven2 to push for it for my new project, but have resigned myself to writing
a few plugins to make up for various missing bits
also
First I am not going to promise maven-scm-provider for clearcase will be
avaiable soon
( too many options)
What kink of clearcase configuration do you use?
- Base SCM ?
- UCM ?
- Mix?
- Snapshot?
-Dan
On 10/11/05, Wim Deblauwe [EMAIL PROTECTED] wrote:
Hi,
any idea when Continuum
I have started writing an M2 plugin
for QALab but noticed on the plugion matrix that someone claims to have
alreadydone this.
http://docs.codehaus.org/pages/viewpage.action?pageId=27645
if it's been done could someone please
let me know where I may find it - none of the QALab people know of
We use Base SCM with dynamic views
2005/10/12, dan tran [EMAIL PROTECTED]:
First I am not going to promise maven-scm-provider for clearcase will be
avaiable soon
( too many options)
What kink of clearcase configuration do you use?
- Base SCM ?
- UCM ?
- Mix?
- Snapshot?
-Dan
On
multiple vobs?
-D
On 10/12/05, Wim Deblauwe [EMAIL PROTECTED] wrote:
We use Base SCM with dynamic views
2005/10/12, dan tran [EMAIL PROTECTED]:
First I am not going to promise maven-scm-provider for clearcase will be
avaiable soon
( too many options)
What kink of clearcase
not for the current project, so I can definitly live without that.
Luntbuild creates snapshot views before building. I don't know it that is an
easier approch? If so, I would already be happy with having that.
regards,
Wim
2005/10/12, dan tran [EMAIL PROTECTED]:
multiple vobs?
-D
On
You also have some complementary info here :
http://maven.apache.org/using/war.html
Yann
--- Corné Krul [EMAIL PROTECTED] a écrit :
This helped me out : http://www.phptr.com/articles/article.asp?p=405515rl=1
- Corné
Can someone point me to a minimal example that uses Maven to create a
Hi Michael,
There is some doco here :
http://maven.apache.org/maven2/plugins/maven-release-plugin/
The Release plugin can do exactly what you need. However, the convention for a
trunk version is x.y.z-SNAPSHOT. So your scenario would rather be :
* your trunk version is 1.35-SNAPSHOT
* you call
Thanks for your response. I find the problem.
My project was a pure pom, but had the packaging jar. m2 install produced
an empty jar, a maven-metadata-local file, but the pom was not installed.
(And no errors nor warnings where produced).
Gilles
you're certain that there isn't a file
Hello,
Anybody knows what is the status of this bug ? I haven't seen anything
on jira on this.
I face the same probleme, since I which to use a POM dependency type
in Eclipse. And it's still a Maven2 undocumented feature by the way.
Very best regards,
Antonio
[EMAIL PROTECTED] 10/03 10:37
It is my normal practice when writing
Java to declare instance fields starting with the word 'the' - ie
theHeight rather than just height.
However when configuring my plug-in
i want the parameters to be called height, not 'theHeight'.
I tone on this page
You can only give one @parameter tag, but with multiple attributes.
@parameter alias=height default-value=600
- Brett
On 10/12/05, David Sag [EMAIL PROTECTED] wrote:
It is my normal practice when writing Java to declare instance fields
starting with the word 'the' - ie theHeight rather than
MNG-578, MNG-1078
On 10/12/05, Antonio PAROLINI [EMAIL PROTECTED] wrote:
Hello,
Anybody knows what is the status of this bug ? I haven't seen anything
on jira on this.
I face the same probleme, since I which to use a POM dependency type
in Eclipse. And it's still a Maven2 undocumented
Hi,
when setting a final name for a jar file (for instance to not include a
version number in the name of the file), I get into problems with the
generated manifest entry Classpath. This one still includes the version
numbered jars. Should this be considered a bug or is there a workaround for
I too am having this problem. Since I have a repo hosted in SVN in
Apache, I can easily check the log file to see when maven accesses it.
It doesn't at all.
Here's my settings.xml:
settings
profiles
profile
iddefault/id
activation
I think this is related only to the Ant tasks and a bug that Mark
filed yesterday.
- Brett
On 10/12/05, Dave Brondsema [EMAIL PROTECTED] wrote:
I too am having this problem. Since I have a repo hosted in SVN in
Apache, I can easily check the log file to see when maven accesses it.
It doesn't
Not sure about that. I'm only using m2 for this, not the ant tasks
themselves.
Additionally, I thought profiles were usable without putting them in the
settings.xml (trying to avoid putting anything in it). Thus the
activeProfiles doesn't help me as that is a settings.xml specific tag.
So the
Hi,
my variable needs to contain the characters like '', '' and ''. But maven
always converts them to entities (lt;, gt;, amp;). How can I disable this
conversion?
(maven 1.1 beta2)
Jan
-
To unsubscribe, e-mail: [EMAIL
Have a look at the TRANSFORM feature..
http://helpnet.installshield.com/robo/projects/helplibdevstudio9/IHelpCm
dLineMSI.htm
-Original Message-
From: Wim Deblauwe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 5:31 AM
To: Maven Users List
Subject: [m1] final name and
I have one project with three modules. A dependency might be needed in more
than one module. If I add that dependency to my top level pom.xml, the
modules below do not pick it up. I was under the impression that given
maven's inheritance capabilities I would be able to do this. What I want to
A very good sample project showing how this is done can be found at
http://jira.codehaus.org/browse/MNG-743
Basically you setup the project dependencies in the
dependencyManagement section and then reference those dependencies in
the child projects (minus the version number as it will get that
Hi,
I'm considering maven2 for dependency management for a group of
developers. I've done very well w/ getting a prototype up, and doing
some neat things w/ it. Good job guys so far. I've bumped into one hangup.
I can deploy to a server using scp on a standard port, but if I wish to
try
Nevermind the dork who doesn't know that the url should be
scp://sporty.org:4812/testRepository
[EMAIL PROTECTED] wrote:
Hi,
I'm considering maven2 for dependency management for a group of
developers. I've done very well w/ getting a prototype up, and doing
some neat things w/ it. Good
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you sure that the child pom.xml files declare a parent of the
top-level pom? You should refer to the parent pom by groupId,
artifactId, and version. Maven will automatically search for ../pom.xml
if you only build a child project, or you have the
Is there any way that when a dependency is configured, just that dependency
is downloaded and nothing else. It seems that with just a few dependencies
on a project, my lib folder in my war is growing way too big with jars that
I don't even need i.e. servlet-api-2.4.jar. I read the transitive
Say you have a multiproject like this
mymultiproject
+- project.xml
+- project.properties
+- common/
| +- project.xml
| +- project.properties
+- subprojecta
| +- src/
| | +- main/
| | | +- java/
| | | | +- com
| | | | | +- ...
| | | +- resources/
| | +- site/
| | | +-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You should be able to specify a profile in a pom and NOT have to use
activeProfiles/ in the settings.xml - that section is only for
profiles defined in the settings file.
Since you have activeByDefault specified, you should be able to run the
The maven genapp plugin will generate a struts based web application
project for you.
At 05:07 PM 10/11/2005, you wrote:
Can someone point me to a minimal example that uses Maven to create a
minimal servlet and JSP?
Thanks,
sieg
Can you be a bit more specific? What are you trying to do? Where do you
have variables with entities and which part of Maven converts them?
-Lukas
jan_bar wrote:
Hi,
my variable needs to contain the characters like '', '' and ''. But maven
always converts them to entities (lt;, gt;,
Ok those help a little in the trouble shooting. Still no solution but
here is what I'm seeing.
Behavior when doing a m2 projecthelp:effective-pom:
- If the profile is in the parent and not the child, then the
effective pom *does not* show any profiles.
- If the profile is in the child then
I think you add an exclusions tag to a dependency. See the POM
reference in the maven 2 site at
http://maven.apache.org/maven2/maven-model/maven.html;
enjoy..
On 10/12/05, Alvarado, Juan [EMAIL PROTECTED] wrote:
Is there any way that when a dependency is configured, just that
dependency
is
I've got a maven.xml snippet that looks like:
j:set var=maven.multiproject.includes value=a list of projects /
attainGoal name=multiproject:some stuff /
j:set var=maven.multiproject.includes value=a DIFFERENT list of projects
/
attainGoal name=multiproject:some different stuff /
...and I
Hi,
Is there any way to create a flattened project hierarchy that is
eclipse-friendly. I.e.
instead of:
master-project
+---sub-project-A
+---sub-project-B
to have a hierarchy like this:
master-project
sub-project-A
sub-project-B
Likewise, maybe this is my naivete with respect to using
Doh! I found this post after posting my post:
http://www.nabble.com/Re%3A-M2-Recommended-Project-Layout-and-Eclipse-t361944.html#a1002147
I'm reading through it now.
Brian
Brian Bonner wrote:
Hi,
Is there any way to create a flattened project hierarchy that is
eclipse-friendly. I.e.
FWIW, This sample posted in MNG-743 is *very useful*. Nice way of
illustrating dependent builds. If you haven't pulled this down already,
I'd recommend doing so and running an m2 install against it and then m2
eclipse:eclipse. It's a great starter template.
The biggest pain I see is that
Some samples:
!-- error, value cannot contain '' --
j:set var=test value=/
however:
j:set var=test![CDATA[]]/j:set
!-- outputs funny test: amp;lt;amp;gt;gt; --
ant:echotest: ${test}/ant:echo
j:set var=test value=gt;/
!-- outputs test: gt; --
ant:echotest: ${test}/ant:echo
When I set the
Is it with maven 1.0.2 or 1.1-beta-X ?
Arnaud
-Message d'origine-
De : Matthew Beermann [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 12 octobre 2005 19:59
À : users@maven.apache.org
Objet : [m1] Changing multiproject lists?
I've got a maven.xml snippet that looks like:
j:set
At 03:43 PM 10/12/2005, Adrian wrote:
I'm trying to run an executable (windows, script on linux) via maven.xml;
program needs to take command line arguments;
I'm looking for an example on how to do this; could not find anything in
any docs, or examples except on calling built in
It seems like the escapeText=false attribute for the j:set tag
should be doing what you want, see
http://jakarta.apache.org/commons/jelly/tags.html#core:set .
However, from some quick test I did this doesn't seem to work...
Another jelly quirk?
-Lukas
jan_bar wrote:
Some samples:
!--
Everytime I think I get it figured out I realize I'm missing something.
I have a project like this:
A.jar depends on X Y Z (compile and to run)
B.jar depends on A (compile and to run)
C.war depends on B
When I build C, shouldn't the war pickup the transitive dependancy of A,
X,Y,Z and
Many projects in the m2 repository don't specify scope and optional
properly for all their dependencies, so you can get a lot of extra jars.
What I've done to solve this is create our own remote repository which
has pom files to override ones like that in ibiblio.
Alvarado, Juan wrote:
Is there
I don't think any of this is Maven specific; seems like general XML problems.
For what you want the correct format is most likely:
j:set var=test value=lt;gt;/
-Stephen
On 10/12/05, jan_bar [EMAIL PROTECTED] wrote:
Some samples:
!-- error, value cannot contain '' --
j:set var=test value=/
Anybody able to help? I think I did follow the instructions on
http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html
Thanks!
On 10/11/05, Thomas Van de Velde [EMAIL PROTECTED] wrote:
Hi,
I've tried to configure Xdoclet with M2 but it's not calling the xdoclet
goal. Here's the
Hi,
I'm trying to prepare a release using m2 release:prepare. Inside the
POM I have:
plugins
plugin
artifactIdmaven-release-plugin/artifactId
inheritedfalse/inherited
configuration
Hi,
*I think* the pluginManagement section only sets defaults. To
actually bind the plugin to the lifecycle, you need to add something
like this (in parallel of the pluginsManagement element):
plugins
plugin
artifactIdxdoclet-maven-plugin/artifactId
groupIdorg.codehaus.mojo/groupId
Do repositories defined in settings.xml or poms always override the
ones in ibiblio?
On 10/12/05, Dave Brondsema [EMAIL PROTECTED] wrote:
Many projects in the m2 repository don't specify scope and optional
properly for all their dependencies, so you can get a lot of extra jars.
What I've done
On 10/11/05, Brian E. Fox [EMAIL PROTECTED] wrote:
Kindof. We are moving from ANT and have a lib folder with 100+ jars. I'd
like to visually see which ones we directly depend on and then have a
tree that shows what those depend on. I experimented with Jdepend, but
it didn't really do what I
On 10/9/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Thu, 2005-10-06 at 19:06 +, John Fallows wrote:
On 9/28/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Mon, 2005-09-26 at 22:02 +, John Fallows wrote:
On 9/25/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Sat,
Folks,
I developing a non-aggregator plugin that is manually executed on
the command line using the goal name, in much the same way as m2
idea:idea is executed.
However, this custom:custom plugin is still under development and so
it has a n.m-SNAPSHOT version and has never been deployed to any
HI..
I have a testng plugin code that will work on 1.4 vm, but i
experienced some problems with the annotations version of testng. The
actual testng plugin is very simple to make (at least as a standalone
plugin), so if you are using testng with 1.4 javadoc tags, just drop
me a mail, and i could
You need to figure out the right groupId for the exclusion. Depending
on where you're getting the dependency from it's either
groupIdservletapi/groupId or groupIdjavax.servlet/groupId
-Stephen
On 10/12/05, Alvarado, Juan [EMAIL PROTECTED] wrote:
Is there any way that when a dependency is
Beyond
http://people.apache.org/~jvanzyl/maven2/guides/mini/guide-manifest.html
are there any docs for setting up the manifest of the jar?
I have a case where the resulting manifest needs to look similar to:
=MANIFEST.MF
Is there a way to configure maven 1.1 to use a m2 repository layout?
Or m2 to install into a m1 like repository layout? The central repository
I've found this reference: jdcasey on #maven answering to garrett,
it would depend on whether maven 1.1 uses maven-artifact
And I don't think 1.1 does
NVM. I'm just getting worn out I think. I needed to restudy the
implications of transitive dependancies posted on the site.
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 4:30 PM
To: Maven Users List
Subject: Transitive dependancies in
Oh sure - I meant in general... does maven declare that poms defined
in internal repos override ibiblio?
On 10/12/05, Stephen Duncan [EMAIL PROTECTED] wrote:
You need to figure out the right groupId for the exclusion. Depending
on where you're getting the dependency from it's either
I was really looking for more detailed documentation.
For example:
What do the two stages (release:prepare and release:perform) actually do?
A release.properties file is generated by release:plugin, how is this used?
Can I use the release plugin without using snapshots?
Thanks
Michael McCrann
I'm running Windows 2003 server with Eclipse 3.1 and Java 1.5 and maven
1.0.2.
I'm trying to make my first program using maven work with source code at
http://jakarta.apache.org/commons/httpclient/tutorial.html execute in
eclipse.
Is it necessary to manually add the external jar files in
You can take a look at the maven eclipse plugin for a start.
(http://maven.apache.org/reference/plugins/eclipse/goals.html)
In partciular, the goal eclipse:add-maven-repo should be able to help you
out to make the dependencies visible in eclipse.
Cheers,
AK
-Original Message-
From:
Hi,
Apologies for reposting, but I'm still hoping for some advice on how
to host my plugin in the sandbox - could be I picked a bad time for
my original post. Maybe I couldn't see for looking (happens
sometimes) but I didn't see anything resembling a submission process
at this link:
Hi,
In my pom.xml, I am setting my version to be a SNAPSHOT version:
version1.35-SNAPSHOT/version
when I run the release:prepare, I get the the error shown below.
Any ideas?
Michael McCrann
Provider message:
The cvs command failed.
Command output:
[INFO]
Thanks,
I tried that and I still get the red squigglies! I even tried stopping and
restarting eclipse.
Maybe I'm specifying the maven repository incorrectly. I'm just using the
default that maven 1.0.2 set up. Does this look like a correct value for
maven_repo in eclipse? (I noticed Eclipse 3.1
Hi,
I'm looking into writing a couple of m2 plugins and, from looking at the
existing m2 plugin set, a lot of useful functionality is provided by the
plexus toolset.
Is there any user documentation or javadoc available for plexus?
I've checked out the plexus home page on codehaus but there
you can just add MAVEN_REPO as a java build classpath variable, point to
directory from within Eclipse GUI
Adrian
At 10/12/2005 04:58 PM, Siegfried Heintze wrote:
Thanks,
I tried that and I still get the red squigglies! I even tried stopping and
restarting eclipse.
Maybe I'm specifying the
Hi,
I know there's the Maven plugin to generate and Eclipse project.
Is there an archetype to produce Eclipse plugins and features? Maintain the
project.xml and manifest.mf files so that the plugin is consistent and
correct.
Thanks,
greg
Please submit these fixes back to the project if you can. It won't
take long for us to get all the metadata cleaned up in this way.
- Brett
On 10/13/05, Dave Brondsema [EMAIL PROTECTED] wrote:
Many projects in the m2 repository don't specify scope and optional
properly for all their
I see you commented on the issue. I think this could be cloneModel...
would appreciate if you have time to look into it.
Cheers,
Brett
On 10/13/05, Arik Kfir [EMAIL PROTECTED] wrote:
Hi,
I'm trying to prepare a release using m2 release:prepare. Inside the
POM I have:
plugins
It should be reasonably simple to add this to Maven 1.1, but only for
reading JARs it will not be able to do transitive dependencies or read
the POMs.
- Brett
On 10/12/05, jerome lacoste [EMAIL PROTECTED] wrote:
Is there a way to configure maven 1.1 to use a m2 repository layout?
Or m2 to
Hi,
Does M2 have its code for doing SCM operations, or does it use an SCM client
that is installed on the machine that M2 is running from.
If it is the latter, does the version of the SCM client matter.
In particular, I have cvs client installed, which shows its version as:
Concurrent
I think this one might be a new issue.
- Brett
On 10/13/05, John Fallows [EMAIL PROTECTED] wrote:
Looks like the issue has been closed, but I couldn't find any way to
customize the includes/excludes for the test jar.
Is this supported already or should I file another issue?
Kind Regards,
Hi,
I am still trying to get release:prepare to work. I have updated my
CVS:
Concurrent Versions System (CVSNT) 2.0.51d (client/server)
When I run release:prepare, I get:
Provider message:
The cvs command failed.
Command output:
-f add: release-pom.xml should be removed and is still there (or
Thanks Stephen, but it doesn't help, I want to see the characters, not their
entity character counterparts.
Jan
Stephen Duncan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I don't think any of this is Maven specific; seems like general XML
problems.
For what you want the correct
74 matches
Mail list logo