Custom enforcer rule in 'org.apache.maven.plugins.enforcer' package?

2021-10-22 Thread Simon Taddiken
a user's perspective it would be way nicer not having to write the fully qualified name. Kind regards, Simon

Re: Maven adjusts transitive compile-scope dependency to test-scope

2019-05-14 Thread Simon Taddiken
't need JUnit for my tests just because > SomeAwesomeProject uses JUnit for its tests, and I don't want to ship JUnit > in my project. > > On Tue, May 14, 2019 at 2:40 PM Simon Taddiken > wrote: > > > Hi everyone, > > > > I've encountered the following behavio

Maven adjusts transitive compile-scope dependency to test-scope

2019-05-14 Thread Simon Taddiken
Hi everyone, I've encountered the following behavior and I'm not quite sure whether it is desirable. In my project, I have declared a dependency *X* with scope *test*. I then updated the version of a 3rd party dependency *Y*. In its new version, *Y* suddenly requires the aforementioned dependency

Re: Emotional Support Group for Typesafe Maven Users

2014-12-04 Thread Simon Ochsenreither
I have a lot less issues with SBT than Maven and I think that the Scala IDE could be magnitudes better if it wouldn't have to deal with the train wreck that is Eclipse. Different experiences? - To unsubscribe, e-mail: users-uns

Re: Sign and deploy a pom-only artifact to maven central

2014-11-09 Thread Simon Taddiken
Ok, never mind. I figured it out by the moment I sent the last mail. I forgot to activate the plugin as it was only specified in pluginManagement. Sorry for wasting your time :) Regards, Simon On 09.11.2014 13:00, Stuart McCulloch wrote: Does your pom have a release profile that executes gpg

Re: Sign and deploy a pom-only artifact to maven central

2014-11-09 Thread Simon Taddiken
Hi, yes I do have a release profile to perform the gpg signing. Here is a simplified example of my pom: http://pastebin.com/5EirBDC3 Signing and deploying works as expected for projects which have the given pom as parent, but not for the pom itself. Gruß Simon On 09.11.2014 13:00, Stuart

Sign and deploy a pom-only artifact to maven central

2014-11-09 Thread Simon Taddiken
; fails). I'm basically following the guide here: http://central.sonatype.org/pages/apache-maven.html for deploying to maven central. How can I force a signed output for the pom file? -- Regards Simon - To unsubscribe, e-

Rename a reference WITHOUT including it in the shaded uberjar

2014-09-05 Thread Simon Cooper
Hi, Is it possible to use shade to rename all references to a provided package without including that package in the uberjar? The scenario is that my code depends on a provided project that shades some of its dependencies, but I explicitly want to call a public method in that project that retu

Re: Are skinny WARs still recommended?

2014-02-27 Thread Simon Lessard
package: > > > > > > http://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html > > > > I was already thinking of this :) > > > > However, I felt like there would be something wrong with this approach, > as > > I usually just need to declare a dependency when I want to use a library. > > Not repackage it and include the classes twice in the EAR. > > > > In fact what I proposed is a workaround. Probably you could collaborate > with OmniFaces to split the library into a "common" jar and a JSF-specific > jar, so that the common can be safely put in the EAR. > > Antonio > -- *Simon Lessard*, ADF Architect *CMA* *SYSTeMS* *( +33(0) 6 79 37 39 85 (France)*

Re: Are skinny WARs still recommended?

2014-02-27 Thread Simon Lessard
JSR-314), section 11.5.1 [1]. > > So my question is: how can this problem be solved for skinny WARs? Or are > skinny WARs considered obsolete these days? > > Many thanks in advance, > - martin > > [0] > http://docs.codehaus.org/display/MAVENUSER/Solving+the+Skinny+Wars+pr

[ANN] sonar-maven-plugin 2.1

2013-08-09 Thread Simon Brandhof
p;version=18062 Enjoy, The Mojo team. -- Simon

Re: checkstyle-maven-plugin dependency clash

2013-05-31 Thread Simon Schäfer
/checkstyle/5.6/checkstyle-5.6.jar The first one has version 5.0, the second one version 5.6. After moving from 5.0 to 5.6 everything works fine again. On 05/31/2013 10:30 PM, Simon Schäfer wrote: Hello, I have asked a question on StackOverflow but no one answered so far. Thus, I hope to find more

checkstyle-maven-plugin dependency clash

2013-05-31 Thread Simon Schäfer
Hello, I have asked a question on StackOverflow but no one answered so far. Thus, I hope to find more help here. The original question: http://stackoverflow.com/questions/16837394/checkstyle-maven-plugin-dependency-clash Below is a copy of the question: I want to use `maven-checkstyle-plugi

[maven-jar-plugin] Indexing with customClasspathLayout

2013-04-17 Thread Simon Lessard
, but I'd like to keep both if possible. Thanks, -- *Simon Lessard*, ADF Architect *CMA** **SYSTeMS* *( +33(0) 6 79 37 39 85 (France)*

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Hi Robert This was the whole file, and the column 13 was the ';' of the package declaration. In fact, I opened the java file with TextEdit (and presumably saved it as well) before compiling, and TextEdit may have changed something in a very bad way... Thanks a lot anyway...  Reg

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Hi I needed to regenerate the project again, after changing binaries. Now it works as expected. Strange, that Apple includes a maven which is not working even on basics... Thanks a lot! Simon From: Baptiste MATHUS To: Maven Users List ; Simon Peters Cc

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Hi Simon There seems to another mvn binary pointing to a Apple preinstalled maven. I changed the link to my downloaded one and now: mvn -version Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100) Maven home: /devtools/maven/apache-maven-3.0.5 Java version

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
ale: de_DE, platform encoding: MacRoman OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac" Ups, I'll try with the 3.0.5 update of maven first... Regards Simon ____ From: Curtis Rueden To: Maven Users Lis

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
- SNIP - Regards Simon From: Curtis Rueden To: Maven Users List ; Simon Peters Sent: Monday, April 1, 2013 8:03 PM Subject: Re: Compilation error on Maven getting started guide Hi Simon, > compiler-plugin:2.3.2:compile (default-compile) on proj

Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
t Server VM (build 20.14-b01-447, mixed mode) I guess it's an encoding problem. But how to quickly make it right? Thanks! Simon

RE: How to optimize maven dependencies to get better performance?

2012-11-09 Thread Wang, Simon
Sorry, reply it too late. Brian, you're right, after move it out, works for me. Thanks! Regards Simon -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: 2012年10月16日 19:30 To: Maven Users List Subject: Re: How to optimize maven dependencies to get better perfor

RE: Specify enforcer:enforce rules from command line

2012-10-24 Thread Wang, Simon
I specified rule in pom.xml, after run "mvn enforcer:enforce", still complain no rules set. Really don't know what happened. Regards Simon -Original Message- From: Arnaud bourree [mailto:arnaud.bour...@gmail.com] Sent: 2012年10月24日 22:18 To: Maven Users List Subje

RE: mvn dependency:analyze failed:Invalid signature file digest for Manifest main attributes

2012-10-16 Thread Wang, Simon
Yes, I did. It should be caused by that signed jars are changed. But my question is "whether there is a tool to identify which signed jars are changed?" Regards Simon Here is stack trace: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin: 2.1:analyze (d

RE: mvn dependency:analyze failed:Invalid signature file digest for Manifest main attributes

2012-10-16 Thread Wang, Simon
Yes, you're right, but there are lots of dependency jars. Do you know whether there is a tool(maven plugin) to identify those signed changed jars? Regards Simon -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: 2012年10月17日 10:41 To: users@maven.apach

mvn dependency:analyze failed:Invalid signature file digest for Manifest main attributes

2012-10-16 Thread Wang, Simon
r Manifest main attributes -> [Help 1] Regards Simon

RE: How to optimize maven dependencies to get better performance?

2012-10-11 Thread Wang, Simon
e parameters 'rules' for goal org.apache.maven.plugins: maven-enforcer-plugin:1.1.1:enforce are missing or invalid at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:221) Regards Simon -Original Message- From: Wang, Simon [mailto:yunfeng.w...@ebay.com] Sent:

RE: How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
I'm using 3.0.3, is this bug related to performance? ~Simon -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: 2012年10月11日 14:26 To: Maven Users List; rwhee...@artifact-software.com Subject: Re: How to optimize

RE: How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
Thanks Jesse. I'll try that. Regards Simon -Original Message- From: Jesse Farinacci [mailto:jie...@gmail.com] Sent: 2012年10月11日 11:47 To: Maven Users List Subject: Re: How to optimize maven dependencies to get better performance? Greetings, On Wed, Oct 10, 2012 at 11:16 PM, Wang,

RE: How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
Do you know is there any maven plugin to identify conflict dependencies? Regards Simon -Original Message- From: Barrie Treloar [mailto:baerr...@gmail.com] Sent: 2012年10月11日 11:48 To: Maven Users List Subject: Re: How to optimize maven dependencies to get better performance? On Thu,

How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
flict cases 3) Any others suggestions? Regards Simon - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: maven-assembly-plugin 2.3 and parent pom

2012-09-18 Thread Simon Temple
That's it…thanks for getting me to think about what I'm doing! The / section and the section are very different things. - Simon On 17 Sep 2012, at 17:03, Ron Wheeler wrote: > I believe that this is the correct behaviour. > The Parent pom has a dependencyManagement section w

maven-assembly-plugin 2.3 and parent pom

2012-09-17 Thread Simon Temple
lugin correctly adds them to the lib folder of my distribution. TIA Simon Temple

Re: Deploy and settings.xml

2012-02-29 Thread Frederic Simon
Yes, using CI Server job configuration can actually completely remove the need for "distributionManagement" declaration. The problem becomes a Jenkins job configuration management which I find easier has a global CM tool. Playing with pom files in VCS for handling data that are solely related to th

[ANN] Sonar Maven Plugin 1.0 and 2.0 Released

2011-11-07 Thread Simon Brandhof
The Mojo team is pleased to announce the final releases of the Sonar Maven Plugin. This plugin handles code inspection with Sonar . Release 1.0 supports Maven 2 and release 2.0 is for Maven 3. This document

[ANN] Sonar Maven Plugin 2.0-beta-1

2010-11-17 Thread Simon Brandhof
, Simon Brandhof - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Whatever happened to j2ee-1.4.jar ?

2010-11-10 Thread Simon Lewis
Ah ... ok, thanks On Thu, Nov 11, 2010 at 4:08 PM, Brian Topping wrote: > On Nov 10, 2010, at 9:58 PM, Simon Lewis wrote: > > > What's up with http://repo2.maven.org/maven2/javax/j2ee/j2ee/1.4/ > > You need to download it directly from the JavaEE site and install it

Whatever happened to j2ee-1.4.jar ?

2010-11-10 Thread Simon Lewis
Hi, What's up with http://repo2.maven.org/maven2/javax/j2ee/j2ee/1.4/ Shouldn't there be a jar in there ?? thanks Simon

Re: Cause of Conversion Exception is modelEncoding

2010-10-25 Thread Simon Funnell
Setting a non-beta version for the war plugin in the pom solved this problem, only took a day to resolve it Regards, Simon On 25/10/10 12:34, Simon Funnell wrote: Hi, I am starting to use maven with netbeans 6.9.1 for development of webapps aimed at tomcat but at present get the error

Cause of Conversion Exception is modelEncoding

2010-10-25 Thread Simon Funnell
comments appreciated. Regards, Simon [war:war] Packaging webapp [ERROR]FATAL ERROR modelEncoding : modelEncoding : modelEncoding : modelEncoding

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
Ü(default)-> Ü(utf8) -> Ü(utf8)(utf8) and this one could be unreadable. Does both shell/java read that variable? As I remember those parameters, $LANG, could be used differently on different linus-dists... Cheers, Per On Mon, Oct 18, 2010 at 11:39 PM, Andreas Simon wrote: The ap

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
and that could make that kind of weird behavior... Good luck, Per On Mon, Oct 18, 2010 at 11:11 PM, Andreas Simon wrote: I verified the source code and the test code file with Linux' file command. Both are identified as "UTF-8 Unicode Java program text". I checked on the faili

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
ng. /Anders On Mon, Oct 18, 2010 at 22:30, Andreas Simon wrote: Thank you for your reply! On my developer machine is Ubuntu 10.04. Same result when running Oracle JDK 1.6.0u21. What are you running on your developer machine? Can you run it with Oracle JDK? Cheers, Per Hedman On

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
Thank you for your reply! On my developer machine is Ubuntu 10.04. Same result when running Oracle JDK 1.6.0u21. What are you running on your developer machine? Can you run it with Oracle JDK? Cheers, Per Hedman On Mon, Oct 18, 2010 at 8:51 PM, Andreas Simon wrote: Hi all, I got a

Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
Hi all, I got a quite strange problem with my tests. I have 3 tests that shall control some messages for the user. These messages contain some German umlauts (ä, ö, ü and ß). On my Ubuntu developer machine the tests run fine. On my SuSE integration server the tests fail. The assertions fail w

Re: [ANN] Sonar mojo 1.0-beta-2

2010-09-14 Thread Simon Brandhof
.intellij.rt.execution.application.AppMain.main(AppMain.java:115) > > > > > 14.09.2010 13:00, Aleksey Didik пишет: > > Hello. >> >> Could anyone tell me the difference between >> org.codehaus.*mojo*::sonar-maven-plugin and >> org.codehaus.*sonar*::s

Re: [ANN] Sonar mojo 1.0-beta-2

2010-09-14 Thread Simon Brandhof
focus on the command "mvn org.codehaus.mojo:sonar-maven-plugin:1.0-beta-2:sonar" or on its shortcut "mvn sonar:sonar". It works for any versions of sonar. This is explained in this post : http://www.sonarsource.org/we-had-a-dream-mvn-sonarsonar/ Regards Simon On Tue, Sep

[ANN] Sonar mojo 1.0-beta-2

2010-09-13 Thread Simon Brandhof
irror in maven settings. This improvement requires Sonar 2.2+. It is automatically disabled when using sonar 2.1 or less. Upgrading to this version should be automatic if the shortcut "mvn sonar:sonar" is used. Simon Brandhof

Re: Error 502 using mvn deploy

2010-05-15 Thread Frederic Simon
Out of curiosity: Did you use the embedded jetty with mod_proxy? 2010/5/14 Benoît Thiébault > I switched from Artifactory to Nexus and it solved the problem... > Thanks for your help > > Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit : > > > The error log says : > > proxy: pass request body fa

[ANN] Cobertura Maven Plugin 2.4 released

2010-04-25 Thread Simon Brandhof
1.9.3 * [MCOBERTURA-120] - Update to Cobertura 1.9.4.1 * [MCOBERTURA-122] - Upgrade plexus-utils version to 2.0.2 ** New Feature * [MCOBERTURA-85] - Configuration for different report encodings (other than UTF-8) ** Task * [MCOBERTURA-111] - Missing url tag in pom.xml -- Simon Brandhof

[ANN] Cobertura Maven Plugin 2.3

2009-07-01 Thread Simon Brandhof
The Mojo team is pleased to announce the release of the Cobertura Maven Plugin 2.3. http://mojo.codehaus.org/cobertura-maven-plugin/. Release notes : ** Bug * [MCOBERTURA-88] - Cobertura runs mess up project classpath * [MCOBERTURA-96] - Jar classpath ordering issue during test execution

[ANN] Sonar maven plugin 1.0-beta-1 released

2009-04-22 Thread Simon Brandhof
The Mojo team is pleased to announce the first beta-release of Sonar maven plugin. This plugin allows to analyse sources and extract measures to Sonar, an open-source platform to manage code quality. See http://mojo.codehaus.org/sonar-maven-plugin for details. Have fun

Re: Running a standalone application built with maven

2008-11-25 Thread Simon Lehmann
don't know why this has to be so complicated. The whole JAR/resource concept is quite nice, but its implementation... everytime I think I have understood how everything works, I find something which does not work as expected. If someone can point me towards some good books, articles,

Re: Running a standalone application built with maven

2008-11-25 Thread Simon Lehmann
to work well. I think I even understand what is causing all the problems with the different getResource() methods, but then I still wonder why it has to be this complicated... but thats a completely different subject, which doesn't even belong here I think. Simon signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Running a standalone application built with maven

2008-11-24 Thread Simon Lehmann
ript which can be used to start the application without having to worry about all these things? Thanks a lot, Simon Lehmann signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Re: Why does Maven supress com.sun.image.codec.jpeg?

2008-11-19 Thread Juergen Lorenz Simon
quot; <[EMAIL PROTECTED]> wrote: On Tue, Nov 18, 2008 at 6:59 AM, Juergen Lorenz Simon <[EMAIL PROTECTED] >wrote: the underlined fail. What drives me insane is, that all of those classes reside in the java version's classes.jar. So why the extra treatment for the com.sun.

Re: Why does Maven supress com.sun.image.codec.jpeg?

2008-11-19 Thread Juergen Lorenz Simon
Hi, thanks for the replies. I checked the command On 19.11.2008, at 08:43, "Geoffrey Wiseman" <[EMAIL PROTECTED]> wrote: On Tue, Nov 18, 2008 at 6:59 AM, Juergen Lorenz Simon <[EMAIL PROTECTED] >wrote: the underlined fail. What drives me insane is, that all of thos

Why does Maven supress com.sun.image.codec.jpeg?

2008-11-18 Thread Juergen Lorenz Simon
Hi, I'm trying to compile some Java code with Maven and I've been knocking my head against a problem all morning. The following list of imports fails to resolve: import java.awt.Container; import java.awt.Graphics2D; import java.awt.Image; import java.awt.MediaTracker; import java.awt.Renderi

AW: maven release plugin, set scm from commandline

2008-10-29 Thread von Janowsky, Simon
hanks a lot for your help, Simon. -Ursprüngliche Nachricht- Von: Wendy Smoak [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. Oktober 2008 17:34 An: Maven Users List Betreff: Re: maven release plugin, set scm from commandline On Wed, Oct 29, 2008 at 9:19 AM, von Janowsky, Simon &l

maven release plugin, set scm from commandline

2008-10-29 Thread von Janowsky, Simon
the POM? Best regards, Simon. smime.p7s Description: S/MIME cryptographic signature

AW: Release Plugin does not use Parent POM?

2008-10-29 Thread von Janowsky, Simon
-Darguments=-Pbuild-rel worked great. Thanks a lot :-) Simon. -Ursprüngliche Nachricht- Von: Wendy Smoak [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. Oktober 2008 15:29 An: Maven Users List Betreff: Re: Release Plugin does not use Parent POM? On Wed, Oct 29, 2008 at 6:15 AM, von

Release Plugin does not use Parent POM?

2008-10-29 Thread von Janowsky, Simon
build-dev build-dev is a profile in my settings.xml __ Why isn't the build-rel profile added to the POM? When I add the profile build-rel manually into the child POM, although present in the parent POM, the deploy works fine. Hope someone can help me with t

AW: skip tests in a single goal

2008-10-15 Thread von Janowsky, Simon
efore... Anyone knows howto avoid this? When setting true in the build section or -Dmaven.test.skip=true ALL tests are skipped, in the deploy goal and the site goal. Greetings, Simon. ... org.apache.maven.plugins maven-surefire-report-p

AW: skip tests in a single goal

2008-10-15 Thread von Janowsky, Simon
Yes, but then all tests in all goals will get skipped -Ursprüngliche Nachricht- Von: aXXa [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Oktober 2008 12:48 An: users@maven.apache.org Betreff: Re: skip tests in a single goal Have you tried $>mvn deploy -Dmaven.test.skip=true -Ma

skip tests in a single goal

2008-10-15 Thread von Janowsky, Simon
Hello, on our CI-Server (Hudson) we execute three goals per module: clean, deploy, site. Now the tests get executed twice, which is a correct behaviour, but can cost lots of time... Is there a way to disable tests for one single goal? Greetings, Simon. smime.p7s Description: S/MIME

AW: trunk/tags/branches: root vs. project level

2008-10-15 Thread von Janowsky, Simon
/tags module2/trunk/pom.xml repository project 2: module1/branches module1/tags module1/trunk/pom.xml module2/branches module2/tags module2/trunk/pom.xml With kind regards, Simon von Janowsky -Ursprüngliche Nachricht- Von: Stefan Fritz [mailto:[EMAIL PROTECTED

Dependencies without version tag

2008-10-03 Thread Simon Trudeau
p the version tag from a dependency so that it will be reflected in the classpath entry of the jar's manifest? Thanks. Simon P.S.: Any maven help in dealing with the comm.jar library is also welcomed! :.)

RE: Using springframework in maven project

2008-09-12 Thread Simon Aquilina
command. Re-built my solution and everything worked fine. I do not know what the problem is exactly. However I will try to do some more experimenting :) Regards, Simon J. > Date: Thu, 11 Sep 2008 08:42:45 -0700 > From: [EMAIL PROTECTED] > To: users@maven.apache.org > Subjec

RE: Using springframework in maven project

2008-09-11 Thread Simon Aquilina
, Simon J. > Date: Wed, 10 Sep 2008 17:37:19 +0200 > From: [EMAIL PROTECTED] > To: users@maven.apache.org > Subject: Re: Using springframework in maven project > > Maybe your company explicitly forbids the spring-full dependency as > many artifacts depends on one or more spr

Using springframework in maven project

2008-09-10 Thread Simon Aquilina
as a dependency but also failed! :( Regards, Simon J. _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx

Problem with Maven, Hudson, Archiva - Builds take very long

2008-08-26 Thread von Janowsky, Simon
2 - Session: Disconnected http://dist.codehaus.org/ - Session: Opened http://dist.codehaus.org/ - Session: Disconnecting http://dist.codehaus.org/ - Session: Disconnected .. . .. __ Help would be really app

Re: Symlink in assembly

2008-08-21 Thread Simon Spacey
nged it to build the links, so not a showstopper for me. Cheers Simon >>> "Brett Porter" <[EMAIL PROTECTED]> 20/08/2008 13:15 >>> Because the code is in Java, it probably isn't possible to distinguish symlinks from files. One (albeit roundabout) alternative i

Symlink in assembly

2008-08-20 Thread Simon Spacey
d and copied. If the symlink is not resolvable then it's silently ignored. Is there a way to get the links replicated? Thanks, Simon -- View this message in context: http://www.nabble.com/Symlink-in-assembly-tp19066796p19066796.html Sent from the Maven - Users mailing list archive at

Assembly plugin - tests classifier?

2008-08-15 Thread Simon Trudeau
jars generated from the project which gets named myjar-1.0-tests.jar? How come does the tests classifier gets added to the jar's name for the jar generated from the project from which I invoke the assembly? I don't even make any reference to the test scope in my project. Thanks, Simon

What is the directory of the parent pom.xml file?

2008-08-06 Thread Simon Trudeau
|-B |-... |-Z |-outputdir (relative to P) Thanks for your help, Simon

Re: How to set/configure the maven.repo.local?

2008-07-17 Thread Julien Simon
Hi, In your maven installation directory, you have to modify the settings.xml file under the conf directory. You can specify your local repository like that: c:\localRepository ... Regards.

Re: How to package test souce code?

2008-07-04 Thread Julien Simon
Hi, You can use the maven-jar-plugin [1] with the test-jar goal. Or you can use the maven-assembly-plugin [2] . If what you want to do is only to package the tests classes in a jar file, run mvn jar:test-jar. If you want it to be done automatically in your build, configure the plugin in your pom

Re: Assembly Not Installing with false

2008-07-03 Thread Julien Simon
your repository without the assemblyId at the end of its name. Regards, Juien Simon.

Re: Adding custom link to the report of mvn site.

2008-07-01 Thread Julien Simon
Hi, If you want to add a link in the menu of the site generated by maven, you could add the file site.xml under src/site/site.xml with something like the following content : Have a look at http://maven.apache.org/guides/mini/guide-site.html or "The Maven Definitive Guide"

Re: Inherit dependencies problem

2008-06-27 Thread Julien Simon
Hi, Maybe this is just a "copy and paste" error but the end tag is missing. Julien Simon.

Re: dependencyManagement and dependecies

2008-06-27 Thread Julien Simon
Hi, I think that's because in your master pom, you didn't specify ejb-client. But you are right, you don't need to specify the dependency version in your children poms. Regards, Julien Simon.

Re: Reusable, in-line assemblies/user-level descriptorrefs

2008-06-26 Thread Julien Simon
I don't really understand why this is a problem... Maybe you could try to use the tag in your plugin configuration at the parent level like this; maven-assembly-plugin ... ${assembly.skip} ... and set a property in you

Re: Assembly to include another assembly

2008-06-26 Thread Julien Simon
lugin/component.html#class_dependencySetfor information on how to configure the section. Regards, Julien Simon.

Re: Reusable, in-line assemblies/user-level descriptorrefs

2008-06-25 Thread Julien Simon
contained in the artifact. If you want more details with code examples, you should read "the maven definitive guide" from page 303 to 306. It's available at http://www.sonatype.com/book/ , and there's a good example about how to make reusable assembly descriptors. Regards, Julien Simon.

Re: maven assembly bug MASSEMBLY-74

2008-06-25 Thread Julien Simon
Thanks, I have opened a JIRA issue at http://jira.codehaus.org/browse/MASSEMBLY-332 . I didn't mention the http://jira.codehaus.org/browse/MASSEMBLY-74 bug in the issue description, because for me the problem appears only for a assembly with a war format. Regards, Julien Simon.

maven assembly bug MASSEMBLY-74

2008-06-23 Thread Julien Simon
Hi, I'm having a problem when I try to create an assembly with a specified MANIFEST.MF. I use the following configuration; maven-assembly-plugin ${basedir}/src/main/resources/META-INF/MANIFEST.MF The problem is that the file I specified is not used. It's exactly the problem as described in

Re: Current date/time as a property

2008-06-23 Thread Julien Simon
Hi, You could use the buildnumber-maven-plugin: http://mojo.codehaus.org/buildnumber-maven-plugin/create-mojo.html. It will generate a property containing the date and time at build time (the default value for the name of the property is buildNumber). You can use the property ${buildNumber} after

Re: How to omit/include a jar file during packaging

2008-06-19 Thread Julien Simon
Hi, You could specify a provided scope for the dependency that you don't want to package in your WAR. It will use the dependency for the compile phase, but will not include it in your war. my-jar-group my-jar-artifact provided On Thu, Jun 19, 2008 at 4:14 PM, prabho <[EMAIL

Re: How to filter Test case?

2008-06-19 Thread Julien Simon
Hi, If you want to exclude some specific tests you need to configure the surefire plugin in your pom. Have a look at this http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html There's an example showing how to exclude tests. On Thu, Jun 19, 2008 at 4:31 AM, youha

Re: Question about why/when Maven will automatically exclude transitive dependencies.

2008-06-17 Thread Julien Simon
Hi, If you want to see the list of dependencies and their scope for a POM, you could try mvn dependency:tree For further information on how to use the dependency plugin, have a look a this link ; http://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-depend

Re: How to build a own goal

2008-06-15 Thread simon
ad the maven books carefully, in particular the section about the maven "lifecycle". Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!)

2008-06-12 Thread simon
is what runs the unit tests): http://maven.apache.org/plugins/maven-surefire-plugin Maven uses commandline properties for all sorts of things, so passing them through to the unit tests would not be a good idea. Regards, Simon --

Re: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!)

2008-06-12 Thread simon
On Thu, 2008-06-12 at 13:53 -0700, Todd Nguyen wrote: > mvn version: 2.0.7 > > I ran this at the command line, mvn clean test -Dtest=PropertiesTest > -Dinput=com.mycompany.test > > In my PropertiesTest, i have this code snippet. > > ... > if (System.getProperties().containsKey("input")) { >

Re: Java property in local repository path

2008-06-12 Thread Julien Simon
There's a JIRA issue about the interpolation of properties in settings.xml http://jira.codehaus.org/browse/MNG-2577 Check the version of Maven you are using. I'm using maven 2.0.9 and I have an environnement variable named REPOSITORY. In my settings.xml I have ${env.REPOSITORY} and everything work

Re: Generated Dependencies != list

2008-06-11 Thread simon
n dependency:tree" to see the full set of dependencies (including transitive dependencies). Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread simon
uot;? It shows most of the dependency setup occurring for plugins.. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread simon
to an earlier site plugin version might help. Are you using any non-standard plugins that also depend on Velocity? If so, then it might also be worth trying to comment those out... Regards, Simon On Wed, 2008-06-11 at 10:17 -0700, Mick Knutson wrote: > I commented out ALL my reporting plugins, then

Re: checkstyle problem with maven : Unable to instantiate TreeWalker

2008-06-06 Thread Julien Simon
n 6, 2008 at 1:54 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Are you using your own custom checks or provide a custom packagenames.xml > file? In that case see this page: > > > http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/custom-developed-checkstyle.h

Re: Trouble with import scope

2008-06-05 Thread simon
gt; imported pom (one place), force all your projects to import it (can be > any pom in the repo), and poof they all get version maintenance for > free. Except that it doesn't "force" lib versions at all. It just provides defaults for when a

Re: Trouble with import scope

2008-06-05 Thread simon
OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: > "x86" Family: "dos" > = > What are you expecting to happen? I wasn't aware of the new "import" scope, but it seems from reading the page that it imports *dep

Re: checkstyle problem with maven : Unable to instantiate TreeWalker

2008-06-05 Thread Julien Simon
heckstyle 4.3 in your Checkstyle configuration. > > Version 2.2 of the plugin, which is being released as we speak, uses > Checkstyle 4.4. Start by giving that version a try. > > > Julien Simon wrote: > >> Hi, >> I'm trying to integrate a checkstyle report in

  1   2   3   4   5   >