Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Nick Stolwijk
I took a quick look at the Maven-Nexus-plugin and there is an option to disable it (skipNexusStagingDeployMojo), so I would start there. Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Nick Stolwijk
they turn on the maven-flatten-plugin and a publish plugin. Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Nick Stolwijk
nheritance. It also makes it easier with dependency management, the reasoning about which import takes preference with an inherited parent import is really hard to understand. Take a look at it, and maybe it will solve your problem. Nick Stolwijk ~~~ Try to leave this world a little better than

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Nick Stolwijk
artifacts, so there is no need to publish your parent pom. Maybe this is the solution you are looking for. Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time

Re: Confused about how to override a transient artifact version

2023-07-28 Thread Nick Stolwijk
Test com.fasterxml.jackson jackson-bom 2.13.5 pom import [1] https://www.baeldung.com/spring-maven-bom Nick Stolwijk ~~~ Try to leave this world a little

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
h you a better build in the future and if you need any help with that, please let me know. With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
://www.mojohaus.org/extra-enforcer-rules/banDuplicateClasses.html Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Sat

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
I see there is one little mistake in that blogpost. You should add the original dependency with provided to prevent it from entering the classpath, or else you still end up with both dependencies on your classpath. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
rsion of the artifact once to the repository" way, but that depends on how much control you have over your repository. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
to your own artifact repository and start using that version in your project. It all depends on how long you are expecting to support the solution. Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
of the BBED. Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Sat, 29 Jul 2023 at 00:33, wrote: > I think

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
-lang 2.6 ${project.build.outputDirectory} Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
nd fix any violation with an clause. And, of course, try to push your change upstream as soon as possible, so you don't have to maintain this dependency hell forever. Hth, [1] https://maven.apache.org/enforcer/enforcer-rules/bannedDependencies.html Nick Stolwijk ~~~ Try to leave this world a li

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
tart about the runtime. If you have duplicate classes and Maven "behaves", who says that the runtime behaves in the same way? I would make it a bigger issue that you have duplicate classes, instead of trying to live with those duplicates. With regards, Nick Stolwijk ~~~ Try to leave this w

Re: enforcing class path order using maven enforcer

2023-07-28 Thread Nick Stolwijk
Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Fri, 28 Jul 2023 at 21:25, wrote: > I already as

Re: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread Nick Stolwijk
You are right, I forgot that that still exists. :-S I do think that that way of dependency management is highly discouraged and IMNSHO should be discarded in your build as a first step. With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn

Re: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread Nick Stolwijk
provided by Maven Central instead of artifacts built internally? With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord

Should the includes option of RequireUpperBoundDeps match wildcards

2021-09-08 Thread Nick Stolwijk
. Are wildcard / bom resolution a good idea for the includes? Wildcard looks a lot simpler to implement. Examples: software.amazon.awssdk:bom software.amazon.awssdk:* What do you think? Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes

Re: Best practice to update dependency versions for *many* projects to the current version

2021-09-02 Thread Nick Stolwijk
. With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Thu, Sep 2, 2021 at 5:41 PM Mantas Gridinas wrote

Re: Questions on what xml tags to use for pom.xml file for downloading isos

2021-07-26 Thread Nick Stolwijk
Hi, I think you need to fix the parameter resolution: ${depStagingArea/pcs} should be ${depStagingArea}/pcs Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your

Re: Plugin execution order in same phase + profiles

2021-05-10 Thread Nick Stolwijk
d for that Maven version and activated profiles [1] https://github.com/jcgay/buildplan-maven-plugin With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time bu

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
' Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon, May 3, 2021 at 9:50 PM Nick Stolwijk wrote

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
D SUCCESS [INFO] [INFO] Total time: 1.917 s [INFO] Finished at: 2021-05-03T21:47:34+02:00 So why is the new SNAPSHOT of the Maven Dependency Tree checking dependencies that are not in the dependency tree? With regards, Nick Stolwijk ~~~ Try to leave this world a little better

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
lugins.dependency.tree.TreeMojo.execute (TreeMojo.java:276) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi Enrico, I did a search and replace on our domain name. The Nexus instance at our company is a mirror for Maven Central. And it is the only repository used in the build. See the output for list-repositories in the last mail. Hth, Nick Stolwijk ~~~ Try to leave this world a little better

Re: Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
Hi Enrico, It looks like it is trying to update the world while using repositories I can't explain. ;-) [INFO] --- maven-dependency-plugin:3.1.4-SNAPSHOT:list-repositories (default-cli) @ commons-lang --- Downloading from public_nx3:

Trying out new verbose dependency tree: very slow result

2021-05-03 Thread Nick Stolwijk
[INFO] [INFO] Total time: 31:47 min [INFO] Finished at: 2021-05-03T12:51:06+02:00 [INFO] [1] https://issues.apache.org/jira/browse/MDEP-644 With regards, Nick Stolwijk ~~~ Try to

Re: Getting version upgrade advise to upgrade a BOM..

2021-05-02 Thread Nick Stolwijk
To update the BOM dependencies you can use the Maven versions plugin: mvn versions:use-latest-versions versions:update-properties -DgenerateBackupPoms=false Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy

Re: Renaming Dependencies

2021-03-26 Thread Nick Stolwijk
[2] https://github.com/jonathanlermitage/oga-maven-plugin Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden

Re: Maven goes to repository for a dependency from reactor

2020-11-28 Thread Nick Stolwijk
Hi Anton, I have taken a look at the issues fixed in 3.0.1 and I think you'll find the information you need in MDEP-409[1]. [1] https://issues.apache.org/jira/browse/MDEP-409 With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes

Re: Preferred way to execute Maven goals/phases from Maven plugins

2020-11-02 Thread Nick Stolwijk
plugin (alas, they didn't support Tycho either) and are now migrating to the aforementioned plugin. [1] https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/set-version-mojo.html With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found

Re: Preferred way to execute Maven goals/phases from Maven plugins

2020-11-02 Thread Nick Stolwijk
/exec/InvokerMavenExecutor.java#L318 With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon, Nov

Preferred way to execute Maven goals/phases from Maven plugins

2020-11-02 Thread Nick Stolwijk
, but I didn't find an example of a toolchain with Maven itself. Can anyone enlighten me? [1] https://github.com/aleksandr-m/gitflow-maven-plugin With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling

Re: Maven versions plugin check far too many versions

2020-10-14 Thread Nick Stolwijk
As far as I know you should use use-latest-versions, which does checks if you use the latest version of the imported pom and not the latest versions of the imported dependencies. With regard, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes

Re: Maven Versions Plugin scans whole Maven repository

2020-07-22 Thread Nick Stolwijk
I had the same issue a while back [1]. We now use use-latest-versions and no longer use properties for versions most of the time. Hth, [1] https://www.mail-archive.com/users@maven.apache.org/msg142064.html Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when

Re: dependency:tree without building the project (why does dependency:tree needs project artifacts installed?)

2020-07-08 Thread Nick Stolwijk
future conflicts. It’s still good practice to regularly check for and update to the latest versions. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time

Re: dependency:tree without building the project (why does dependency:tree needs project artifacts installed?)

2020-07-07 Thread Nick Stolwijk
That was not a workaround, but me trying to reproduce the problem. I wasn't able to reproduce it. All the artifacts in the reactor could be found without building them. Are you maybe trying to only build one module instead of the reactor? With regards, Nick Stolwijk ~~~ Try to leave this world

Re: Maven brings “test” transitive dependency as “compile”

2020-05-23 Thread Nick Stolwijk
The verbose flag was removed in newer versions of the plugin. You could try an old pluginversion: mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:tree -Dverbose With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die

Re: Finding SNAPSHOT dependencies without compiling first

2020-05-06 Thread Nick Stolwijk
. Check local repository, nothing of my project is there. My output shows SNAPSHOT dependencies inside my project. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted

Re: Best Practice for distributing test utilities?

2020-03-13 Thread Nick Stolwijk
Put the testutils and the tests in the same project as foo in src/test/java and make the tests package private (JUnit Jupiter). Other projects can depend on the test artifact of foo and only use the test-utils. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found

Use latest versions vs use latest releases

2020-03-11 Thread Nick Stolwijk
-maven-plugin/issues/346 With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell

Maven Pom Property replacement - possible bug?

2020-01-31 Thread Nick Stolwijk
try to escape them? [1] https://github.com/nickstolwijk/MavenPropReplacement.git With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done

Re: Why is Maven calling nonexistent Artifactory?

2020-01-15 Thread Nick Stolwijk
or in any of the parent poms of your project. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Wed, Jan 15

Publishing Maven site as an docker image

2019-12-23 Thread Nick Stolwijk
Hi folks, Has anyone tried to publish the site generated by Maven as a docker image? Are there examples of such a setup? With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you

Re: Using Maven outside of L/M/WAMP environment

2019-10-30 Thread Nick Stolwijk
her types of projects. It is only unfortunately so, that the ASF and Apache HTTP server are both called 'apache'. With regards, Nick Stolwijk [1] https://projects.apache.org/projects.html ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy i

Re: Company-wide pom and dependency management best practices

2019-08-06 Thread Nick Stolwijk
plugins/maven-dependency-plugin/tree-mojo.html#verbose [2] http://maven.apache.org/shared/maven-dependency-tree/ > I would also take your approach of "a dependency management pom" (BOM, bill of materials) to control transitive dependencies. Yeah, it seems that would be the best option. Wi

Company-wide pom and dependency management best practices

2019-08-06 Thread Nick Stolwijk
management? With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell

Re: Maven Versions plugin transitive dependency updates

2019-07-04 Thread Nick Stolwijk
sing this flag. [1] https://github.com/mojohaus/versions-maven-plugin/issues/291 [2] https://github.com/mojohaus/versions-maven-plugin/issues/267 With regards Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in fee

Re: Build using toolchains version, but run unit tests against various JDKs?

2019-05-13 Thread Nick Stolwijk
Hello, I found this old mail about running test multiple times with different JDK's. Has there been any work done to make this possible? Or is the best possible solution to use the CI server to run multiple runs with different JDK's, perhaps using toolchain. With regards, Nick Stolwijk

Re: Enforce no local versions

2019-01-29 Thread Nick Stolwijk
If that's the case then maybe take a look at the analyze-dep-mgt goal of the dependency plugin.[1] Hth, Nick Stolwijk [1] https://maven.apache.org/plugins/maven-dependency-plugin/analyze-dep-mgt-mojo.html ~~~ Try to leave this world a little better than you found it and, when your turn comes

Maven Versions plugin transitive dependency updates

2018-09-05 Thread Nick Stolwijk
Hi, I was wondering why the parameter processDependencyManagementTransitive is available on the dependency-updates-report goal[1] of the Versions Maven Plugin but isn't available on its counter-part display-dependency-updates [2] ? With regards, Nick Stolwijk [1] https://www.mojohaus.org

Re: Problem with Maven Tutorial

2018-07-26 Thread Nick Stolwijk
You can add the properties tag directly under the root element () of your POM[1] file. 1. 2. 1.8 3. 1.8 4. [1] Project Object Model The default source level is still at 1.5, due to backward compatibility issues. Hth, Nick Stolwijk ~~~ Try to leave this world a little better

Re: How can I prevent SLF4J's infamous “multiple bindings” warning at build time for maven build?

2018-04-11 Thread Nick Stolwijk
You can ban duplicate classes with the enforcer plugin [1]. [1] http://www.mojohaus.org/extra-enforcer-rules/banDuplicateClasses.html Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate

Re: Compile scope dependency, used as runtime scope transitively

2017-12-27 Thread Nick Stolwijk
.) Would implementing this be an addition to the dependencies plugin? (crossing fingers, I guess this is done in Maven itself and not in a plugin). Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any

Re: "Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Nick Stolwijk
d of the JRE bin directory. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell

Re: mvn -nsu (--no-snapshot-updates) is still downloading SNAPSHOT versions

2015-05-26 Thread Nick Stolwijk
-maven-plugin/display-property-updates-mojo.html scans a projectand produces a report of those properties which are used to control artifact versions and which properies have newer versions available. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when

Re: Building selected projects with nested aggregators

2014-12-12 Thread Nick Stolwijk
thinking of a Bash or Groovy script to parse the aggregator pom to build up the --project-list argument. Does anyone see an easier way? With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling

E-Book Beter Builds with Maven seems to be missing

2014-11-11 Thread Nick Stolwijk
://www.maestrodev.com/better-build-maven With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell

Re: Log4J - cannot find symbol - method trace(String)

2014-04-30 Thread Nick Stolwijk
You can use the dependency:tree[1] goal to view a tree of your dependencies to see if the correct version of Log4J is being included in the compiler classpath. [1] https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html Hth, Nick Stolwijk ~~~ Try to leave this world a little

Re: Log4J - cannot find symbol - method trace(String)

2014-04-30 Thread Nick Stolwijk
-1.2.17.jar 5af35056b4d257e4b64b9e8069c0746e8b08629f log4j-1.2.17.jar 02:28:47 ~/.m2/repository/log4j/log4j/1.2.17$ cat log4j-1.2.17.jar.sha1 5af35056b4d257e4b64b9e8069c0746e8b08629f Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die

Re: Log4J - cannot find symbol - method trace(String)

2014-04-30 Thread Nick Stolwijk
if [ $? -eq 0 ]; then echo $jar fi done Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Wed, Apr 30, 2014

Maven Jar Plugin - Testjar: includes together with skipIfEmpty

2014-04-28 Thread Nick Stolwijk
includes include**/*Builder.class/include /includes /configuration /execution /executions /plugin With regards, Nick Stolwijk ~~~ Try

Re: Depend on a jar via another pom file

2014-01-08 Thread Nick Stolwijk
That's called a transitive dependency and this blog[1] explains nicely why you shouldn't use those. [1] http://uglycoder.blogspot.nl/2008/04/flaw-with-mavens-transitive.html Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Nick Stolwijk
the same error as your colleague. Hth, Nick Stolwijk On Thu, Nov 28, 2013 at 3:32 PM, Tommy Svensson to...@natusoft.se wrote: parent groupIdxxx.xxx.xxx/groupId artifactIdxxx-shared/artifactId version2.0.26-SNAPSHOT/version /parent

Re: Trying to understand how maven finds source

2013-10-25 Thread Nick Stolwijk
Maybe it is mustard after the mail (as the Dutch call it. ;) ), but here is a nice article about the standard directory layout of Maven: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Hth, Nick Stolwijk ~~~ Try to leave this world a little better

Re: Multiple versions of same local jar

2013-10-15 Thread Nick Stolwijk
dependency tree, but with different groupId's. Maven will think those are different jar files. Check your dependency tree with mvn dependency:tree to see where those dependencies come from. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes

Re: Automatically remove version overrides from child POMs

2013-05-04 Thread Nick Stolwijk
-dependency-plugin/analyze-dep-mgt-mojo.html Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Sat, May 4, 2013

Re: Maven POM file question

2013-02-12 Thread Nick Stolwijk
) Check in Voila, stable label and ready for next release. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Nick Stolwijk
Or take a look at the Maven Release Plugin - branch goal [1] and it's documentation page [2]. [1] http://maven.apache.org/maven-release/maven-release-plugin/branch-mojo.html [2] http://maven.apache.org/maven-release/maven-release-plugin/examples/branch.html Hth, Nick Stolwijk ~~~ Try to leave

Re: about maven.repo.local property in maven3.0.4

2012-12-15 Thread Nick Stolwijk
Hi, Did you try ${settings.localRepository} because the property is a settings property? Why your second example works seems evident. You set the property, so you can read it. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die

Re: Copying license files to my jar in maven-jar-plugin

2012-02-06 Thread Nick Stolwijk
-resources-plugin. [1] http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your

Re: What is the right way to install a file to my local repository?

2012-02-06 Thread Nick Stolwijk
is not dependend on your '~' shortcut? Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon, Feb 6, 2012 at 4

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Nick Stolwijk
Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Jun 23, 2011 at 3:44 PM, Rick Mangi rick.ma...@mtvn.com wrote: Hello Maven Users, I'm trying to migrate my users to a new nexus repository on a different

Re: addin war as dependency to a war porject

2011-06-23 Thread Nick Stolwijk
If you want multiple wars I think you are better of deploying an ear file.[1] [1] http://maven.apache.org/plugins/maven-ear-plugin/ Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Jun 23, 2011 at 5:05

Re: generated artifact name

2011-06-23 Thread Nick Stolwijk
The name in your target directory is defined by the finalName in your build section[1]. [1] http://maven.apache.org/pom.html#Build_Settings Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Jun 23, 2011

Re: With the maven-release-plugin, how to branch a module and its children ?

2011-06-20 Thread Nick Stolwijk
I guess you could make an aggregator pom in your trunk/ which kicks of all 3 builds. If you branch this pom it would succeed. Or you could move your parent pom one level higher and let it serve as parent and aggregator pom. Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM

Re: maven 3.0.3

2011-05-24 Thread Nick Stolwijk
Your request doesn't make any sense to me. Could you please describe what you want to accomplish? With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Tue, May 24, 2011 at 1:42 PM, Brosh, Yossi yossi.br

Re: maven 3.0.3

2011-05-24 Thread Nick Stolwijk
/ Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Tue, May 24, 2011 at 2:23 PM, Brosh, Yossi yossi.br...@sap.com wrote: I need to install : maven-deploy-plugin , in order to run maven deploy Best regards

Re: Updating Maven Dependencies never ends

2011-03-29 Thread Nick Stolwijk
[2] http://mojo.codehaus.org/mail-lists.html Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Tue, Mar 29, 2011 at 11:47 PM, Dave DaveLists dbfli...@gmail.com wrote: Hello, New to the group here. First

Re: Maven2 started ignoring my default settings.xml file

2011-03-24 Thread Nick Stolwijk
Try mvn help:effective-settings to see your settings as maven sees them. Are you sure your server id is the same as your repository/mirror id? With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu

Re: Bad mojo. Builds under maven2, fails under maven3.

2011-03-10 Thread Nick Stolwijk
I don't know whether this is fixed in newer versions of the Antrun plugin, but I noticed you use version 1.3, while version 1.6 is also available. You can give it a try and hopes it fixes your problem. With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31

Re: Where to host and publish a new plugin

2011-03-10 Thread Nick Stolwijk
Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Mar 10, 2011 at 4:49 PM, Pulkit Singhal pulkitsing...@gmail.com wrote: Hello Everyone, I'm following the instructions given here to create a new maven plugin

Re: ? add dependencies to surefire plugin

2011-03-10 Thread Nick Stolwijk
Does it need to be on the classpath of surefire or of your unittests? If it is the first you are on the good way. You can check with -X what the classpath for surefire is. For the second, add a normal dependency with scope test. Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208

Re: ? add dependencies to surefire plugin

2011-03-10 Thread Nick Stolwijk
for it. Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Mar 10, 2011 at 9:22 PM, Dipl.-Ing. Torsten Liermann l...@liermann-it.de wrote: Thanks Nick. I need the artifact in the runtime classpath for the unit

Re: maven subversion

2011-03-09 Thread Nick Stolwijk
First, this message belongs to the user list, so redirecting there. For your question, take a look at SCM for Subversion[1]. [1] http://maven.apache.org/scm/subversion.html Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I

Re: mvn package with dependency jar

2011-03-08 Thread Nick Stolwijk
Take a look at the Advanced Artifact-Matching in includes and excludes on the advanced descriptor page[1]. [1] http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread Nick Stolwijk
I just checked our 1.8.0.1 instance of Nexus and it is right there under the configuration of a hosted repository: Deployment policy: Allow redeploy Disallow redeploy Read only Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread Nick Stolwijk
I've also checked 1.3.6 (still in production here, Saturday we are moving to 1.8.0.1) and, indeed, it isn't there. You have to upgrade to a newer version to have it. It isn't a Pro feature, the free version also has it. With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread Nick Stolwijk
We just did a reinstall on a new server and planning to copy the repositories by hand and do a reindex. We had a testrun and it went painlessly. The mirror and snapshot repositories we just deleted, as to do some cleanup. Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread Nick Stolwijk
Yes, we had to upgrade Jira, Hudson, Nexus and Sonar, so we just copy the data and replace the (virtual) machine. That way, when the upgrade goes wrong, we can easily go back to the old situation. With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-05 Thread Nick Stolwijk
, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Wed, Jan 5, 2011 at 6:58 PM, Thiessen, Todd (Todd) tthies...@avaya.com wrote: Configure your Nexus server to not allow artifacts to get overwritten. You can't stop

Re: maven tries to download wrong pmd version

2011-01-04 Thread Nick Stolwijk
What goals are you running? The site lifecycle doesn't take build/pluginManagement into account and you have to set the version in /project/reporting/plugins/ Hth, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl

Re: maven tries to download wrong pmd version

2011-01-04 Thread Nick Stolwijk
Unfortunately not.[1] [1] http://maven.apache.org/pom.html#Reporting With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Tue, Jan 4, 2011 at 3:29 PM, Leon Rosenberg rosenberg.l...@gmail.com wrote

Re: How to prune contents of the local repo?

2010-12-28 Thread Nick Stolwijk
central, hosted snapshots with cleanup policy, hosted releases with deploy once policy, hosted thirdparty repository. All cleanly seperated and easily backupped. For staging builds you would need Nexus Professional, for all your other wishes the normal Nexus fits like a glove. Hth, Nick Stolwijk

Re: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread Nick Stolwijk
If you still have the same snippet in your pom, you only have the snapshotRepository and not the normal repository element. With regards, Nick Stolwijk ~Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Wed, Dec 8, 2010 at 5:44 PM

Re: RE: How to have release management incremental (or release) builds publish to Nexus, but not user builds?

2010-12-08 Thread Nick Stolwijk
/snapshotRepository /distributionManagement And create the inhouse and inhouse-snapshot repositories inside nexus and add them to the right groups. With regards, Nick Stolwijk ~Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl

Re: Maven 3 no longer supporting dynamic configuration of plugins?

2010-12-05 Thread Nick Stolwijk
I can't answer your question, sorry. Maybe you should post this at the dev list. There resides the most people with intimate knowledge about Maven's plugin setup. With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Sat, Dec 4

Re: How to create the custom project structure!

2010-11-16 Thread Nick Stolwijk
Although this is highly seen as a bad practice, you may want to start by looking here: http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-Isitpossibletocreatemyowndirectorystructure%3F More information about the pom structure: http://maven.apache.org/pom.html Hth, Nick Stolwijk ~Java

Re: Dual javadoc

2010-11-11 Thread Nick Stolwijk
Yes, just bind the javadoc:jar goal twice with different configuration. With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Thu, Nov 11, 2010 at 8:35 PM, Gerard Weatherby gerard.weathe...@gmail.com wrote: Is there a way

Re: multi-module agregated test report

2010-11-04 Thread Nick Stolwijk
I would suggest you use Maven(+Hudson)+Sonar. Maven for building and gathering information Hudson for CI (but it can be left out) Sonar for reporting Sonar can do nice reports for coverage, unit tests, QA metrics, etc. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS

  1   2   3   4   5   6   >