rspective it would be way nicer not
having to write the fully qualified name.
Kind regards,
Simon
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
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
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:
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
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
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
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
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
.
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
://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=12430version=18062
Enjoy,
The Mojo team.
-- Simon
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
/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
, but I'd like to
keep both if possible.
Thanks,
--
*Simon Lessard*, ADF Architect
*CMA** **SYSTeMS*
*( +33(0) 6 79 37 39 85 (France)*
mode)
I guess it's an encoding problem. But how to quickly make it right?
Thanks!
Simon
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
: 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
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
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
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
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
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
- [Help 1]
Regards
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
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
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
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
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
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
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
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
POM then the assembly plugin correctly
adds them to the lib folder of my distribution.
TIA
Simon Temple
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
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
,
Simon Brandhof
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
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
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
comments appreciated.
Regards,
Simon
[war:war]
Packaging webapp
[ERROR]FATAL ERROR
modelEncoding : modelEncoding : modelEncoding : modelEncoding
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
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
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:
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
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
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)-
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
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
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
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
* [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
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
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
... but thats a completely different subject, which doesn't
even belong here I think.
Simon
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
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
about all these things?
Thanks a lot,
Simon Lehmann
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
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
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
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
__
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
-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
the command line without altering the
POM?
Best regards,
Simon.
smime.p7s
Description: S/MIME cryptographic signature
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
...
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
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
/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
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
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! :.)
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
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
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
://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
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
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
don't
even make any reference to the test scope in my project.
Thanks,
Simon
|-A
|-B
|-...
|-Z
|-outputdir (relative to P)
Thanks for your help,
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.
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
repository without the assemblyId at the end of its name.
Regards,
Juien 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
Hi,
Maybe this is just a copy and paste error but the end tag /dependencies
is missing.
Julien Simon.
-assembly-plugin/component.html#class_dependencySetfor
information on how to configure the dependencySets section.
Regards,
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
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
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,
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
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 ;
carefully, in particular the section about the maven
lifecycle.
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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)) {
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]
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
for plugins..
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
-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
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
-reading the page that
you linked to.
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
that would be the best
solution..
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
?
Regards,
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 - 100 of 392 matches
Mail list logo