Chris, thank you for your answer.
I know about antrun, and I've been using it. But it isn't what I need. I would like to write plugins
using ant(mojos written in Ant), not execute ant build files.
I can't find anything about that here
http://maven.apache.org/guides/mini/guide-using-ant.html
Fil
Usually, what I do is just use the geronimo implementations instead of
Sun's one. Unless you use maven-proxy, you will have to reproduce the
installation on every developper desktop working with maven.
On 12/22/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> My bad,
> jar cvf jta-1.0.1B.jar javax
>
>
Hi all,
I would like to generate an aspectj project with maven eclipse plugin.
I have seen the patch attached at MPECLIPSE-76 but I think it was not done for
1.10 version.
Can you give me the correct patch for 1.10 version or better correct
MPECLIPSE-76 for version 1.11 ?
Many thanks
Joel
Hi Lee,
Have a look in
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIconvertmy%3Creports%3EfromMaven1toMaven2%3F
just replace the value in element to the report plugin you
want to generate
i.e.
org.apache.maven.plugins
maven-java
We're working on a cohesive solution in Maven 2.1 that balances out
the principle of least surprise, reproducibility and ease of use.
However, you can use the release plugin with 2.0 to aid in updating
the version after each release.
- Brett
On 12/23/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
Is there a way to simply reference jar files in the ear package rather
than including them directly in the war lib directory? The ejb plugin
will add dependent jars to the manifext class-path entry with the
following config...
maven-ejb-plugin
This is an M2 question.
On 12/22/05, Lee Meador <[EMAIL PROTECTED]> wrote:
>
> I want to generate interesting reports.
>
> All I have been able to find says that you can get some reports by adding
> this
>
>
>
>
> org.apache.maven.plugins
> m
I want to generate interesting reports.
All I have been able to find says that you can get some reports by adding
this
org.apache.maven.plugins
maven-project-info-reports-plugin
to the POM.
I did that and got a dummy r
Yes. I already have code from another plugin to do that. I can put that
in tonight.
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 6:21 PM
To: Maven Users List
Subject: Re: how to copy all dependencies
we could enhance dependency-maven-plug
we could enhance dependency-maven-plugin at mojo's sandbox to do that job
-Dan
On 12/22/05, Christopher Cobb <[EMAIL PROTECTED]> wrote:
>
> I want to get a list of all (transitive) dependencies for a project.
>
>
>
> Is there some API somewhere I could hook into?
>
>
>
> I need to copy all thos
Hi,
You may refer to the FAQ page,
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27%3Cpluginname%3Edoesnotexistornovalidversion%27error%3F
Hope this helps
-allan
Abbs, David A wrote:
I am installing maven 2.0.1 on Linux red hat running on a sun machine with java
1.4.
It looks like it couldn't get to the repository. Perhaps you have some sort
of proxy or other what-not that restricts access.
Setting up a proxy is explained (sort of) at:
http://maven.apache.org/guides/mini/guide-proxies.html
On 12/22/05, Abbs, David A <[EMAIL PROTECTED]> wrote:
>
> I am instal
Hey all,
I'm trying to use the maven-changelog-plugin for Maven2 version
2.0-beta-1 without success against a CVS SCM. Most of the examples I
have seen have been with SVN, and I need this to work with CVS. I'm
using a known SCM connection string that works with the Maven1-version
of changelog plugi
Hi,
I gave a presentation on Maven 2 for the yearly Java conference held within
our company. The slides are available at:
http://www.bloggingaboutjava.org/cms/wordpress/?action=download&file_id=7
The first part tries to give an introduction to Maven, when to use it and by
whom. In the second part
I want to get a list of all (transitive) dependencies for a project.
Is there some API somewhere I could hook into?
I need to copy all those jar files into my lib directory.
-
Attention:
Any views expressed in this message are those of the indi
yep,
target/generated-sources/modello/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java
On 12/22/05, Raphaël Piéroni <[EMAIL PROTECTED]> wrote:
>
> in the project org.apache.maven:maven-project (or maybe maven-model)
> sources
> you will see that it is wrote using modello and in the generated c
in the project org.apache.maven:maven-project (or maybe maven-model) sources
you will see that it is wrote using modello and in the generated classes
you can see
an xpp3reader.
maybe this class is what you are searching for.
my 2 cents
Raphaël
Christopher Cobb a écrit :
I'm writing an m2
Sorry. That was confusing. I had sent the message with the subject
'multi module issues'.
It should've been
"Re: Multi-module wars"
Kevin Galligan wrote:
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I abandoned the xml merging for
> The way this problem is resolved for the castor plugin was to extend
> PlexusTestCase and its getBaseDir() method which returns the locations
> of the projects basedir.
Oh thanks Matt. I just checked that method source and it just works,
nice. Where's this basedir property coming from? Set by ma
OK, but I still have the version declared in the following tags in each
module:
com.wamu
projects
1.0
I want to not have to update each module when I increment the version.
This worked fine:
4.0.0
com.wamu
projects
--
On Dec 21, 2005, at 9:22 PM, Grégory Joseph wrote:
Hi list,
Is there a preferred way, when a project is building with reactor, to
know the location of the project? i.e., if, in a testcase, I do new
File("."), I'll get the path to my root pom's directory, and I'd need
the path to the actual sub
Hi there,
This can be done by adding tag in each xdoc in maven1.0. What's
the solution for it in maven2?
I noticed the following code in maven-site.vm within site plugin.
#if ( $decoration.body.head )
#foreach( $item in $decoration.body.head.getChildren() )
#if ( $item.name == "script" )
I'm writing an m2 plugin. I would like to examine the contents of an
arbitrary pom.xml file. No, not the one for the current project. Or one
that is one of its dependencies. I want to look at the one over there.
I could certainly use my favorite xml library. But what is the most maven
frie
Hi Mick,
If you happen to have the sources from the Maven2 plugin trunk, then have a
look at the parent POM, it defines 2 - JUnit and
maven-plugin-api and you don\'t need to redefine them again in your plugin
poms which extend from the parent.
Note however that the dependencies in this case
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I abandoned the xml merging for
right now. I was having trouble with the cargo xml merging code. I
added some stuff myself, but after the war plugin added the war file
composition, I jus
I think he's referring to the spring-mock POM. I think it's
dependencies on spring-web, spring-jdbc, javax.servlet:jsp-api should
probably all be optional as well. Not certain, as I haven't started
using spring-mock, but those sound optional to me...
-Stephen
On 12/22/05, Carlos Sanchez <[EMAI
It follows maven development process where
- during development, every one works on snapshots
- at release time, the snapshost got changed to release version, check
back into SCM, label, and build.
This is where customer can use, including qa, stake holder, etc
- then the version is in
You can drop the tag for your module specific pom but you will
need to have a setup for your modules but note that you will need
to specify a there, something like this :
maven-plugin-parent
org.apache.maven.plugins
2.0.1
You module should then pick up the version off it if it
how do I make the modules use the same version as the parent pom?
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
---
Hi,
I'm am trying to use the release:prepare
goal.
I can see from the source code that
it is supposed to throw an exception if the project being release
is not a snapshot.
Why is this ?
Kind regards,
Patrick O'Shea
Yeah I remember having heard that if you don't apply the patches, your
plugins are never upgraded unless you force it (with -U) I think.
On 12/22/05, dan tran <[EMAIL PROTECTED]> wrote:
> my bad, dont see it in jira. It is something related to
> maven-metadata.xmlnever got updated if it is change
Hi
Anyone know why facelets librarie (https://facelets.dev.java.net/) is
not on the central repository? Because of Sun license? Or I just can't
find it?
--
Alexandre Poitras
Québec, Canada
-
To unsubscribe, e-mail: [EMAIL PROTECT
my bad, dont see it in jira. It is something related to
maven-metadata.xmlnever got updated if it is changed in the external
repo
jorg, were you the one that send the fix it?
-D
On 12/22/05, Dirk Olmes <[EMAIL PROTECTED]> wrote:
>
> Dan,
>
> > there is one patch you need to apply in order to m
nope, each subproject needs to declare what it uses, but can be seeded
version wise from the parent
On 12/22/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> That sounds great, but what if I am using multiple sub projects and they
> all
> require some standard libs? Is there a way to just declare
Greetings,
I am converting an m1 project to m2. Unfortunately I am getting different
behavior in the test phase of the build. In m1, of course, it all runs fine.
But under m2 (i.e. surefire) when my test accesses the Internet, it is has
Proxy issues and fails, and when I work around that; it has Re
Hi Mick,
If you happen to have the sources from the Maven2 plugin trunk, then have a
look at the parent POM, it defines 2 - JUnit and
maven-plugin-api and you don't need to redefine them again in your plugin
poms which extend from the parent.
Note however that the dependencies in this case
Has anyone run into problems with the size of the classpath on the
command line? How do I get around it? Thanks.
My vitals:
Executing M2 with jdk1.4.2_10
Compiling with jdk1.3.1_15
true
true
C:\Java\jdk1.3.1_15\bin\javac.exe
1.3
...
Marc Dugger
[EMAIL PROTECTED]
~
Gents,
I'm not sure how hair brained this is but I was wondering if anyone thought
it would be feasible/desireable to write an m2 plugin which can create the
branch builds for a set of projects in continuum by connecting to the
database (JDBC) and duplicating the records but altering the SCM info
Hi Filip,
I think your best bet might be to checkout the Plugin from SVN. IMHO, this
is the best way to get the full picture as things are still in flux -- and
the docs will likely not have caught up with the code. Of course, you'll
need a Subversion Client (I use TortoiseSVN)
AFAIK, this should
Dan,
> there is one patch you need to apply in order to make work transparently
> with maven2.
> check out jira
Ok, I've taken a look in jira and found patches but to which one are you
referring exactly?
BTW: the strange ConnectException bug I was seeing was simply a config
error. Now that this
springframework just points to org.springframework and you should
update your pom
On 12/22/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I am using just springframework, not org.springframework and it seems to
> work for me.
>
> -
Hi Alex,
Check settings.xml in ${M2_HOME}/conf
Happy holidays,
--
Yann
2005/12/22, Mayorgaadame, Alex < [EMAIL PROTECTED]>:
>
> Hello all and happy holidays,
>
> In the "Guide to Configuring Maven"
> http://maven.apache.org/guides/mini/guide-configuring-maven.html it's
> mentioned that there a
The pom at ibiblio is fine, says that they're optional
http://www.ibiblio.org/maven2/org/springframework/spring/1.2.6/spring-1.2.6.pom
I've used these dependencies and I only get commons-logging and spring
jars in the web-inf lib
On 12/22/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> It's been ove
Hello all and happy holidays,
In the "Guide to Configuring Maven"
http://maven.apache.org/guides/mini/guide-configuring-maven.html it's mentioned
that there are an "Installation" level configuration for Maven 2 but there's
not information regarding in how to use it. I would like to have somethi
Hello Alex,
On 12/22/05, Mayorgaadame, Alex <[EMAIL PROTECTED]> wrote:
> Hello all and Merry Christmas to everyone,
>
> Anyone knows what have been the fate of http://maven-proxy.codehaus.org I
> hadn't see any changes on it for a long time. I've used it with Maven 1 and
> would like to know if
My bad,
jar cvf jta-1.0.1B.jar javax
--
Yann
2005/12/22, Yann Le Du <[EMAIL PROTECTED]>:
>
> Unzip it to tmp, then create a jar :
> jar -cvf jta-1.0.1B.jar tmp
>
> --
> Yann
>
> 2005/12/22, Mick Knutson <[EMAIL PROTECTED]>:
> >
> > it only seems to offer the classes in a zip file, not the jar...
Unzip it to tmp, then create a jar :
jar -cvf jta-1.0.1B.jar tmp
--
Yann
2005/12/22, Mick Knutson <[EMAIL PROTECTED]>:
>
> it only seems to offer the classes in a zip file, not the jar...
>
>
>
> Thanks
> Mick Knutso
it only seems to offer the classes in a zip file, not the jar...
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
nope, each subproject needs to declare what it uses, but can be seeded
version wise from the parent
On 12/22/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> That sounds great, but what if I am using multiple sub projects and they
> all
> require some standard libs? Is there a way to just declare t
BTW, you can often find the download URL in the POM :
http://www.ibiblio.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
(downloadUrl)
See also :
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
--
Yann
2005/12/22, dan tran <[EMAIL PROTECTED]>:
>
> http://java.sun.com/p
On 22.12.2005, at 17:32, Mick Knutson wrote:
where to download jta-1.0.1b.jar as mave.org timesout?
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
Cheers,
-Ralph.
-
To unsubscribe, e-mail: [EMAIL PROTECT
I am using just springframework, not org.springframework and it seems to
work for me.
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
--
There will be an improved version in january I believe. Don't be
afraid about the SNAPSHOT version, it works fine.
On 12/22/05, Mayorgaadame, Alex <[EMAIL PROTECTED]> wrote:
> Any time frame for a 1.0 release or at least 0.2?
>
> Alex
>
> -Original Message-
> From: Jörg Schaible [mailto:[E
http://java.sun.com/products/jta/
use that link to download and install it in your local repo or internal
remote repo
-D
On 12/22/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> where to download jta-1.0.1b.jar as mave.org timesout?
>
>
>
> Downloading:
> http://repo1.maven.org/maven2/javax/tra
What patch are you talking about? I'm using it and works fine
On 12/22/05, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> dan tran wrote on Thursday, December 22, 2005 1:42 AM:
>
> > there is one patch you need to apply in order to make work
> > transparently with maven2.
> > check out jira
>
> Just t
It's been over 24 hours and ibiblio still gives me cos and quartz for
Spring. Is the synchronization process broken? Here's my current pom:
org.springframework
spring
1.2.6
org.springframework
spring-mock
1.2.6
test
I'm upgrading my projects to Maven 2, and there are a few cases where I need to
referenced unversioned jars in [someone else's] Maven 1 repository. Adding a
reference to a "legacy" repo is straightforward enough, but what about the
unversioned part?
I realize that unversioned artifacts are
Any time frame for a 1.0 release or at least 0.2?
Alex
-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 2:56 AM
To: Maven Users List
Subject: RE: Maven-proxy functional with Maven 2?
dan tran wrote on Thursday, December 22, 2005 1:42 AM:
where to download jta-1.0.1b.jar as mave.org timesout?
Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO]
[ERROR] BUILD ERROR
[INFO]
I am installing maven 2.0.1 on Linux red hat running on a sun machine with java
1.4.2 installed and configured.
My JAVA_HOME environment is set correctly and the maven install directory added
to my PATH variable
When I do mvn --version it gives me
Maven version: 2.0.1
Which looks fine.
Howev
you can configure maven-compiler-plugin to exclude your unwanted packages or
files to be compiled in the first place. But you will not be able to
prevent javac to compile those files
if they are
referenced by other packages within the source tree. To prevent that, you
will need to use
antrun plu
That sounds great, but what if I am using multiple sub projects and they all
require some standard libs? Is there a way to just declare them in the root
pom instead of having to re-declare them in each sub pom?
Tha
it lets you set all of the scopes and versions of dependencies in one place,
and then child poms don't need to specify versions in their dependencies,
they get inherited from the parent pom.
then if you up the version for something, you can update it only in one
place.
On 12/22/05, Mick Knutson
what is used for?
Thanks
Mick Knutson
http://www.BASELogic.com
http://www.MickKnutson.com
MSN Messenger: [EMAIL PROTECTED]
Ok, forget this. Just realized that the M2 POM features also a
properties-section, so my problem can be solved °-°
And as for the parent-pom issues, I think that can't be solved except
using the Snapshot mechanism.
Hi folks,
I'd like to know if it is possible - as a POM - to inherit my o
Hi Filip,
Do you have any extra resource declared in child pom ?
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-DoesaPOMinherititsresources%3F
--
Yann
2005/12/22, Nitko2 <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have a parent pom with declared resources in it, but it doesn't get
> propagated in
Hi,
John Casey in 2.0.1 announcement mail said that 2.0.1 includes support for mojos written in Ant. Can
someone point
me to some documentation or JIRA issue or anything that would be useful info
about this.
Thanks,
Filip
-
Hi folks,
I'd like to know if it is possible - as a POM - to inherit my own version.
Let's say I have a parent POM with some entries in the
dependencyManagement section. This section also contains the default
versions of all my child-POMs, because there are inter-dependencies that
I want to de
maven.jar.excludes for Maven 1
(http://maven.apache.org/maven-1.x/reference/plugins/jar/properties.html)
For Maven 2 I don't know (yet).
-Gisbert
Alexander Hars wrote:
Hi,
I am trying to exclude some packages of my source tree from the
automatically generated jar file. Is that possible?
F
Have a look :
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
And include jars in the dependencies.
-Message d'origine-
De : Alexandre Russel [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 22 décembre 2005 13:34
À : Maven Users List
Objet : Re: Including Libraries Maven
Hi,
I have a parent pom with declared resources in it, but it doesn't get propagated in child pom. Is it
supposed to work like that or is it a bug?
Thanks,
Filip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Hi,
I am trying to exclude some packages of my source tree from the
automatically generated jar file. Is that possible?
For example, if I have the following source tree
+- src/
|
+- main/
+- java/
+- com/
+- mycompany/
+- package1/
answering my own question:
add true .
for more info:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
Hi,
I downloaded and built the maven-ejb3-plugin. Trying to make a simple
ejb3 I got the following error.
What should I change for it to work?
thanks.
+ Error
You could try to add true in the properties of
your dependencies.
Alex
Hi, guys, im using maven 2, but i have a little problem...
Im working with a java project, not web enabled, just a java
project, but i cant do that maven include the external libraries
that my project needs...i try with b
Hi, guys, im using maven 2, but i have a little problem...
Im working with a java project, not web enabled, just a java
project, but i cant do that maven include the external libraries
that my project needs...i try with bundleDir, bundleFileName...
Here is the structure of my project..like you see
Hi,
I downloaded and built the maven-ejb3-plugin. Trying to make a simple
ejb3 I got the following error.
What should I change for it to work?
thanks.
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
Hi Srgjan,
The plugin is for m2. At the moment it only *supports* (its still in alpha
really) compiling with MS Framework 1.1.x and Mono 1.1.9.2. It contains a
plugin which can generate the Visual Studio 2003 project file from the pom.
I'd like to offer msbuild support (with dotnet 2.0), do you
I have seen that the same problem occurs in the plugin maven-pmd-plugin
the latest version on ibilio is 2.0-alpha-2 but does not have a default
bundle
snapshot 2.0-alpha-3-SNAPSHOT does fix this but version 2.0-alpha-3 is
not released yet. Where can I see when this well be released?
Jurgen De
Hi Alexander,
Regards creation of a project tree with empty directories, I am assuming you
are using an archetype to create a project structure. The way I get around
it - I usually include an empty 'empty.txt' in my archetype resources as
placeholders to ensure that the empty directories are c
Hello all,
I run the site report today and suddenly it went wrong site generation
stopped (blocker) because of a missing
resource bundle (nl language). It took me a while to find out where the
problem was because the stacktrace
didn't show me in wich plugin end because yesterday it went ok. The
Hi,
I have provided a patch [1] which implements a zip packaging and made
some improve on the war plugin.
My use case was the following : I need to separate the html content (in
production it's deployed in a http server) from the war content (in
production it's deployed in a appserver).
In developp
81 matches
Mail list logo