On Tue, Jun 16, 2009 at 02:32:49PM +0200, Reinhard Nägele wrote:
> There is a Jira ticket for this problem, which I provided a patch for
> quite a while ago.
>
> http://jira.codehaus.org/browse/MRELEASE-415
>
> It'd be nice if the issue could get some attention by the developers.
Okay, thank yo
Hello there!
I am facing some strange problem with the profile definition. Looks like if
there is the file profiles.xml, located in the same directory as the pom.xml
for the parent project - specifying one of the profiles with -P switch does
not affect child modules. At least
mvn help:active-prof
On Wed, Jan 07, 2009 at 09:35:16AM -0500, John Stoneham wrote:
> On Wed, Jan 7, 2009 at 9:22 AM, Eugeny N Dzhurinsky wrote:
> > Can somebody please advice, is it possible to skip execution of certain
> > plugins, which are only needed when performing the tests?
>
> You c
On Wed, Jan 07, 2009 at 03:36:44PM +0100, Baptiste MATHUS wrote:
> Hi,
> Just an idea, I see here (
> http://mojo.codehaus.org/sql-maven-plugin/execute-mojo.html#skip) there's a
> skip option.
> Have you tried adding the corresponding configuration, and just put
> something like:
>
>
> ${maven.te
Hello!
Can somebody please advice, is it possible to skip execution of certain
plugins, which are only needed when performing the tests?
For instance, we need to prepare the correct SQL database for our tests, we
are using sql-maven-plugin to create the database and insert the required data
into
Hello!
Sorry for disturbind the community, but for some reason I can't subscribe to
m2eclipse user list (because of spam issues with IP of my provider), and I
know this mailing list is being read by the m2eclipse developers.
I recently found weird issue - if I add nu.validator.htmlparser and
org.
Hello!
I recently found some really weird issue when doing the debug of the libraries
with attached sources in Eclipse. I used projects, which are being built by
Maven2. The problem is if any new dependency was added after the debug
configuration is created, then the source for the dependency is d
On Mon, Oct 06, 2008 at 04:51:55PM +0300, Eugeny N Dzhurinsky wrote:
> On Tue, Sep 23, 2008 at 06:16:20AM +0930, Barrie Treloar wrote:
> > yes, from the command line you use "Expression" not the configuration
> > valeue, so use "eclipse.workspace"
>
On Tue, Sep 23, 2008 at 06:16:20AM +0930, Barrie Treloar wrote:
> yes, from the command line you use "Expression" not the configuration
> valeue, so use "eclipse.workspace"
> as in
>
> mvn eclipse:eclipse -Declipse.workspace=/home/user/workspace
This doesn't work either - a JAR dependency is bein
On Tue, Sep 23, 2008 at 12:00:39PM +0300, Eugeny N Dzhurinsky wrote:
> > Out of curiosity, why don't you use Maven IDe integration, such as
> > m2eclipse? http://m2eclipse.codehaus.org/
>
> I just tried it and I was really impressed of it's capabilities. Many thanks!
On Mon, Sep 22, 2008 at 01:47:13PM -0700, Eugene Kuleshov wrote:
>
>
> Eugeny N Dzhurinsky-2 wrote:
> >
> > I have the project A, which depends on the project B, both of the projects
> > are
> > located in the same workspace.
> > ...
> > I found t
Hello, everybody!
I have the project A, which depends on the project B, both of the projects are
located in the same workspace.
When generating the eclipse project files for the project A, the project B
reference is being taken from the repository as a JAR file.
What I want is to include the pr
Hello everybody!
Could you please explain how can I provide some specific settings for a
plugin, which would apply to any Maven project? For instance, I need to
configure the Eclipse plugin to add the project version to a generated
project, currently I need to provide each and every POM file with
Hello!
I would like to upload an artifact to Maven central repository, however
there's no public SCM available for the artifact - can I still upload the
artifact to the repository, or I have to set up and maintain our custom
in-house repository for publishing jars and source attachments?
Thank yo
On Sun, Mar 30, 2008 at 09:05:01PM +0200, Siarhei Dudzin wrote:
> I think using a maven proxy like artifactory is a better option.
Artifactory is a pain, give a try to Apache Archiva
--
Eugene N Dzhurinsky
pgpOG0P96olR4.pgp
Description: PGP signature
;On Sun, Mar 30, 2008 at 02:46:11AM -0700, SKService wrote:
>
> I've started using and reading docs on Maven. While using and also while
> referring docs, realized that, when maven is being used for the first time,
> it downloads a lot of artifacts (jars, poms, etc).
>
> I wanted to find out whet
Hello, everybody!
I need some help with this task:
We have a project which consists of several modules, and now we need to add
the new one - but this module has a binding to JNI, which requires to compile
and link native code. After the research I've found there is a plugin at
FreeHEP (freehep-na
On Mon, Nov 26, 2007 at 12:28:44PM +0100, Nicole Lacoste wrote:
> Please don't address the list as gentlemen! It isn't nice for the
> gentlewomen who are on the list too :-)
Ouch, please excuse me, I didn't mind to offend you ;)
Probably I had to use "Gentlehomo"? ;)
--
Eugene N Dzhurinsky
pg
On Mon, Nov 26, 2007 at 11:13:43AM +0100, [EMAIL PROTECTED] wrote:
> If I recall correctly, there is a bug in the settings.
>
> When you have a repository and a server with the same id, Maven gets confused.
>
> So, do you also have a repository configured with id ourrepository?
>
> Normally I po
Hello, gentlemen, we are using Artifactory to hold the modules we're using in
Maven, for some weird reason we can't upload an artifact to the repository.
For example I want to deploy the artifact with such command:
mvn deploy:deploy-file -DgroupId=org.apache.hadoop \
-DartifactId=hadoop-core
On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote:
> On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote:
> > Eugeny N Dzhurinsky wrote:
> >> Hello!
> >>
> >> Could somebody please explain how is it possible to create WAR file
On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote:
> Eugeny N Dzhurinsky wrote:
>> Hello!
>>
>> Could somebody please explain how is it possible to create WAR file from
>> WEB
>> application, but instead of having Java sources compiled and placed
Hello!
Could somebody please explain how is it possible to create WAR file from WEB
application, but instead of having Java sources compiled and placed into
WEB-INF/classes - package those classes as a JAR file and place it into
WEB-INF/lib/?
Also I need to include some external resources (proper
Hello there!
I have some (strange?) requirement:
there is a web application, let's say projectA. This application contains some
classes, required libraries, images, javascript/jsp files etc.
now I have application (projectB), which depends on projectA. To resolve such
dependency, I need to have
On Mon, Jul 09, 2007 at 05:31:16PM +0300, Eugeny N Dzhurinsky wrote:
> Hello!
>
> In my application some tests are performing lookup for test (sample) data,
> create and manage some mapping tables, which tables are verified by another
> tests and then needed to be included int
Hello!
In my application some tests are performing lookup for test (sample) data,
create and manage some mapping tables, which tables are verified by another
tests and then needed to be included into main JAR file, generated by maven
package/install goals. So I need to provide an ability to includ
On Tue, Jul 03, 2007 at 04:36:48PM +0200, Tim Kettler wrote:
> Hi,
> The URL format looks wrong. It should have a format like this:
>repositoryPrefix/groupId/artifactId/version/filename
> but it actually has:
>repositoryPrefix/groupId/artifactId/filename
Really, I missed that (i wasn't
On Tue, Jul 03, 2007 at 03:13:14PM +0200, Thorsten Heit wrote:
> Hi,
>
> > We need to use JBoss Drools project, there is a special meta-module POM at
> > http://repository.jboss.com/maven2/org/drools/drools/3.0.5/drools-3.0.5.pom
> >
> > I specified the repository in my POM and added dependency:
Hello!
We need to use JBoss Drools project, there is a special meta-module POM at
http://repository.jboss.com/maven2/org/drools/drools/3.0.5/drools-3.0.5.pom
I specified the repository in my POM and added dependency:
org.drools
drools
3.0.5
however maven can't download JAR file a
org.codehaus.mojo
jspc-maven-plugin
jspc
compile
compile
./WEB-INF/web.xml
nonexistent
/dev/null
.
jsp-compile
Hi there!
I need to compile some stubs for classess I use, with freehep-rmic-plugin.
It works file, but for some reason stub classess are not packaged into
module's resulting JAR file.
Any ideas why is that and how to fix?
--
Eugene N Dzhurinsky
There was an issue in the plugin, thjanks to from
[EMAIL PROTECTED]
svn co https://svn.codehaus.org/mojo/trunk/mojo/dependency-maven-plugin and
then `mvn install' did the trick.
--
Eugene N Dzhurinsky
-
To unsubscribe, e-mail:
I have a project which consists of several modules (m1,m2 and m3)
m2 depends of m1, m3 depends of m1 and m2
In m3/pom.xml I have definition for dependency plugin like this
org.codehaus.mojo
dependency-maven-plugin
org.apache.maven.plugins
maven-jar-plugin
jar
package
jar
WEB-INF/lib
For some reason that configuration does not force maven to store JAR in
WEB-
On Mon, Jun 05, 2006 at 08:30:50AM -0400, Charlie Groves wrote:
> Jars are created with maven-jar-plugin, so you'd change the output
> directory by setting its basedir in your plugin configuration in
> build. You can see the jar plugin docs at
> http://maven.apache.org/plugins/maven-jar-plugin/jar
On Fri, Jun 02, 2006 at 07:45:53PM +0300, Eugeny N Dzhurinsky wrote:
> But still wandering how I can specify different directory for placing JAR file
> produced with "package" goal?
Is it not possible at all with maven?
--
Eug
On Fri, Jun 02, 2006 at 07:31:00PM +0300, Eugeny N Dzhurinsky wrote:
> Is it possible to alter some plugin parameters in POM?
>
> For example, if project consists of several modules, I would like to provide
> some module-specific parameters (for instance - for dependency plugin
Is it possible to alter some plugin parameters in POM?
For example, if project consists of several modules, I would like to provide
some module-specific parameters (for instance - for dependency plugin I need
to provide different target directory to place dependencies into, and for
packaging plugi
On Fri, Jun 02, 2006 at 04:35:00PM +0200, Tim Kettler wrote:
> Hi,
>
> maybe the dependecy-maven-plugin at
> http://mojo.codehaus.org/dependency-maven-plugin/ and the assembly-plugin
> at http://maven.apache.org/plugins/maven-assembly-plugin/ are what you are
> looking for.
http://mojo.codehau
I'm trying to rework legacy app to use Maven. This application consists of
several modules:
* Common
* MPL
* MML
Where MPL and MML depends of Common, and MML depends of Common and MPL
I separated code for these modules and application builds fine now.
After running mvn package I got 3 JAR files C
On Fri, Jun 02, 2006 at 12:59:10PM +0100, Kieran Brady wrote:
> You need another parameter:
>
> mvn
> install:install-file -DgroupId=somegroup -DartifactId=someartifact
> -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true
Really. Thanks!
--
Eugene N Dzhurinsky
I it possible to force maven to generate POM files every time when command
mvn install:install-file -DgroupId=somegroup -DartifactId=someartifact
-Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar
Right now maven tries to dowload POM every time when JAR file is used for
compilation etc.
--
Euge
I have some project which consists of several modules.
Some of modules depends of another modules.
project
|-module1
|-module2
|-module3
I would like to be able to build single module and all modules it depens on if
required. If I change directory to 'module3' and try mvn compile, maven
complains
On Wed, May 31, 2006 at 11:07:21AM +0100, ben short wrote:
> You should take a look at this book.
>
> http://www.mergere.com/m2book_download.jsp
>
> Its free to download.
Umm, does image for code confirmation not displayed for me only or somebody
faces same problems there?
http://www.mergere.co
We would like to move to Maven instead of Ant scripts.
We have distributed application with set of serivces, common code and WEB
interface.
We would like to organize modules as different subprojects, for example
Common
Services
Web
while Services depends of Common, Web depends of Common and Serv
On Wed, May 31, 2006 at 11:49:05AM +0200, Arnaud HERITIER wrote:
> Your are following the maven 2 documentation, but you are using maven 1.
> With maven 2 the command is :
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
>
> The documentation for maven 1 is here : http://mave
On Wed, May 31, 2006 at 10:50:37AM +0100, ben short wrote:
> Did you get that command from this page?
>
> http://maven.apache.org/guides/getting-started/index.html
Right, I didn't realize it is for Maven 2 :)
--
Eugene N Dzhurinsky
--
Hello!
I'm trying to create sample project as described in online documentation, but
no luck - it fails with this error:
maven archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\_
On Mon, Feb 13, 2006 at 06:08:45PM -0500, Alexandre Poitras wrote:
> Just run compile on your parent project and everything will work fine.
And it will build entire project? I don't need this, I need to build just
single module.
--
Eugene N Dzhurinsky
---
On Mon, Feb 13, 2006 at 10:21:15AM -0500, Mang Jun Lau wrote:
> >I have something like this
> >
> >project
> >|-module1
> >|-module2
> >|-module3
>
> If you have something like this, have you defined a parent POM in your
> project directory? If you have, then you can compile module 2 by running
On Sun, Feb 12, 2006 at 04:32:15PM -0500, Alexandre Poitras wrote:
> For instance 'mvn compile' will compile all the child modules while
> taking care of their interdependencies.
I don't need to build entire project, i just want to build module2 :(
How could I specify dependency of the module at t
On Sun, Feb 12, 2006 at 06:48:21AM -0500, Alexandre Poitras wrote:
> Yeah if you run the command in your parent directory, maven will
> resolve the dependencies.
you mean something like 'mvn compile module2' ?
--
Eugene N Dzhurinsky
--
On Sat, Feb 11, 2006 at 07:23:58PM -0500, Alexandre Poitras wrote:
> You problably forgot to add a parent reference in your different
> modules. After that, you just need to run the command in the directory
> of your parent project, wich has a pom packaging declared, and Maven
> will figure out the
On Sat, Feb 11, 2006 at 07:24:40PM +0100, Nicolas Peeters wrote:
> To create the jar/war/... run "mvn package"
> To compile: you can run "mvn compile".
> See http://maven.apache.org/guides/getting-started/index.html
Could you please read the thread from top? I'm trying to compile module in
multi-m
On Fri, Feb 10, 2006 at 11:43:26AM -0500, Mang Jun Lau wrote:
> In this case, you need to call a "mvn install" on the module that is being
> depended on so that the module is built to your local repository. Then,
> it should find the jar in your local repository and not on the web.
Cool.. but d
On Fri, Feb 10, 2006 at 11:06:48AM -0500, Mang Jun Lau wrote:
> Hi,
>
> Simply have something like this in your pom.xml:
>
>
>
>
> someGroupId
> moduleNameThisModuleIsDependentOn
> 1.0.0
>
>
>
it tries to download the JAR file from WEB...
--
Eugene N Dzhurin
Hi there!
Could somebody please point me how can i specify dependencies between modules
in the project?
modules are located on the same level.
--
Eugene N Dzhurinsky
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
57 matches
Mail list logo