settings files so that when I switch the config I
keep my entire local repository useable, independantly of the place from
where I downloaded it.
-
Gilles Scokart
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-play-with-2-repositories-tp5748541.html
Sent from
property implicitely
defined?
Gilles Scokart
--
View this message in context:
http://www.nabble.com/Use-of-%24%7Bversion%7D-in-published-pom-tf3790660s177.html#a10720048
Sent from the Maven - Users mailing list archive at Nabble.com
Hi,
Next week I have to make a presentation to my collegues. I will try to
'sell' maven, and I would like to say something like Look, Maven is now
very used in the industry, It's for instance used by
Did you know any companies using Maven, more particularily in Belgium and
Europe, but
of the existing tools or with some new tools).
Thanks,
Gilles Scokart
--
View this message in context:
http://www.nabble.com/Building-tool-community-feedback-tf2450373.html#a6829671
Sent from the Maven - Users mailing list archive at Nabble.com
${project.classpathElements} can be used when your parameter is a List .
Here you want to place it in a String.
Moreover, I think that the expension done into the pom, and the things done
in the plugin is different. So, there is maybe some differences.
--
View this message in context:
You can use the antrun plugin to send mail at a given phase of your build.
But I don't think you can have this when your build fails. When the maven
build fail, it stop. I don't think there is any listener.
Did you search in jira to see if there is a feature request? If not, you
should
).
Note that when there is no dependencies between submodules, the release
plugin works correctly with multi-module project.
By the way, did you tried similar things with only 1 level? In that case,
the maven is maybe able to find sibbling module.
Gilles Scokart
--
View this message in context:
http
is correct as then it will be inherited by all the
modules. So the correct place to put together an aggregation is
build/target.
Any one else doing this and have some hints?
If the inheritance is a problem, you can use the inherited tag when
configuring your plugin.
Gilles Scokart
to have this problem (since
yesterday. It worked 2 or 3 months ago).
Thanks,
Gilles Scokart
--
View this message in context:
http://www.nabble.com/acces-to-svn.apache.org-tf1871896.html#a5116494
Sent from the Maven - Users forum at Nabble.com
I did, without success. Thanks for your answer anyway. It means something
is wrong on my side.
I will try with an other network connection when I have the oportunity (in a
few days, unfortunately).
Thanks,
Gilles Scokart
--
View this message in context:
http://www.nabble.com/acces
See http://maven.apache.org/guides/mini/guide-generating-sources.html
Namely : project.addCompileSourceRoot( outputDirectory );
at the end of the code sample.
Gilles Scokart
--
View this message in context:
http://www.nabble.com/m2-How-to-add-generated-source-to-the-compilation-path-from
In Maven 2, compile dependencies are transitive. It means that the
libraries called from the library I use are included in the compile path.
And so transitively... At the end, if all libraries are build and
distributed with maven, all the libraries I need at runtime will
transitivelly be in
No, it is possible.
Just declare your dependencies in the parent pom (directly into dependencies
not in dependencyManagment) and they will be inherited in all subproject.
Could be usefull for some libraries like junit or log4j used accross all
modules of an entire product.
From: [EMAIL
I have written a pojo, and I would like to know what is the best method to
test it.
I have some unit test of it, but I would like to test his integration inside
maven.
The aproach I have used is to use my own pojo inside the pom.xml of my
project. That provide me a test of a concrete case.
alongside the jar named something
similar to:
artifactId-version.pom
If that's missing, there's a problem. 'm2 install' should handle
installing the primary artifact, attached artifacts, and metadata -
including the POM.
- -john
Gilles Scokart wrote:
| When I try to use the install plugin, I see
When I try to use the install plugin, I see that the jar are installed in
the local respository, but not the pom.xml.
Is it normal? Did I miss somthing? Should I use an other plugin to install
the pom.xml ?
Thanks,
Gilles Scokart
Usually this happens when a plugin project uses itself to build itself.
Might also be because you define a dependency to the plugin AND the plugin
itself (using build/plugins/plugin).
-- Kenney
Indeed, I 'import' the module as a dependency AND as an extension. Is it
the problem? Is there a
org.nextmock:ant-generator --
org.nextmock:ant-generator
But I don't see why there is a cycle. It should not be a problem.
generator can be built alone, but test or the parent project can not be
build. Why ? Any idea ?
Thanks,
Gilles Scokart
When writting a Mojo, what are the standard convention to trace/log [debug]
messages ?
Gilles Scokart
_
Protégez votre boîte de réception: Phishing : comment l'identifier, le
signaler et l'empêcher http://www.fr.msn.be
Thanks, but what are the guidelines on when to log at which level ? I guess
it's a good idea that all plugins follow the same guidelines. What is the
best practice for that ?
And what if our mojo call external code that is not (and should not be)
aware of running into a maven plugin ?
I'm writting a mock generator and I need advice on how to organise my
project. Amongst other module, I have :
- The genrator itself
- The runtime library used by the genrated code
- The Mojo that will launch the genrator from
+ All the unit test.
I wonder how to organise this into modules?
I try to use site:deploy behind a proxy, but I receive an
UnknownHostException.
I have verified if the hostname was accessible from my machine by using
putty, and it works. I just had to configure the HTTP Proxy in putty.
I use the maven 2-alpha 3 version.
I have very poor knowledge in
I have now found why it works with putty.
In putty, there is an option Do DNS lookup at proxy end. This option is
set to auto by default. If I set it to no, it doesn't work.
Is it possible to configure a similar option with the maven plugin ?
From: Gilles Scokart [EMAIL PROTECTED
.
In putty, there is an option Do DNS lookup at proxy end. This option is
set to auto by default. If I set it to no, it doesn't work.
Is it possible to configure a similar option with the maven plugin ?
From: Gilles Scokart [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
Hello,
I try [unsuccessfully] to launch a plugin with a non default configuration.
My project generates mock source code by analysing .class files. In order
to test it, I have written some classes that must be compiled before I
launch my generator.
Thus, I would like to launch a compiler on
behaviour that can be used in any plugin or is it specific
to antrun ?
Where can we found the list of defined variables ?
Why is the project.runtimeClasspathElements not set correctly? Is it a bug?
Did I made something wrong?
Thanks,
Gilles Scokart
I have tried to use ${project.compileClasspathElements} into the
configuration tag of a plugin (antrun), and it seems to work.
How did you use it? Could you post the pom.xml?
I will try to clean it a little bit, then I will post it here.
But when I use
Here is a sample pom.xml
When I execute it, I actually obtain this in the result.txt file :
runtimeclasspath =
C:\Dev\cygwin\home\ScokartG\project\testantrun\target\classes;C:\dev\data\maven2_repository\log4j\log
28 matches
Mail list logo