Hello,
I noticed that when I run my tests, the classpath includes all my
provided-scope dependencies. The docs online don't say they should be there,
but I guess it makes sense, right? Provided scope means I need them to run,
but they'll be available after I deploy. Therefore maven needs to
Hi Satish,
-Original Message-
From: Satish Gupta [mailto:[EMAIL PROTECTED]
Sent: vendredi 13 octobre 2006 07:12
To: Maven Users List
Subject: Re: mvn -N install not working for daytrader
Thanks for your reply!
Daytrader is the example being dealt with in the book Better Builds
Jason Chan wrote:
MVN Registry
http://www.mvnregistry.com/
Thats amazing! Haven't heard about it before. Is it mentioned in the
Maven documentation somewhere?
-Gisbert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I rigged up a test. The chart is accurate, but the behavior seems wrong to
me. Could someone please explain why dropping that dependency is the right
thing to do?
Just to repeat, here is the setup:
Project depends on A with test scope.
A depends on B with provided scope.
When I run A's tests,
With datasources usage, we want to support a maximum of databases.
For all exception found with a database, you need to create an issue and we'll
look at it.
We probably need to add more informations in the jpox descriptor used for the
database generation.
Emmanuel
Mohni, Daniel a écrit :
Hi
Hi,
I've some problem with the goal maven jnlp. The goal update the manifest
of each jar and lost some important informations.
Example :
Before maven jnlp
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: Apache Maven
Built-By: adam
Package: com.wit
Build-Jdk:
It is already there: http://jira.codehaus.org/browse/MOJO-511
I added this mail as a comment since it clarifies what is needed and
promise to look into JIRA first next time ;)
-Gisbert
Dan Tran wrote:
sounds like a bug, please file a JIRA
On 10/12/06, Gisbert Amm [EMAIL PROTECTED] wrote:
hi,
There is a bug with Maven Embedder, see :
http://jira.codehaus.org/browse/MNGECLIPSE-71
ther is also a mailing list for this plugin that could help you :
http://m2eclipse.codehaus.org/mail-lists.html
Cheers,
Stéphane
Los Morales a écrit :
Hi, Thanks for the tip. Now I tried the
Yves Van Steen [EMAIL PROTECTED] writes:
Hello,
Hello,
mirrors
mirror
idrepo1/id
mirrorOfcentral/mirrorOf
nameIbiblio Mirror 1/name
urlhttp://192.168.1.2:/repository/url
/mirror
mirror
Yes, Dion it's good.
I'm not surprised to not have some real feedbacks before some weeks.
Everybody have differents priorities and generally in our projects, the
build isn't the first one :-)
I was more surprised to have few replies to this email. There were so much
users who critised maven 1.1
Arnaud,
I've had no issues with this snapshot so I'd be keen to see a 1.1 final
version based on it
James
-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 6:04 AM
To: Maven Users List
Subject: Re: Maven 1.1 RC1 SNAPSHOT needs testers
There is also www.mvnrepository.com
But it will not help you to find which version of a jar it is.
The only service, based on chechsums, that allow you to do it is Archiva.
But this project isn't yet released. You have to build it yourself.
http://maven.apache.org/archiva/
Hi.
Forgive me if this is a naive question but I've search the web and
haven't found an obvious answer.
I'd like to find a tool that generates Java source files, SQL schema
files, and O/R mapping files from the same XSD file. The input XSD file
(over which I have no control) defines
Modello is similar, to some extent... Apart from the fact that it
doesn't support JAXB, Hibernate and XML Schema. ;-) Instead you would
use Modello's own schema language, their own data binding tools and JPOX
for persistency.
http://mojo.codehaus.org/
On Fri, 2006-10-13 at 11:29 +0200, Aleksei
hello
i'm digging into the groovy-maven-plugin,
http://mojo.codehaus.org/groovy-maven-plugin/
i have my groovy stuff in:
src/main/groovy/MyScript.groovy
i added the following to my pom.xml:
build
plugins
plugin
groupIdorg.codehaus.mojo/groupId
Hi together,
I've got the following problem using M2.0.4
I want to deploy an artefact into my remote repository using mvn deploy.
Normally, or as I had understood, M2 will deploy the resulting jar and
the needed *.pom files.
When I'm calling mvn deploy, M2 only copies the resulting jar into my
hi all,
i am using maven2 war plugin to package my war project (which is part of a
multi-project).
Unfortunately i inherited the directory structure of the project (which was
done in RAD) which is
following
JavaSource
|com.
|resources
WebContent
|_ WEN-INF
other jsps
Hi Marco!
Shouldn't webresources point to the webapp folder?
webResources
resource
directory${basedir}/WebContent/directory
/resource
/webResources
best regards,
strub
--- Marco Mistroni [EMAIL PROTECTED] schrieb:
hi all,
i am using maven2 war plugin to package my war
project
I did it, I installed hundreds of jars and add them as dependency of
weblogic.jar, still did not work.I talked with BEA folks and they told
that basically that it needs to be taken from their installation
directory because it look for the license and other stuff that are not
jar related.
Hi,
forgive me if my question has already been answered, but I could not
find a suitable answer. I am a maven newbie and I try to convert a
custom-made build mechanism to maven with help from the book Better
Builds with Maven.
I have a small app consisting of 4 modules, A, B, C and D. A, B and C
Joseph Marques wrote:
https://server/project/pom.xml
The URL you provided doesn't exist
OK, so...on a whim, I decided to leave the s off, and try http instead.
http://server/project/pom.xml
The URL you provided doesn't exist
http://user:pass@server/project/pom.xml
Works?!?
See:
Joseph Marques wrote:
when trying to add a maven2 project i'm getting the error: could not
download https://user:[EMAIL PROTECTED]/project_url/pom.xml: Server returned
HTTP response code: 401 for URL: https://user:[EMAIL PROTECTED]/
project_url/pom.xml. i can hit and download the pom from
Jesse McConnell wrote:
that should bypass certificates as well, there is something janky with
it right now as well so you _may_ need to hit that url, then with the
s in the https with the same url and then again the url above. there
is a jira ticket on that strangeness
I was not able
Mirko Leschikar [EMAIL PROTECTED] writes:
Hi,
Hello,
Do I have to use assemblies?
Yes, I think it fits perfetly into your use case: remove module D and
create an assembly in a toplevel (parent of A, B and C) project. If
needed, I can provide you with one that gets all classes from sub
Hi Folks,
I'm new to Maven so please excuse me if I'm talking
nonsense on this one.
However, I'm having problems with the classifier
tag. I have a dependency on Easymock which has a 1.2
version for Java 1.3 and Java 1.5. I've tried
everything in the pom.xml to get it to load from the
remote and
http://cvs.peopleware.be/training/maven/maven2/
buildLifecyclePhases.html
hope this helps.
On 9 Oct 2006, at 23:50, pjungwir wrote:
Jacek Laskowski-4 wrote:
On 10/9/06, Andr?s [EMAIL PROTECTED] wrote:
I don't know about such a pre-site phase. Indeed, I think
there's no
site phase
Its great that these tools exist -- obviously I had no idea. ;-)
I'm going to have to take a look at both of them and perhaps integrate
one of them into our build process...
Any others worth looking at, while we're on the topic??
Wayne
On 10/13/06, Wilfred Springer [EMAIL PROTECTED] wrote:
Hi All,
I'm also trying to put in place QLab (Great! BTW), I got it running with PMD
(pretty much the same configuration as below).
It generates the movers-report without any issue. However, during the execution
of the chart goal, I see exceptions in the maven traces :
[INFO]
ir. ing. Jan Dockx wrote:
http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html
hope this helps.
Thanks. That is the best table I've seen so far. I eventually figured this
out by looking here:
You'll need to talk to the Easymock guys -- their pom isn't using a
classifier, instead all that info is shoved into version, as seen
here:
http://www.ibiblio.org/maven2/easymock/easymock/1.2_Java1.5/easymock-1.2_Java1.5.pom
When they start using classifier, you can start using it too.
Wayne
Try it again using mvn -X for additional debugging information that
might be useful.
Wayne
On 10/13/06, Sebastian Krebs [EMAIL PROTECTED] wrote:
Hi together,
I've got the following problem using M2.0.4
I want to deploy an artefact into my remote repository using mvn deploy.
Normally, or as I
Arnaud Bailly schrieb:
Mirko Leschikar [EMAIL PROTECTED] writes:
Do I have to use assemblies?
Yes, I think it fits perfetly into your use case: remove module D and
create an assembly in a toplevel (parent of A, B and C) project. If
needed, I can provide you with one that gets all classes
Hello,
I'm writing a plugin, and I would like to accept configuration xml like
this:
someOption
anotherOption
var
var
var
... [more vars] ...
Is this possible without wrapping the var tags inside a container like
vars? In the docs, all the examples have a wrapper tag for lists and
arrays.
I
that is not possible, plugin configuration uses javabean reflection, so you
need to put your
vars in a collection container like list
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
Hello,
I'm writing a plugin, and I would like to accept configuration xml like
this:
someOption
Hello,
The plugin I'm writing wants some configuration xml like this:
configuration
...
classPath
mainClasscom.whatever.Main/mainClass
cpthis.jar;that.jar/cp
/classPath
...
/configuration
The classPath element is required, and the mainClass element is also
I've been doing the same thing a lot so here's some steps I recommend:
- Inspect the manifest file in the jar. Sometimes you'll find the
version number has helpfully been stowed away in there.
- Look at the version history for the jar in your repository. Sometimes
developers (even yourself!)
Mirko Leschikar [EMAIL PROTECTED] writes:
Thanks for your answer. I will try that. So, I have to use unpack first
and then use assembly to pack the new jar file.
No. Assembly descriptor allows automatic unpacking of artifacts
(dependencies or modules). You should simply create a toplevel
Not that I know of, you will need to validate it your self.
but you can file a JIRA against MNG for this feature enhancement
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
Hello,
The plugin I'm writing wants some configuration xml like this:
configuration
...
classPath
The site for xslt plugin is old.
svn url is http://svn.codehaus.org/mojo/trunk/mojo/xslt-maven-plugin
Excellent.
apache snapshot repo
http://snapshots.repository.codehaus.org/
codehaus snapshot repo
Okay. Here is where I'm confused. I used to get the changelog plugin
from the
dan tran wrote:
Not that I know of, you will need to validate it your self.
but you can file a JIRA against MNG for this feature enhancement
Hi Dan, thanks for your reply (this one and the many others!). I've been
thinking about filing a jira, and maybe starting on a patch. I think the
Sometimes, the Maven Dev team decides to take over ownership of
plugins which have proven to be especially popular and useful, usually
after they have been developed to a certain degree in Codehaus or
elsewhere. Maven Dev sponsored plugins are always named
maven-xyz-plugin, while non-Maven Dev
Can I see how you configured your FindBugs in Maven 2 please?
On 10/12/06, Gisbert Amm [EMAIL PROTECTED] wrote:
Does anybody know how I can persuade the Maven2 FindBugs Plugin to let
Findbugs generate an XML file containing its results into the target
directory in addition to the HTML report
The assembly plug-in is including all artifacts, even those with test
scope, in my multi-module project. How can I exclude the test
artifacts?
-dh
Does anyone know how to pass parameters to maven from the eclipse plugin?
from the command line I would do the following:
mvn -PTEST install
where -PTEST indicated the TEST profile should be used..
How do I do this in Eclipse? I know there is a Parameter Name and Value
fields on the External
[INFO] Generate Dependencies report.
[INFO] Generate Dependency Convergence report.
[INFO] Generate Mailing Lists report.
[INFO] Generate About report.
[INFO] Generate Project Summary report.
[INFO] Generate Project Team report.
[INFO] Generate Source Xref report.
[INFO] Generate QALab Main
Is it possible to add a Maven property from a Mojo?? Anyone know something
about that??
Thank you
Laura
This e-mail, and any attachments thereto, is confidential and is intended only
for the individual(s) named. If you are not the
Is it possible to have two plugins that implement the same packaging type and
be call (both lifecycles) in the same build?
I tested and right now only the first plugin's lifecycle gets executed, unless
I call the second plugin in the executions section, but I have to call each
goal.
I will
I'm not using QALab currently but I've seen things like this before...
I'd suspect you've simply added QALab to your Reporting section
without adding a corresponding section to Build/plugins. And so your
QALab report is looking for the XML file (generated by the build-time
plugin) but it doesn't
I am trying to add a custom page (about how to
get/build the project) to the project site.
The site is generated by maven 2.
Unfortunately I can't figure it out how to add a
couple of menu items so that maven keeps all the ones
generated by default. If I specify my own site.xml and
menu-s then
Dohh.
Here is the solution, if other people are interested:
menu name=Development
item name=Setup href=howto.html/
/menu
${modules}
${reports}
Here is a link to the help files:
http://maven.apache.org/plugins/maven-site-plugin/howto.html
Now, if I would understand why the modules menu
Hello,
I'm writing a plugin for the launch4j tool. This tool wraps jar files in
windows executables so you don't have to deal with finding a jre, setting
your classpath, etc. The distribution is a little bit different depending on
whether you're running on linux, windows, solaris, or os x. I
Hello again,
Is it possible to create an artifact that, once retrieved to your local
~/.m2 repository, automatically unarchives itself and becomes a little
directory there?
Thanks,
Paul
--
View this message in context:
i think there are works already done for launch4j plugin
http://jira.codehaus.org/browse/MOJO-176
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
Hello,
I'm writing a plugin for the launch4j tool. This tool wraps jar files in
windows executables so you don't have to deal with finding a jre,
no,
but you can get maven-dependency-plugin to unpack it somewhere for you.
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
Hello again,
Is it possible to create an artifact that, once retrieved to your local
~/.m2 repository, automatically unarchives itself and becomes a little
sorry it is for maven1.
What the technical difficulty prevent you from having only 1 plugin to
handle all support platforms?
-D
On 10/13/06, Dan Tran [EMAIL PROTECTED] wrote:
i think there are works already done for launch4j plugin
http://jira.codehaus.org/browse/MOJO-176
On 10/13/06,
The changelog plugin is one of those. So when it moved from Codehaus
Mojo to Maven, its name changed, and so did the version.
The maven-changelog-plugin is the newest version.
That makes sense. Thanks for the information.
-Nate
dan tran wrote:
sorry it is for maven1.
What the technical difficulty prevent you from having only 1 plugin to
handle all support platforms?
Thank you for pointing me to that other plugin! I just emailed the author. I
did search for such a thing before I started my work, but I didn't
First of all, I'd like to say how impressed I've been with the speed of
responses for this list. Thanks for all the help.
-
Im using the 2.0-SNAPSHOT version of the maven-changelog-plugin, and Im
trying to get a report of, All changes after MyApp_0_7_rc1 that went into
making MyApp_0_7_rc2.
does the build need to stay on the supported platform to build the
executable?
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
dan tran wrote:
sorry it is for maven1.
What the technical difficulty prevent you from having only 1 plugin to
handle all support platforms?
Thank you for
dan tran wrote:
does the build need to stay on the supported platform to build the
executable?
I'm not exactly sure what you're asking. But if your project uses a solaris
launch4j plugin, then you checkout the project on mas os x, building the exe
will fail. I had envisioned people using
This sounds best to me too.
Perhaps create 5 artifacts -- one for each of the 4 platforms, for
people who are strictly Windows shops etc; plus one with all platforms
bundled in it?
Wayne
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
dan tran wrote:
does the build need to stay on the
I think this plugin is more like a assembly plugin with launch4j specifics.
am i wrong?
On 10/13/06, Wayne Fay [EMAIL PROTECTED] wrote:
This sounds best to me too.
Perhaps create 5 artifacts -- one for each of the 4 platforms, for
people who are strictly Windows shops etc; plus one with all
Thank you for all of the suggestions. :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
your snapshot 2.0-SNAPSHOT is very old.
may be we should bug *Dennis Lundberg *to remove them.
Try the just released one
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-changes-plugin/2.0-beta-2/
-D
On 10/13/06, Nate [EMAIL PROTECTED] wrote:
First of all, I'd like to say how
dan tran wrote:
I think this plugin is more like a assembly plugin with launch4j
specifics.
am i wrong?
I intend to use it in conjunction with the assembly plugin. I'll generate an
exe file to wrap my jar, then I'll use the assembly plugin to tar up my exe
along with docs, a lib
My appology for poking somany questions ;-) I think i now understand what
launch4j is for
I also interest on how to get one plugin and have it do it all.
How about make your launch4j plugin to pull down neccessary launch4j binary
bundles and use
it to produce your executable. I wonder if the
If you want to copy the jars into a local folder as part of the build,
you can use the maven-dependencies-plugin:copy-dependencies to
accomplish this.
-Original Message-
From: Neeraj Bisht [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 12:16 AM
To: users@maven.apache.org
Hi Dan,
Ask all the questions you like. :-)
Only grabbing the necessary binary bundle is a nice idea. I'll think about
that one. So that means the plugin would have a variable dependency based on
platform. I'm not sure how to do that, but it sounds fun to figure out.
Profiles? I need an excuse
Is there something I am missing with:
There are 3 Mojos provided for your use.
1. BuildStatMergeMojo - Handles the merge of statistics into qalab.xml
2. BuildStatChartMojo - Generates the QALab BuildStat chart
3. BuildStatMoversMojo - Creates the mover XML file given the correct
You can borrow some code from maven-dependency-plugin to pull artifact
down on the fly. I doubt you need a profile since you can poke around
with system property to find what OS you are on. You can even ask user
to pass luncher type at runtime
Licensing is a headache, since apache/codehaus
isn't faster if you ask qalab folks directly?
On 10/13/06, Mick Knutson [EMAIL PROTECTED] wrote:
Is there something I am missing with:
There are 3 Mojos provided for your use.
1. BuildStatMergeMojo - Handles the merge of statistics into qalab.xml
2. BuildStatChartMojo - Generates the
Seems I am getting further, but still issues with QALab
I have all my artifacts in sub-modules. So I find that to allow this to work
correctly, I have to:
1. Create a dependancyManagement plugin declaration for qalab.
2. Add a plugin declaration into each module's pom.xml I want to run
Yes it would, if the question was specifically about the functionality of
qlab.
But my issue seems to be about how to implement qlab in Maven using multiple
modules.
There just seems to be some nuances with using certain plugins in a project
that realies heavily on modules like mine.
On
Ah, thanks, that sounds like a good pointer. I'll take a look at the
dependency plugin. I agree, querying java properties is the way to go.
I'm not religious about licenses. :-) If necessary, I can host the plugin
myself.
Paul
--
View this message in context:
You can ping list about their licence policy. But I am sure we allow to
load
GPL artifacts onto maven central. We just never load a bundle before
I am sure love to see this plugin showing up at MOJO
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
Ah, thanks, that sounds like a good
dan tran wrote:
You can ping list about their licence policy. But I am sure we allow to
load
GPL artifacts onto maven central. We just never load a bundle before
I don't understand--what is the difference between an artifact and a bundle?
--
View this message in context:
sorry, they are my own terms ;-)
examples of artifacts are jar, war, ear.
examples for bundles are
launch4j-2.1.5-linux.tgzhttp://prdownloads.sourceforge.net/launch4j/launch4j-2.1.5-linux.tgz?download
,
launch4j-2.1.5-win32.zip , etc
-D
On 10/13/06, pjungwir [EMAIL PROTECTED] wrote:
dan
77 matches
Mail list logo