Add your target directory in svn ignore list
Emmanuel
Omar S. ElNaggar a écrit :
I'm also a new continuum user and have been getting the same error. I tried
doing 'svn cleanup' but it doesn't seem to be helping. Has anybody had any luck
with the problem?
--- From Re: Problem with
Which port have you changed?
We use 2 ports : one for http request(8080) and one for xmlrpc request(8000)
Emmanuel
Roland Kofler a écrit :
changed port in appliaction.xml,
it works but this error shows up, is ther another service that fails???
thanks
roland
INFO | jvm 1| 2006/02/08
Not yet, need to investigate.
Emmanuel
Roland Kofler a écrit :
I have the bug described here (on linux):
http://jira.codehaus.org/browse/CONTINUUM-488
does anyone know a workaround for my company repository?
thanks
Roland
Henry S. Isidro a écrit :
[EMAIL PROTECTED] wrote:
Dear Henry,
I have got org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT.
However, I can't get com.solarmetric:kodo-jdo:jar:3.0
I don't think it's in the repositories. Have you tried their website --
http://www.solarmetric.com/
Henry
Dear Stephane,
You mean that kodo-jdo-runtime.jar?
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
stéphane bouchet
On Feb 7, 2006, at 20:54, Kristof Vanbecelaere wrote:
Hi,
when using 2.1-SNAPSHOT of maven-jar-plugin, is there a way of
getting a custom manifest file in a jar? Or getting classpath
entries in the generated manifest? And which would that be?
I guess what I am asking for is support for
[EMAIL PROTECTED] a écrit :
Dear Stephane,
You mean that kodo-jdo-runtime.jar?
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
On 2/3/06, Darryl L. Pierce [EMAIL PROTECTED] wrote:
jerome lacoste wrote:
On 2/2/06, Darryl L. Pierce [EMAIL PROTECTED] wrote:
I would like to be able to run an application from the commandline using
Maven. The ideal thing would be for Maven to create the command line,
especially the
Hi maven-users!
I've got a m2 project with several levels of sub-modules, held together by a
main pom of packaging type pom. In each sub-module there is a parent entry
pointing to the module above, including the relativePath tag pointing to
../ .
I don't quite understand the use of the
Dear Stephane,
I have compiled the maven-kodo-plugin and installed it sucessfully.
Another project'm pom is
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi
=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
On Feb 7, 2006, at 20:54, Kristof Vanbecelaere wrote:
Hi,
when using 2.1-SNAPSHOT of maven-jar-plugin, is there a way of
getting a custom manifest file in a jar? Or getting classpath
entries in the generated manifest? And which would that be?
Is the info in
Mi Mark,
I've had a bit of a play with custom compilers to add C# support. They are
actually plexus components not maven as such though you get to them via the
maven compiler plugin. If you are implementing a custom one I would
recommend speaking to the bods on the #plexus IRC channel as they
You can also build release and scm plugins from sources
Emmanuel
Mike Perham a écrit :
Maven is actually composed of about a million little versioned jars. I'm
referring to the Maven SCM subsystem, whose latest release is 1.0-beta-2. You
would need to check out the maven scm source code
Mark,
To log onto link 2 use anonymous and anon.
Cheers,
Chris
-Original Message-
From: Stevenson, Chris [mailto:[EMAIL PROTECTED]
Sent: 08 February 2006 10:02
To: 'Maven Users List'
Subject: RE: where to define custom compiler?
Mi Mark,
I've had a bit of a play with custom
[EMAIL PROTECTED] a écrit :
Dear Stephane,
I have compiled the maven-kodo-plugin and installed it sucessfully.
Another project'm pom is
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi
=http://www.w3.org/2001/XMLSchema-instance;
Hi Jeff,
I posted a comment on the issue you opened.
I don't know which plugins use the bad release of the commons-collection.
Can you attach to the issue the list of your plugins (maven -i)
Can you try the last snapshot of maven 1.1 beta 3 :
Hi all,
i've the folowwing error:
Embedded error: Failure executing PMD for: D:\..\test\TestClient.java
java.lang.OutOfMemoryError
What is the Problem? Is there a possibillity to give maven a litte bit more ram
;-)
Fredy
It's a little caveat.
If you configure for example Sun's JDK 1.5.0_06 in 5.0 or 5.1 it will be
named - by default - 1.5.
However, in 4.5 and before it named something like ... 1.5.0_06,
giving problems when updating to _07, because all project files needed
to be updated too.
Maven is
We are pleased to announce the Maven Eclipse Plugin 2.1 for maven 2 release!
http://maven.apache.org/plugins/maven-eclipse-plugin/
Changes in this version include:
** Improvement
* [MECLIPSE-47] - Support for wtp 1.0
* [MECLIPSE-55] - Documentation: eclipse:eclipse creates Projects
or
Can you check if your jalopy jar isn't corrupted in your local repository ?
Arnaud
On 2/8/06, Wendy Smoak [EMAIL PROTECTED] wrote:
Twice now, on two different machines (same codebase, though,) the
Jalopy plugin was working fine and then suddenly stopped working with
the error below.
Full
it's a problem with m1 or m2 ?
Arnaud
On 2/8/06, Prathib Kumar [EMAIL PROTECTED] wrote:
Hi,
I had a issue with Jcoverage.
While instrumenting the classes of my project I m getting
WARN instrument, no source line numbers found for: xx.yy.zz.Classfilename ,
compile with debug=yes.
Hello All,
I have been experiencing issues while attempting to run the
command mvn test on my project.
Having spent a few days mulling over the problem, and being
unable to solve it myself, Im turning to the mailing list for guidance!
Is anyone able to make sense of the following
Kaare
I have a similar issue where I want to add a jar to the test classpath,
before running the tests.
The jar is generated dynamically (at runtime), so I can't make a static
declaration in the pom.
I need to do something like:
testResources
testResource
I reproduced a similar problem with the jalopy plugin 1.4.
It's because Jalopy isn't loaded in the root classloader.
I don't understand how we can missed this issue before the release :-(
We'll publish a release 1.4.1 soonly.
For your problem with the release 1.3.1, I don't understand because
In all cases you'll have a problem because 2.1 and 3.1 are binary incompatible.
http://jakarta.apache.org/commons/collections/compatibility.html
Arnaud
On 2/8/06, Matt Raible [EMAIL PROTECTED] wrote:
(Sorry, didn't mean to take this off list)
OK, I created an upload bundle and sent a message
H maven-users?
Is there a way to fork the execution of maven when doing a reactor build? I'm
having a problem with the xdoclet-maven-plugin because of a bug in xdoclet
itself (http://jira.codehaus.org/browse/MOJO-223). It's that issue where you
can't use xdoclet when you call ejbdoclet as well
The kodo plugin is currently not functioning. It worked in maven 2.0 but was
broken due to classloader changes/bugs in 2.0.1. See this jira for details:
http://jira.codehaus.org/browse/MNG-1898
I basically stopped working on this plugin until it gets resolved because it
won't load the kodo jar
Hi,
Good news.
I have a question concerning useProjectReferences.
I have the following structure :
root-directory :
pom.xml (root one which declares modules)
- module model (pom.xml)
- module services (pom.xml which depends on model)
- modules dao (pom.xml which depends on model)
-
Hi Jim,
to get this to work I have set up an
environment variable MAVEN_OPTS=-ea in my .profile (I am on MacOSX
- do whatever you need to do to set up env variables on your platform)
it's less than ideal but for now I have
been told this is the only way.
Kind regards,
Dave Sag
Jim
Hi everybody,
I'm using maven-proxy as described in the doco Using Maven in a corporate
environment
(http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment),
and everything works well except for snapshots.
I have snaphots of some of my components deployed in the
Why this has been changed in o.a.m.p.e.EclipsePlugin ??
@execute phase=generate-sources
to
@execute phase=generate-test-resources.
My project can compile due to a missing dependency and some jobs to.
I had it in my pom and try mvn eclipse:clean eclipse:eclipse. (with -cpu
because I'm happy to test
On Feb 7, 2006, at 0:35, Brett Porter wrote:
Yes, you just need to install the skins first with -
DupdateReleaseInfo=true set.
You mean like this:
mvn -DupdateReleaseInfo=true site
This is in my site.xml
skin
groupIdorg.apache.maven.skins/groupId
Maven is not working anymore, I was trying to add a regular Manifest fil into my
jar :-(
It seems to be a proxy or a connection problem but even with -o option it won't
work.
I also try to re-install everything but it did not work.
--
+ Error stacktraces are turned on.
[DEBUG] Building Maven
Gentlemen,
I tried to post this on Jira (Re: Maven 2.x Release Plugin).
webTest's most recent build is: Release class = 1.7, build number = R_1167
I would VERY MUCH appreciate it if you could get the most recent version
to allow downloading from your site
set MAVEN_OPTS=-Xmx512m
-Original Message-
From: Fredy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 5:09 AM
To: users@maven.apache.org
Subject: [m2] PMD Report - OutOfMemoryError
Hi all,
i've the folowwing error:
Embedded error: Failure executing PMD for:
Gents,
I've defined a custom artifact type which I've published in a separate
repository (not ibiblio) if I try and create the artifact with this call:
X:\some-dirmvn archetype:create \
-DarchetypeGroupId=com.javaforge.maven-csharp \
I've tested on a Fedora 4 and it works fine.
For the test, i defined the local repository in bin/linux/conf/settings.xml and remove it from my
${user.home}/.m2/settings.xml. I can't test with a proxy because i don't have one.
I don't think the problem is in maven code and in continuum code.
Thanks for the info - but I'm looking to force the generation process
to use Default as the jdkName.
http://weblogs.java.net/blog/crazybob/archive/2004/04/default_jdk_in.html
Matt
On 2/8/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:
It's a little caveat.
If you configure for example Sun's
Thanks. That almost does what I need. The directory element works
great (includes the correct files), but the path in the final assembly
zip file still includes the tools dir. Any suggestions on how to make
the assembly jar drop the tools dir?
-Original Message-
From: dan tran
[EMAIL PROTECTED] wrote:
Maven is not working anymore, I was trying to add a regular Manifest fil into my
jar :-(
[SNIP]
I've got similar problems. It seems like mvn-builds will always fail in
case of a network timeout instead of just using the latest version
available in .m2/repository...
which maven-metadata-central.xml did you look at? what was it's path in
the repository? There is group-level, artifact-level, and version-level
metadata, and all (IIRC) share this file name.
-john
Trent Rosenbaum wrote:
Thanks for the help John, I have reinstalled the j2ee archetype after
I'm trying to deploy to maven remote repository three jars produced by ant.
Those jars are in snapshot version.
Whole deployment process went properly, but something is wrong with names of
deployed files.
When I'm deploying artifacts using normal 'maven deploy', SNAPSHOT in the
name is
can you verify that the path:
org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
exists in your local repository? If not, then -o won't help you. I
suspect it's a problem with traffic on ibiblio, but I dunno for sure. I
can reach the URL given in that trace
actually, that's where offline mode is helpful. Of course, if you don't
have all the artifacts/poms cached in your local repository, it won't do
you much good...
-john
Joern Huxhorn wrote:
[EMAIL PROTECTED] wrote:
Maven is not working anymore, I was trying to add a regular Manifest
fil into
if you've setup this repository within a profile in your settings.xml,
is that profile in the list of activeProfiles/ in that settings.xml
config? I'm not sure whether this profile will ever be applied if there
isn't a project to apply it to...
Can you verify that you have activated that
Do you use a proxy?
http://maven.apache.org/guides/mini/guide-proxies.html
Emmanuel
John Casey a écrit :
can you verify that the path:
org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
exists in your local repository? If not, then -o won't help you. I
suspect
With Maven 2.0.2, mvn -e -X site:stage is producing:
[DEBUG] maven-site-plugin: resolved to version 2.0-beta-4 from
repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-site-plugin:maven-plugin:2.0-beta-4
[INFO]
Hi,
Does anyone know how to step through the source of dependent project in
eclipse in debug mode.
In Maven 1 you could do the following.
dependancy
groupIdBase/groupId
artifactIdBase-Log/artifactId
versionver-Base-Log;/version
property
Hi John,
I do have an active profile: My settings.xml is below.
Perhaps I could try forcing it a command line, do you know the switch for
that?
If you see nothing glaring about this I'll file a JIRA.
Thanks,
Chris
profiles
profile
iddefault/id
properties
I've got build setup with dependencyManagement, reports and all bells
and whistles, and it works fine in windows. On Solaris however, I can't
build any projects that have a packaging type other than pom (the pom
types work ok).
I thought I knew Maven, but I'm quite clueless about this one.
I'm currently in the process of setting up a Cocoon project to use Maven 2
to automate the build process. I'm now at the stage where I have built and
package the source and am ready to deploy the resulting artifacts to our
Cocoon environment. We have multiple projects running in this
If you are a Windows user, make a folder named .ssh in %USER_HOME%, i.e
C:\Documents and Settings\user id\.ssh
Michael
-Original Message-
From: Luca Gmail [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 10:39 AM
To: 'Maven Users List'
Subject: RE: [m2] ignore known hosts
In
Yup, ${settings.localRepository} works for me too, Bret ?
Sanjay Shukla,
HPI Product Engineering, 2 Penn Plaza, NY.
212 904 3629 Office
732 692 4419 Cell
-Original Message-
From: mvdp [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 08, 2006 10:39 AM
To: Maven Users List
Subject: RE:
Is there a plugin/procedure for building with an endorsed jar in maven 2?
For example, Xalan.
Thanks,
Brian Yoffe
This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official
On 2/8/06, Olivier Lamy [EMAIL PROTECTED] wrote:
Why this has been changed in o.a.m.p.e.EclipsePlugin ??
@execute phase=generate-sources
to
@execute phase=generate-test-resources.
see the recent discussion at http://jira.codehaus.org/browse/MECLIPSE-37
the execute phase has been changed in
I've created a project (we'll call it ModuleA).ModuleA has been
released to a maven-proxy.Thus, sources and javadocs have been nicely
packaged, digested, and deployed.Now, another developer wants to use
ModuleA as a compile time dependency on his project - calledyou
guessed
Ok, I understand.
But adding source root is needed for what : jaxb binding, xmlbean, axis
stubs generation and so on .. ??
In this case, people (I do like this) can create a simple module which
is in charge of this job which is not to be done each time I compile my
project.
- Olivier
PS : I
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
I ended up with a tradoff and now ship any custom libs as a dependency
of type 'system',e.g.
dependency
groupIdorg.chiba/groupId
artifactIdchiba/artifactId
version1.2.0/version
scopesystem/scope
systemPath${basedir}/lib/chiba-1.2.0.jar/systemPath
/dependency
Other well known public
This says this is a maven 1.0 plugin, and that to install it you just
drop it into your plugins directory under your maven installation. Two
questions:
1) Can this be used with maven 2?
2) I don't have a plugins directory. Should I create one, or is that
directory only significant for maven
hi I am wondering is het possible to assign a different compiler. I want to
use the eclipse compiler for my builds.
thanx
Rolf
Check http://mojo.codehaus.org/jboss-sar-maven-plugin/, not
http://docs.codehaus.org/display/SM/Maven+SAR+plugin
Everything under http://mojo.codehaus.org is for maven2.
Be aware that you may need to build it from sources as I don't think
it has been released yet.
On 2/8/06, Brad O'Hearne
I'm trying to follow the instructions on this page:
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
Per the warning at the top of the page, I made sure that maven-plugin-plugin
2.1 is in use, but after installing the hello-plugin I am unable to invoke
it. I get the
On Feb 8, 2006, at 15:29, Kristof Vanbecelaere wrote:
On Feb 7, 2006, at 0:35, Brett Porter wrote:
Yes, you just need to install the skins first with -
DupdateReleaseInfo=true set.
Anyone else looking for the info, this is a link explaining
Hi,
I installed a few jars in my local repository using
the install command shown in the maven documentation.
The build works fine, except it tries to download a
pom for the installed jar everytime it runslike
this:
Downloading:
http://repo1.maven.org/maven2/el-ri/el-ri/1.0/el-ri-1.0.pom
add -DgeneratePom=true to the install command
On Feb 8, 2006, at 21:46, Ole Ersoy wrote:
Hi,
I installed a few jars in my local repository using
the install command shown in the maven documentation.
The build works fine, except it tries to download a
pom for the installed jar everytime it
I have a new issue/requirement to have 4 different sym links added to a sar.
But I am using XP to build, and then deploy on Linux.
How can I accomplish this please?
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
After some hours of trial an error, I wasn't able to make scm with
subversion work
svn: Cannot copy path '.' into its own child '../tags/0_1'
Every time I run maven release:prepare, I obtain the next error
I'm running it in linux
Thanks guys!
[DEBUG] Configuring mojo '
Hi,
The site:deploy hang situation has been fixed and will be released in
maven 2.0.3. See
http://jira.codehaus.org/browse/MNG-1938
and
http://jira.codehaus.org/browse/WAGONSSH-36
Ørjan
Johnson, Jonathan wrote:
Hi all,
Is anyone aware that the following command
mvn clean
Is it possible to turn off info logging (i.e. setting to warn) for the
mvn command? I'd like to make running mvn look like things do when
I run ant. All the logging is somewhat annoying.
Thanks,
Matt
-
To unsubscribe, e-mail:
Alex,
Thanks, that helped tremendously! However, I am having trouble getting
the plugin from the repository. I put the following in my pom.xml file
from your sample:
build
plugins
plugin
extensionstrue/extensions
I think there's a jira to reduce velocity logging which is the most verbose.
On 2/8/06, Matt Raible [EMAIL PROTECTED] wrote:
Is it possible to turn off info logging (i.e. setting to warn) for the
mvn command? I'd like to make running mvn look like things do when
I run ant. All the logging is
We should add a quiet option to go to WARNING leavel, like in m1, but
if you have a specific logging issue, let us know in JIRA. Perhaps we
could create an issue and start listing out things that aren't needed?
- Brett
On 2/9/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
I think there's a jira to
On 2/8/06, Brett Porter [EMAIL PROTECTED] wrote:
We should add a quiet option to go to WARNING leavel, like in m1, but
if you have a specific logging issue, let us know in JIRA. Perhaps we
could create an issue and start listing out things that aren't needed?
As Carlos already pointed out,
Rolf,
If you are using Maven 2, set the executable parameter for the
compile:compile goal:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
For a description of how to set compiler parameters, see
http://maven.apache.org/plugins/maven-compiler-plugin/howto.html
For Maven
I SUBDIR1 extends TOPDIR then you can put these properties in the
TOPDIR and SUBDIR1 will have access to them (using the inheritence).
Arnaud
On 2/8/06, Matteo Melani [EMAIL PROTECTED] wrote:
Hello,
I have a multi project setup: let say that the top directory is called
TOPDIR. TOPDIR has a
Hi everybody,
I'm using maven-proxy as described in the doco Using Maven in a corporate
environment
(http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+env
ironment),
and everything works well except for snapshots.
I have snaphots of some of my components deployed in
The svn version 1.1 of dependency-maven-plugin can download all these
types of jars based on the dependencies in your project.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 12:19 PM
To: Maven Users List
Subject: Downloading
I have a plugin which does some work and generates a value. How can I
access that value in the POM?
I've tried adding the value into the Map retrieved from
getPluginContext(), and using System.putProperty, but in neither case
can I access the property in the POM, using something like $
How do you use iheritance in a project.properties?
I know how to use it in project.xml?
-Matteo
Arnaud HERITIER wrote:
I SUBDIR1 extends TOPDIR then you can put these properties in the
TOPDIR and SUBDIR1 will have access to them (using the inheritence).
Arnaud
On 2/8/06, Matteo Melani
My previous email was a disaster: sorry! I'll try again.
I know how to inherit (include) a project.xml but I do not know how to
do it with project.properties file.
Thanks for helping,
-Matteo
Matteo Melani wrote:
How do you use iheritance in a project.properties?
I know how to use it in
Hi,
Im studing m2 and something is not yet clear in my mind
How can I merge the contents of the common-war project module with a
common-resources project. This resource project has only tlds, css and
other web stuffs...
I want this merge be done before the war file be generated... I
Does anybody know how to get eclipse to ignore the target directory? I
refreshed the whole set of projects I have, and it was running
validators on stuff in the target dir.
Also, I have 'JSP Syntax Validator' unchecked in the Validation
preferences section, and I was still seeing JSP
Hello,
what is the benefit of including in the project.xml file a dependency
to a plugin? (Besides telling other developers that the build depends on
the plugin)
For example let say that I include in my project.xml:
dependency
groupIdcodeczar-tomcat/group
According to the following reference, this plugin should exist.
http://jira.codehaus.org/browse/MOJO-262
However, when I try to access this plugin using
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjboss-sar-maven-plugin/artifactId
The plugin is automatically downloaded and installed instead of to ask
to the other developpers to manually install it.
It forces the developpers to use THIS release of the plugin for the project.
Arnaud
On 2/9/06, Matteo Melani [EMAIL PROTECTED] wrote:
Hello,
what is the benefit of
I think what he was trying to say was that if you gain access to the
properties (from project.properties) in your parent, then you
automatically have access to them in the child. Just access them in
the child the same way you would normally - they should be there. I'm
assuming you're
yes in m1 the properties files are named project.properties or build.properties
Arnaud
On 2/9/06, Julian Wood [EMAIL PROTECTED] wrote:
I think what he was trying to say was that if you gain access to the
properties (from project.properties) in your parent, then you
automatically have access
You might try right-clicking on the target folder in Eclipse and selecting
Properties. Check the Derived checkbox and see if that helps.
BTW, that should also exclude any files in there from appearing in a list like
you get with Ctrl-Shift-R (Open Resource).
K.C.
-Original
I have been using maven with cvs, and now am needing to move to subversion.
And I am very confused at the how to deal with the ./branches, ./releases,
./trunk I am seeing in an existing subversion project (that does not have
maven currently).
---
Thank You
Mick Knutson
Sr. Java/J2EE
Webdav is supported now? since when? I was really waiting for that! thank!
On 1/25/06, Matthew L Daniel [EMAIL PROTECTED] wrote:
It seems nobody has ever tried http.
That's certainly not true, but you are right that WebDAV support has
been very quiet on these lists.
I found the
It looks right to me. Did you delete the release.properties file and
try again? tapestry4-playroom is an svn working copy? The tags
directory exists in your svn repo?
Maven is trying to copy everything in trunk to tags/tapestry4-
playroom-0_1. So try on the command line (there should be a
Are you sure on this? I thought declaring a plugin dependency lets your
project depend on a particular version of a plugin without actually
installing it - so you can use that plugin on the fly without messing up
your (and every developer's) Maven installation.
There is actually a
Lukas,
I had read that issue, but didn't get it until now. I think you're
correct, declaring the plugin as a dependency causes it to be installed
into the local repo, and expanded into the cache, but not installed into
the maven plugins directory.
Arnauds statement that It forces the
I guess my confusion is that the ant project I am migrating is boken up into
3 different ars, but each has their own branch and trunk. Thus I was
confused by trying o match that to a module in m2. So it seems that I am
just going to have to create 1 maven project fo each jar.
Then however, my
Let's see if I get it:
I use plugin X and Y for building my project therefore I put 2
dependencies in the project.xml.
Now when other developers check out the code and run Maven the *.jar
file of the plugins get downloaded in the repository.
Now the developers have to install the plugin
If you're doing the porting, and it's okay to change around what is
in cvs/svn, I would do the following.
myproject/releases
myproject/branches
myproject/trunk
myproject/trunk/pom.xml
myproject/trunk/src
myproject/trunk/jar1/
myproject/trunk/jar1/pom.xml
myproject/trunk/jar1/src
Matteo Melani wrote:
Let's see if I get it:
I use plugin X and Y for building my project therefore I put 2
dependencies in the project.xml.
Now when other developers check out the code and run Maven the *.jar
file of the plugins get downloaded in the repository.
Right.
Now the
I figured this out.
Add this field to your mojo:
/**
* The maven project.
*
* @parameter expression=${project}
* @required
* @readonly
*/
private MavenProject project;
Then in your code:
project.getProperties().put(myKey, myValue);
And
I am goin to read that document right now.
Actually, I am only familiar with cvs and I am learning svn. However the
project I am staring is in ant and svn, so I hav to learn what the best way
to port an existing svn/ant application to svn/maven
---
Thank You
Mick Knutson
Sr. Java/J2EE
1 - 100 of 123 matches
Mail list logo