olle
20p15 comments posted · 0 followers · following 0
13 weeks ago @ Sonatype Blog - What is Mercury? · 0 replies · +1 points
Can you give me an example - which posting was not answered?
13 weeks ago @ Sonatype Blog - What is Mercury? · 0 replies · +1 points
It's very similar, but still different
13 weeks ago @ Sonatype Blog - Dirty Tree - Resolved ... · 0 replies · +1 points
This behavior could be overwritten by configuration, client can specify almost any selection policies.
13 weeks ago @ Sonatype Blog - Dirty Tree - Resolved ... · 0 replies · +1 points
Usage details - check the mercury-plexus project - it wraps all this functionality into a plexus component
13 weeks ago @ Sonatype Blog - What is Mercury? · 1 reply · +1 points
13 weeks ago @ Sonatype Blog - What is Mercury? · 0 replies · +1 points
15 weeks ago @ Sonatype Blog - Maven Virtual Versions... · 0 replies · +1 points
While SNAPSHOT is a necessary evil and somewhat eases developer's life, RELEASE and LATEST are pure hell and should be deprecated right away.
All 3 grew from the lack of version manipulation tools, and SNAPSHOT at least allows some kind of control - it replaces a partial version and we in general agree that for, say, a jar versioned 2.3-beta-3-SNAPSHOT, all binaries with version starting with 2.3-beta-3-... share common APIs and behavior.
Why in the world we assume that any released version of an artifact adheres to the same APIs and behaves the same - remains a mistery to me! This was RELEASE. When we touch LATEST - gloves are off - it can be anything, including the latest SNAPSHOT. So unless we don't have anything else to do - I'd deprecate them on the spot.
Now back to the question :) Using virtual version for the parent will today work in Mercury, but it's by mistake - I will remove that. It most probably will not work in Maven2, and that is good.
In the question you touch a different subject - how can we refer to the parent and do not spend much time maintaining it. There is no easy answer to this one. I use parent POM for all versions and refer to it from modules 3 levels deeper. It works fine and release plugin takes care of version updates.
If you don't use release plugin - it's a very tedious job. M2E will definitely help under Eclipse - you can "Refactor--Rename Artifact" with it.
20 weeks ago @ Sonatype Blog - New Feature: Maven Set... · 0 replies · +1 points
Can you post it there?
20 weeks ago @ Sonatype Blog - New Feature: Maven Set... · 0 replies · +1 points
- if password was unencrypted - encrypt it
- if there was no server password - ask for it and then encrypt
That solution required too many moving parts added to maven, and I decided to split it into two parts:
- password maintenance
- transparent password decryption
Normally - password change is a one-time operation and having code that keeps track of that in the core does not make too much sense to me. Especially if I make password maintenance nice and easy - I have a plugin in the works.
21 weeks ago @ Sonatype Blog - New Feature: Maven Set... · 0 replies · +1 points