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

2021-10-22 Thread Simon Taddiken
rspective 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
or 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 behavior and I'm not quite sure whe

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:

Sign and deploy a pom-only artifact to maven central

2014-11-09 Thread Simon Taddiken
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-mail: users-unsubscr...@maven.apache.org

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

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

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

Re: Are skinny WARs still recommended?

2014-02-27 Thread Simon Lessard
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+problem [1] http://jcp.org/en/jsr/detail?id=314 -- *Simon Lessard*, ADF Architect *CMA* *SYSTeMS

Re: Are skinny WARs still recommended?

2014-02-27 Thread Simon Lessard
. 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

[ANN] sonar-maven-plugin 2.1

2013-08-09 Thread Simon Brandhof
://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=12430version=18062 Enjoy, The Mojo team. -- Simon

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

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

[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)*

Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
mode) I guess it's an encoding problem. But how to quickly make it right? Thanks! Simon

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Hi Curtis sure, it's the default generated hello world: - SNIP -- package com.testing; /**  * Hello world!  *  */ public class App  {     public static void main( String[] args )     {         System.out.println( Hello World! );     } } --- SNIP - Regards Simon

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
: 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 ctrue...@wisc.edu To: Maven Users List users@maven.apache.org; Simon Peters

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
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 bmat...@batmat.net To: Maven Users List

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...  Regards 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 performance

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 Subject: Re: Specify

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

2012-10-16 Thread Wang, Simon
- [Help 1] Regards Simon

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.apache.org

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 (default-cli

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

2012-10-11 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 maven

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

2012-10-11 Thread Wang, Simon
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:221) Regards Simon -Original Message- From: Wang, Simon [mailto:yunfeng.w...@ebay.com] Sent: 2012年10月11日 13:41 To: Maven Users List Subject: RE: How to optimize maven dependencies to get better performance? Hi, Barrie, That's really helpful

How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
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: How to optimize maven dependencies to get better performance?

2012-10-10 Thread Wang, Simon
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, Oct 11, 2012 at 1:46 PM, Wang

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, Simon

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 dependencyManagment/dependencies section and the dependencies 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

maven-assembly-plugin 2.3 and parent pom

2012-09-17 Thread Simon Temple
POM then the assembly plugin 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 the

[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 Sonarhttp://www.sonarsource.org/ . Release 1.0 supports Maven 2 and release 2.0 is for Maven 3. This

[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

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: 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 topp...@codehaus.org 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

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: 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

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

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 Simonandreas.si...@gmx.de wrote:

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
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 failing SuSE system. Am 18.10.2010 22:54, Anders Hammar wrote: Have you verified that all Java files involved are in fact using UTF-8 char

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
The application is not internationalized, so I don't use property files in the test code or tested code. The $LANG variable is de_DE.utf8 on both machines. Sorry, I didn't catch your last point. Am 18.10.2010 23:30, per-henrik hedman wrote: Are you using property files in resources? Those

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
I thought that Maven simply compiles the source file to a class file, so it's one chance for re-encoding. I'm not so good at Linux internals. Is there another variable or setting that I could check? If you encode/decode one too many times you could get some weird behavior, like Ü(default)-

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

2010-09-14 Thread Simon Brandhof
to 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 14, 2010 at 11:00 AM, Aleksey

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

2010-09-14 Thread Simon Brandhof
Didik пишет: Hello. Could anyone tell me the difference between org.codehaus.*mojo*::sonar-maven-plugin and org.codehaus.*sonar*::sonar-maven-plugin? Looks like I have lost a little. Thanks, Aleksey. 13.09.2010 19:24, Simon Brandhof пишет: The Mojo team is pleased to announce

[ANN] Sonar mojo 1.0-beta-2

2010-09-13 Thread Simon Brandhof
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 thieba...@artenum.com 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

[ANN] Cobertura Maven Plugin 2.4 released

2010-04-25 Thread Simon Brandhof
* [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
... but thats a completely different subject, which doesn't even belong here I think. Simon signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Re: Running a standalone application built with maven

2008-11-25 Thread Simon Lehmann
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, documentation on this subject, I would be really thankful. Simon signature.asc Description

Running a standalone application built with maven

2008-11-24 Thread Simon Lehmann
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
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 those classes reside

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

2008-11-19 Thread Juergen Lorenz Simon
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.XY classes? Fail in the Maven command-line

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

Release Plugin does not use Parent POM?

2008-10-29 Thread von Janowsky, Simon
__ 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 this, 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

maven release plugin, set scm from commandline

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

AW: maven release plugin, set scm from commandline

2008-10-29 Thread von Janowsky, Simon
that. Thanks 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 [EMAIL

AW: skip tests in a single goal

2008-10-15 Thread von Janowsky, Simon
... Anyone knows howto avoid this? When setting configuration skipTeststrue/skipTests /configuration in the build section or -Dmaven.test.skip=true ALL tests are skipped, in the deploy goal and the site goal. Greetings, Simon. build ... plugin

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

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

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

Dependencies without version tag

2008-10-03 Thread Simon Trudeau
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 Subject: Re: Using

RE: Using springframework in maven project

2008-09-11 Thread Simon Aquilina
full. Any other ideas? Thanks for all the help already given :) Regards, 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

Using springframework in maven project

2008-09-10 Thread Simon Aquilina
the jmx library as well. I tried to include this 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
://dist.codehaus.org/ - Session: Disconnecting http://dist.codehaus.org/ - Session: Disconnected .. . .. __ Help would be really appreciated. Thanks a lot, Simon. smime.p7s Description: S/MIME cryptographic

Re: Symlink in assembly

2008-08-21 Thread Simon Spacey
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 is to use assembly:directory, and then exec tar to produce

Symlink in assembly

2008-08-20 Thread Simon Spacey
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 Nabble.com

Assembly plugin - tests classifier?

2008-08-15 Thread Simon Trudeau
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
|-A |-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: settings localRepositoryc:\localRepository/localRepository ... /settings 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

Re: Assembly Not Installing with appendAssemblyIdfalseappendAssemblyId

2008-07-03 Thread Julien Simon
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 : project name=MyProject body menu name=Menu Name item name=My report href=MyReportIndex.html/ /menu /body

Re: Inherit dependencies problem

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

Re: Assembly to include another assembly

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

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

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; plugin artifactIdmaven-assembly-plugin/artifactId configuration archive manifestFile${basedir}/src/main/resources/META-INF/MANIFEST.MF/manifestFile /archive /configuration

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,

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. dependency groupIdmy-jar-group/groupId artifactIdmy-jar-artifact/artifactId

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 ;

Re: How to build a own goal

2008-06-15 Thread simon
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: 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

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: Passing in system properties not working in maven 2.0.7 (PLEASE HELP!)

2008-06-12 Thread simon
properties for all sorts of things, so passing them through to the unit tests would not be a good idea. 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 ran site

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

2008-06-11 Thread simon
for plugins.. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Generated Dependencies != dependency list

2008-06-11 Thread simon
use mvn 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: checkstyle problem with maven : Unable to instantiate TreeWalker

2008-06-06 Thread Julien Simon
-developed-checkstyle.html Julien Simon wrote: Thanks for the answer. So, I tried maven-checkstyle-plugin 2.2 and it didn't work either, but that's a good beginning to have the correct plugin version... In the xml checkstyle configuration file where modules are defined, i tried to change

Re: checkstyle problem with maven : Unable to instantiate TreeWalker

2008-06-05 Thread Julien Simon
Checkstyle 4.1. So you can't use stuff from Checkstyle 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 a maven

Re: Trouble with import scope

2008-06-05 Thread simon
-reading the page that you linked to. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trouble with import scope

2008-06-05 Thread simon
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 pom doesn't explicitly set them itself. Regards, Simon

checkstyle problem with maven : Unable to instantiate TreeWalker

2008-06-04 Thread Julien Simon
Hi, I'm trying to integrate a checkstyle report in a maven project, but I'm facing a problem. The checkstyle report is based on a custom checkstyle check module I developed. I'm using maven 2.0.9, maven-checkstyle-plugin 2.1, and checkstyle 4.3 When I execute mvn checkstyle:checkstyle or mvn

Re: selecting profile in the pom.xml file

2008-05-31 Thread simon
that would be the best solution.. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: eclipse plugin classpath and .svn directories

2008-05-29 Thread simon
? Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tools to help analyze to see if multiple versions of artifacts is a problem

2008-05-28 Thread simon
its dependency on A as [1.0,1.1). But generally libs don't do that because when they are released they don't know what the upper bound of acceptable versions is. And that's ok; proper testing will pick up any problems. Regards, Simon

  1   2   3   4   >