goes wrong?
Thanks,
Arik Kfir.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I have a project built using m2. I want the project to install/deploy
a source-code JAR along with the binaries JAR (on both the install and
deploy phases). I've added the following section in the pom.xml file:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Hi all,
I'm having the same problem - what is the best solution for this use case?
On 9/14/05, Piotr Bzdyl [EMAIL PROTECTED] wrote:
Hello,
(I was writing to this mailing list before partially about this problem:
Demo application based on JBoss DVD trailblaizer)
I tried to create following
Hi,
In m2, the maven-source-plugin automatically installs/deploys the
source code to the repo when you install/deploy (assuming you stated
you want to in the pom.xml). Currently, there's a bug in m2 regarding
it, but basically it works. The sources are placed in the repo in the
same dir as the
Yes I've encountered it also - looks like it's related to
http://jira.codehaus.org/browse/MNG-1021
On 10/5/05, David Pick [EMAIL PROTECTED] wrote:
I am using SNAPSHOT builds and the Maven dependencies Ant task to
synchronise the local and remote repositories.
The install/deploy of the
I love maven(2) as it is - but I guess one could come up with a scenario
such as database-stored POMs or something of the sort...
But I agree this is definitely way out of the main-stream... ;-)
On 10/6/05, Jason van Zyl [EMAIL PROTECTED] wrote:
On Wed, 2005-10-05 at 18:56 +, John Fallows
Just out of curiosity - why not have one exception class, with an *optional*
causing exception?
On 10/6/05, Brett Porter [EMAIL PROTECTED] wrote:
On 10/6/05, Allison, Bob [EMAIL PROTECTED] wrote:
What is the criteria for a mojo class? In other words, when I define a
bunch of classes in a
for the delay, am plumbing the depths of my mailbox. Did you get
a resolution to this?
- Brett
On 9/6/05, Arik Kfir [EMAIL PROTECTED] wrote:
Hi all,
I have a project which worked great on 1.0.2, and I've been trying to
move it to 1.1-beta-1.
The build itself works excellent
I think JWSDP belongs to Sun, which means - due to licensing issues -
that the JARs cannot be placed in the Maven central repository.
What you need to do is to install them in your local repository (see
http://maven.apache.org/maven2/general.html#importing-jars for storing
external JARs in your
Hi,
Simply send a blank mail to [EMAIL PROTECTED]
Have a good one! :)
On 10/7/05, Jocelyn Duquette [EMAIL PROTECTED] wrote:
same for me, this is a crazy list!
Richard Palfalvi [EMAIL PROTECTED] wrote:Hi!
I am still trying to find a possibility to unsubscribe from this mailing
list (I am
Hi, this happened to me too on my previous machine (haven't tried on
this one yet). Happened with m1 as well...
Here too, the dir on the server was created, and the logs don't tell
much. I'll give it another try in a few days on this machine.
Does this happen to anyone else?
On 10/8/05, Ashley
Also, you may want to create your own personal configuration - you can
place it at ~/.m2/settings.xml
Maven will read it from there as well.
On 10/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
Daniel,
Look in your maven/conf/settings.xml. In m2, I think it's the first
line.
-Original
Perhaps you've registered under a different email? This happened to me
once. Usually happens if you have more than one email account.
Are you registered under [EMAIL PROTECTED] in the list, or a
different account?
On 10/8/05, Maciej Staszak [EMAIL PROTECTED] wrote:
Hi,
I have the same
If you activate the jaxme via main, then I assume you could just as
easily fork it to another process, no?
Otherwise, perhaps you could try going around its main and use its
api (assuming it has one?)
In Ant, tasks usually either fork it or use the underlying product's
api...I don't think you
I wouldn't copy the code - it will have to be maintained later on...which is
tedious ;-)
here's what I would do (heavy snipping..):
public void executeXjc(String targetPackage, String outputDirectory, String
schema) throws Exception {
// do stuff
//
//execute the process
//
Object[] args =
No you shouldn't ;-)
The reason it is not there is because of licensing issues...
Please read the following link:
http://maven.apache.org/reference/standard-sun-jar-names.html
On 10/10/05, Dave Brondsema [EMAIL PROTECTED] wrote:
Thanks! Sounds like I should create an issue for adding the
there.
Is it because they're API only?
Brian
Arik Kfir wrote:
No you shouldn't ;-)
The reason it is not there is because of licensing issues...
Please read the following link:
http://maven.apache.org/reference/standard-sun-jar-names.html
On 10/10/05, Dave Brondsema [EMAIL PROTECTED] wrote
/
http://www.ibiblio.org/maven2/servletapi/servletapi/2.3/
Brian
Arik Kfir wrote:
umm..not sure actually
According to previous postings in this list, and the policy+license of
Sun,
I think they shouldn't. Perhaps someone could correct me on this?
On 10/10/05, Brian Bonner
of the Runtime class for details...
On 10/10/05, Ashley Williams [EMAIL PROTECTED] wrote:
Unless I missed something, aren't we back to square one because the
line that goes
//execute the process
still does a System.exit.
AW
On 10 Oct 2005, at 18:10, Arik Kfir wrote:
I wouldn't copy the code
] wrote:
I didn't realize you were talking about Runtime.exec(). I did briefly
consider it but
then I didn't want to make my code OS dependent.
Hobsons choice though!
On 10 Oct 2005, at 23:02, Arik Kfir wrote:
No - look at the javadocs for the java.lang.Runtime class.
The Runtime.exec
Please see the http://maven.apache.org/maven2/maven-model/maven.htmlreference
- what you're after is the parent element.
On 10/11/05, Russell, Mark [EMAIL PROTECTED] wrote:
Thanks, that did help me get further.
Next question, since I can't seem to find any documentation...
How do you setup
Are these classes used in your test cases? If so, I think the simplest
solution would be to put them in src/test/java.
Test classes are not put in your final distribution/jars.
On 10/11/05, Allison, Bob [EMAIL PROTECTED] wrote:
I would like to set things up in a project to compile a set of
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
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
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
Yes, you should create two modules - one that produces a JAR, and one
that produces a WAR (and has a dependency on the module generating the
JAR).
It should be something like this:
root
|
+---pom.xml
|
+---war-module
| |
| +-pom.xml
| |
| +-src...
|
Yes we need this too, for offline sites.
The way we did this for m1 is to hack the 'maven.jar' file in the
installation, and edit the 'default.properties' file. Is there a
better way?
On 10/14/05, Russell, Mark [EMAIL PROTECTED] wrote:
Is it possible, either in the pom.xml or the settings.xml,
one, for example, when
you are using maven-proxy.
- Brett
On 10/14/05, Arik Kfir [EMAIL PROTECTED] wrote:
Yes we need this too, for offline sites.
The way we did this for m1 is to hack the 'maven.jar' file in the
installation, and edit the 'default.properties' file. Is there a
better
Hi,
I'm building m2 from svn (yeah I know...but I'm testing the release
plugin) but when I run m2 release:prepare on my project (using the
built m2 from svn), I get:
[ERROR] BUILD FAILURE
[INFO]
[INFO] Resolved version
How do you *run* your program? Maven doesn't control your program
execution, just the creation of the binaries (like 'make').
If you run from the commandline, make sure you specify the appropriate
classpath. If you run from inside an IDE, make sure it is configured
to add the classpath.
P.S.
Hi,
Do you plan to release the core before the final plugins versions? IMO
it would be best to release final versions of the plugins (atleast the
core plugins like compiler,sources,resources, etc) before the final
m2 release.
Or perhaps I just misunderstood? :D
On 10/15/05, Brett Porter [EMAIL
Hi Christian,
It is very easy - see
http://maven.apache.org/maven2/general.html#importing-jars for
instructions.
On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote:
Hi folks,
I try to install a third party jar into my local repository. Under M1 I
was used to create a directory that
+1
m1 and m2 are inherently different. Such a massive rewrite is now
something that happens everyday, and therefor a seperate list would
not be required for m3, m4, etc.
However - I think once m2 becomes final - the [EMAIL PROTECTED]
should be focused on m2 - not m1. The m1 list should be named
no problem :D
On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote:
Thank you! I promise to take a closer look to FAQ next time ;-)
Hi Christian,
It is very easy - see
http://maven.apache.org/maven2/general.html#importing-jars for
instructions.
On 10/17/05, Christian
Hi Xavier,
Are you looking at http://maven.apache.org; or
http://maven.apache.org/maven2;?
Moreover - m2 doesn't use maven.xml anymore. Custom goals should be
written as plugins from now on. See http://maven.apache.org/maven2;
for more information about that (see
Could you post the dependency you're declaring?
On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote:
Hello,
I try to use the SNAPSHOT keyword in a dependeny but I get always an errop
message. Maven try to search for an artifact with SNAPSHOT in the name
e.g. artifactId-1.2.7-SNAPSHOT.jar
artifactIdspring-core/artifactId
version1.1.4-SNAPSHOT/version
typejar/type
/dependency
/dependencies
Original Message Follows
From: Arik Kfir [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: Re: SNAPSHOT
Hi Sampreet - if you can't access the http://localhost:8080/maven;
then it is not related to Maven - you probabaly forgot to configure
your tomcat.
If you are new to tomcat - I recommend you try the tomcat site or the
tomcat mailing list for help.
cheers,
Arik.
On 10/17/05, Andreas Guther
Original Message Follows
From: Arik Kfir [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: Re: SNAPSHOT Dependency not working for me
Date: Mon, 17 Oct 2005 20:11:06 +0200
When you specify that you depend on a snapshot
Hi Xavier,
These JARs are not in the repository because they can't be
redistributed. You need to download them from Sun's site (at
http://java.sun.com) and install them manually in your local
repository.
See http://maven.apache.org/maven2/general.html#importing-jars for
manually installing JARs
, Arik Kfir [EMAIL PROTECTED] wrote:
Hi Xavier!
Actually it is written - see
http://maven.apache.org/maven2/maven1.html, which summarizes the
changes between m1 and m2.
The the first section -What's Changed? - says: (quote)
* No more maven.xml - Plugins are now easier to build
Oh...no, I don't think so ;-)
On 10/18/05, Lukas Theussl [EMAIL PROTECTED] wrote:
I was thinking in terms of m1. :)
Is there an equivalent of install:install-file in m1?
-Lukas
Arik Kfir wrote:
I'd suggest not putting them in your local repo by hand, but use:
m2 install:install-file
The java compiler does not warn you if you use API that's new since
1.5 - it only makes sure you use language constructs that are
available in 1.4 as well. This means, for instance, that you won't be
able to use enums or generics. But it will not prevent you from using
any API (1.5 or not).
This
No, that's ok. The license prohibits you from *redistributing* the
JAR. As long as its for your own use, you're fine.
On 10/18/05, Pilgrim, Peter [EMAIL PROTECTED] wrote:
-Original Message-
From: Lukas Theussl [mailto:[EMAIL PROTECTED]
====
You have to download these jars
You can use the m2 release plugin, but afaik it's not yet production
ready (there are some quirks here and there).
On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote:
To have repeatable builds I want to be able to build specific scm tagged
versions and have dependency lists that match the given
as
part of your application, but could not distribute them as themselves... the
difference being that you as the application developer have agreed to abide
by the license.
I may be wrong, but I don't think your restricted to for your own use.
- Brill Pappin
On 10/18/05, Arik Kfir [EMAIL
Hi,
If you named it central then it would override ibiblio.
As for sharing it - you can create a shared maven installation, in
which the repo is defined (via m2/conf/settings.xml)
On 10/19/05, Pete Thomas [EMAIL PROTECTED] wrote:
I am trying to use M2 but want to use a shared filesystem
No, for that you will Mevenide - however, I believe Mevenide does not
support m2 yet.
On 10/20/05, Piotr Bzdyl [EMAIL PROTECTED] wrote:
Hello,
The source is within
http://svn.apache.org/repos/asf/maven/components/trunk
look under maven-plugins/maven-eclipse-plugin.
Just a little
Hi,
Minor (very minor) suggestion: post a link to http://mojo.codehaus.org
from the Available plugins page in the m2 site. Could be useful for
newcomers that want additional plugins...
arik.
-
To unsubscribe, e-mail: [EMAIL
Hi,
Seems to me that each m2 plugin should reside in its own project, or,
create more *versions* in JIRA that pertain to plugin-issues only.
Currently, it's impossible to track the roadmap/changelog for plugin releases.
Quickest route imo: leave everything as is, but create more versions
in the
Hi all,
I was just wondering - are there any *rough* estimates as to when
plugin final releases will start rolling out?
Right now, even though m2 is final, the plugins are not. Even if you
install a clean m2 with a clean local repo, jars like
maven-model-2.0-beta-X.jar, settings-model-beta-X,
try adding a iddefault/id to the profile...
On 10/24/05, Brian E. Fox [EMAIL PROTECTED] wrote:
The activeByDefault doesn't work in the settings.xml, but it does in the
pom:
profiles
profile
activation
activeByDefaulttrue/activeByDefault
/activation
iddefault/id
repositories
That doesn't work for me - I have to delcare an additional dependency,
and a classifier. Like this:
dependency
groupId...
artifactId...
version...
classifiersources/classifier
/dependency
same for javadoc (no s in the end of javadocs... ;-)
As for deploying them - I bind the
cool!
On 10/24/05, Brett Porter [EMAIL PROTECTED] wrote:
On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote:
That doesn't work for me - I have to delcare an additional dependency,
Yes, that's correct, but I believe the eclipse plugin automates this
and the others can too.
As for deploying
for a release. The site and reporting
plugins are the only core plugin still in beta, I think - did you
notice something else?
- Brett
On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote:
Hi all,
I was just wondering - are there any *rough* estimates as to when
plugin final releases will start
Hi,
I've encountered the following exception:
[EMAIL PROTECTED]:~/projects/corleon-site/trunk$ mvn release:prepare
-Dusername=arikkfir
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
.
- Brett
On 11/12/05, Arik Kfir [EMAIL PROTECTED] wrote:
Hi,
I've encountered the following exception:
[EMAIL PROTECTED]:~/projects/corleon-site/trunk$ mvn release:prepare
-Dusername=arikkfir
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release
Although I'm not part of the original discussion, big +100 from me :)
On 11/12/05, Alexander Hars [EMAIL PROTECTED] wrote:
Jason,
Thank you for setting up the mavenusers space on confluence. While this
solution is certainly better for integrating the documentation with
Maven, it has the
Provided that somehow this will (slowly, based on available time of maven
devs) propagate back to the official Maven docs
On 11/12/05, Arik Kfir [EMAIL PROTECTED] wrote:
Although I'm not part of the original discussion, big +100 from me :)
On 11/12/05, Alexander Hars [EMAIL PROTECTED] wrote
Yes, I've seen this too. For now I've reverted back to using
x.y-SNAPSHOT - but this definitly happens ;-)
On 11/14/05, Olivier Lamy [EMAIL PROTECTED] wrote:
No Just : SNAPSHOT.
It's in order to deploy snapshot in a maven1 repository.
But it works really better with version-SNAPSHOT.
Thanks,
Hi cameron,
This is because the EJB plugin does not yet support EJB 3.0.
On 11/14/05, cameron clarke [EMAIL PROTECTED] wrote:
ejb3 and par packaging types.
when I attempt to build a multi-module I get the following error:
[INFO] Building Unnamed - uk.co.abc:abc-data-access:par:1.0-SNAPSHOT
cool :)
On 11/14/05, Emmanuel Venisse [EMAIL PROTECTED] wrote:
I fixed this exception
Emmanuel
Olivier Lamy a écrit :
No Just : SNAPSHOT.
It's in order to deploy snapshot in a maven1 repository.
But it works really better with version-SNAPSHOT.
Thanks,
- Olivier
-Message
Oh...why create another module?
On 11/14/05, Stephane Nicoll [EMAIL PROTECTED] wrote:
No. The EJB plugin won't support EJB3, there's an EJB3 plugin in MOJO-99 but
it's not yet available.
Regards,
Stéphane
On 11/14/05, Arik Kfir [EMAIL PROTECTED] wrote:
Hi cameron,
This is because
from
a dependencyManagement clause in the parent POM).
Filed a JIRA issue under http://jira.codehaus.org/browse/MNG-1562
Thanks,
Arik Kfir.
POM B is an EAR pom. The maven-ear-plugin makes sure that deps going
into the app.xml
Hi,
Make sure you define the following in your pom.xml:
build
plugins
plugin
artifactIdmaven-release-plugin/artifactId
configuration
tagBasehttp://www.mysvnserver.com/myproject/tags/tagBase
/configuration
/plugin
/plugins
/build
This
Use a Class-Path entry in the MANIFEST.MF file of the .ejb3 file
(this is standard in j2ee, not a hack :)
On 11/15/05, Thomas Marek [EMAIL PROTECTED] wrote:
I use some classes of the par package in the ejb3 package.
So the classes of the par package should be in the classpath.
How can i do
Does your ejb3 project has a dependency on the par module?
like this:
dependency
groupIdmyprojecT/...
artifactIdmyPAR/...
version...
/dependencty
On 11/15/05, Thomas Marek [EMAIL PROTECTED] wrote:
Hi,
That's for ejb, but not for ejb3.
I want that maven add the classes of the par
I'm not familiar with the ejb3 plugin - but perhaps because the
dependency is of type par and not 'jar' - maven doesn't add it to the
classpath?
On 11/16/05, Thomas Marek [EMAIL PROTECTED] wrote:
Arik Kfir schrieb:
Does your ejb3 project has a dependency on the par module?
like
I think you need to use the 'maven-par-plugin' (in the mojo project,
at http://mojo.codehaus.org/)
However, AFAIK its not released yet.
On 11/17/05, Bruno Aranda [EMAIL PROTECTED] wrote:
Hi all,
I am doing my first steps with maven... I have a multi-module setup
that involves the creation of
but not as part of the 2.0 release.
Hope it helps,
Stéphane
On 11/17/05, Bruno Aranda [EMAIL PROTECTED] wrote:
Thanks, I know, to summarise, my question was if someone has
successfully included a par generated with that plugin inside an
ear...
Thanks,
Bruno
2005/11/17, Arik
that instead of **/*.jar I have also tried /WEB-INF/lib/*.jar,
/WEB-INF/lib, and similar combinations, but to no avail.
If anyone has encountered anything like that, or if you spot something I'm
doing wrong here - I'd appreciate your help.
Thanks,
Arik Kfir.
is
a good starting point for learning the real benefits of using Maven
over more low-level tools such as Ant.
Kind regards,
Arik Kfir.
On 5/13/06, Mick Knutson [EMAIL PROTECTED] wrote:
I am writing up a general proposal about the benefits of Maven over Ant. And
I guess I have not seen heaps of weel
suggestions
ido
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
__
Cheers,
Arik Kfir [EMAIL
]
--
__
Cheers,
Arik Kfir [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http://corleon.dnsalias.org
]
--
__
Cheers,
Arik Kfir [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http://corleon.dnsalias.org
with the idea plugin?
Ben
On 5/26/06, Trygve Laugstøl [EMAIL PROTECTED] wrote:
Arik Kfir wrote:
Hi guys,
I developed the initial mevenide for idea (m1) a while ago, when m2
was only in the horizon. I've planned to start working on m2
integration but lately my time is more limited and I can't
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
__
Cheers,
Arik Kfir [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http
As well as the IDEA plugin, of course ;-)
On Mon, 2006-08-21 at 15:57 -0400, Tomislav Stojcevich wrote:
The maven-dependency-plugin has a sources goal.
http://mojo.codehaus.org/dependency-maven-plugin/introduction.html
mvn dependency:sources
This is not available in the released 1.0
Hi Markus,
What version of the plugin are you using? Also, a dump of the complete
error might be useful too.
On Sat, 2006-09-16 at 11:22 +0200, Markus KARG wrote:
Dear Maven Community,
Today I have seen on the Maven web site
(http://maven.apache.org/plugins/maven-ejb-plugin/ejb-mojo.html)
, it seems to be the latest published, while the ejbVersion
feature was introduced in 2.1-SNAPSHOT which is not yet published.
Is that right?
When will 2.1 be released?
Markus
Arik Kfir wrote:
Hi Markus,
What version of the plugin are you using? Also, a dump of the complete
error might
Note that you can also use this syntax:
[snip]
...
menu name=modules/
menu name=reports/
...
[/snip]
On Fri, 2006-10-13 at 12:20 -0700, Attila Mezei-Horvati wrote:
Dohh.
Here is the solution, if other people are interested:
menu name=Development
item name=Setup href=howto.html/
Hi,
Why not release these shared configuration files as another module, and let
other modules depend on it?
On 11/24/06, Tom Huybrechts [EMAIL PROTECTED] wrote:
This is a frequent question, and the answer is no: there's no (Maven)
way to refer to a parent or root directory from within a
lol!
On 11/29/06, Aleksei Valikov [EMAIL PROTECTED] wrote:
Hi.
Morgovsky, Alexander (US - Glen Mills) wrote:
Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited. [v.E.1]
I LOVE these legal statements in emails. :)
Bye.
the server specifies the corresponding server block in your
settings.xml file which should contain the username/password to login to the
machine where the jbosshome is located.
On 1/31/07, Wayne Fay [EMAIL PROTECTED] wrote:
I don't use jboss-m-p. However reading the error message, I would try
try:
include**/AssetManagerTest.java/include
On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:
Hi,
I'm trying to run a JUnit test in Maven, but for some reason, the tests
are
being skipped. In my pom.xml file, I have the junit dependency and added
the maven-surefire-plugin in the hopes my
Hello,
Is it possible to use POM properties in xdoc files? If so, how?
I imagine some sort of token filtering on these files should be applied before
generating the site, but I'm not quite sure where to start, as I am a bit new to
maven, and I was also hoping some sort of an automated
On Sun, 2003-10-05 at 18:00, Arik Kfir wrote:
Hello,
Is it possible to use POM properties in xdoc files? If so, how?
There isn't actually a way to interpolate the POM generally into the
xdocs but now that I realize that isn't possible that seems strange. I'm
surprised you are the first
Hello,
Maven has a mechanism for project-inheritance via the extend tag. This is
a good practice enabling even further standardization and unity between
various project aspects, especially for organizations/corporations
generating more than a small number of projects.
However, I've seen in
Hello,
I've built an IntelliJ/Maven integration plugin, which I'm going to
publish (hopefully) tonight.
The plugin uses the Maven API directly for plugin and goal discovery,
meaning that it does not spawn another Maven for it process - it is done
inside the IntelliJ runtime, which makes it
Jason van Zyl wrote:
We could definitely work together because I started hacking one together
for maven2. I am not very adept at working with the IDEA API but I do
know maven2 fairly well :-)
I'd love to help of course.
If you can pop into IRC and we can chat. We should probably also sync up
Hi,
I need to parse a POM to read its properties and data. Currently I am
opening a MavenSession to do this and it works good. There are
drawbacks, however:
1. If the file changes, I need to reopen a MavenSession to have the POM
updated
2. Performance-wise
What would be the best way to do
Milos Kleint wrote:
by giving it a directory with pom it loads the project.xml and properties files.
IQueryContext con = new DefaultQueryContext(directory);
Project proj = con.getPOMContext().getFinalProject();
10x milos - sounds great.
Does it implement the parsing by
I also had a problem with java1.5+maven - what I did is modify the
maven installation - I don't remember exactly what I did, but I know my
"MAVEN_HOME/lib/endorsed" dir is empty, and I remember modifying the
maven.bat file to NOT add the "-Djavax.xml.parser." and
Hi Dave,
Did you define JAVA_HOME and (optionally) MAVEN_HOME on your machine?
More over, the maven.bat is mainly a command line client - e.g. you
need to specify WHAT you want it to do - for instance:
C:\dvlp\myproject maven java:compile
or:
C:\dvlp\myproject maven jar
This will create a
I don't think Maven can do that out of the box - but you can add a
line in your maven.xml file that does that - just make sure it puts
them in the right context. Also, that *could* make a nice plugin, so
you can use it in other projects as well ;-)
cheers,
Arik.
Wolfgang Hfelinger wrote:
Jrg Schaible wrote:
This won't work in general. E.g. a property like maven.repo.remote is evaluated before the first goal ever executed. Additionally if you load properties, they are nor available in the reactors e.g. inherited by the subprojects in multiproject. You'll have to play with
While in m1 most people do tend to say that they are more-or-less the
same (not that I agree), with m2 the distinction will be a lot more
obvious IMO because m2 actually defines a clear development cycle that
goes way beyond what Ant does and can provide.
[EMAIL PROTECTED] wrote:
I assume you have one project containing the web application (prolly
src/webapp), and the other three generate the class files, which result
in JAR files that should be placed in the WEB-INF/lib, correct?
If so, simply have the webapp project use the other three as
dependencies, and in each
1 - 100 of 231 matches
Mail list logo