http://blog.artifact-software.com/tech/?p=121 is how we deal with this.
At he beginning of each release cycle we review the versions of the
third party libraries that we use and update the dependencies in our
aggregation projects.
Our application modules depend on the current version of the a
I'd use dependency:list in conjunction with outputFile to create a
temporary file, which contains the list of dependencies. That
temporary file can be compared with a static file. If they have the
same contents, the test passes.
Jochen
On Tue, Apr 7, 2015 at 8:26 AM, Karl Heinz Marbaise wrote:
Hi Kevin,
On 4/7/15 5:18 AM, Kevin Burton wrote:
I have a few modules that I want to lock down so that I can easily keep
track of dependencies over time.
This way if a developer adds a new dependency, the test will immediately
break and someone will have to approve the change.
Can you explain
Sorry for the monologue, but here is another idea: Run a regular Jenkins Job
which does a 'diff' on a pre-recorded vs. live output of 'mvn dependency:tree'
for the modules in question and fails the build based on the result, sending an
e-mail to whoever needs to approve of the changes.
--
Alexa
I forgot to mention that keeping this check in a unit test is probably not very
reliable anyway if you have good developers in your team. A good developer
refactors test code along with the production code. ;-)
--
Alexander Kriegisch
> Am 07.04.2015 um 06:08 schrieb Alexander Kriegisch :
>
>
Quick and dirty? Keep a SHA-1 checksum of the pom in your unit test and compute
it. You can also grep the dependencies section and normalise whitespace first.
This would not be stable against change of order or refactoring using
properties for version numbers etc., but you wanted something easy.
I have a few modules that I want to lock down so that I can easily keep
track of dependencies over time.
This way if a developer adds a new dependency, the test will immediately
break and someone will have to approve the change.
Is this possible? Could I embed this in a unit test or does it have
Use your pom to build a jar and then analyze it... ;-)
Wayne
On 3/22/06, Yann Le Du <[EMAIL PROTECTED]> wrote:
> On Carlos' blog :
> http://jroller.com/page/carlossg#analyzing_jar_dependencies
>
> The tool used here - jaranalyzer - analyzes JARs themselves - not POMs.
>
> - Yann
>
> On 3/22/06,
On Carlos' blog :
http://jroller.com/page/carlossg#analyzing_jar_dependencies
The tool used here - jaranalyzer - analyzes JARs themselves - not POMs.
- Yann
On 3/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> I know Carlos S. is somehow generating .dot files that he's able to
> open in UMLGraph
I know Carlos S. is somehow generating .dot files that he's able to
open in UMLGraph and generate some nice graphical pictures for
dependencies...
I believe this is part of a plugin that is in-progress as a future
Maven2 report...
Can probably find more info on the dev@ list if you search the arc
Nicolas De Loof wrote on Wednesday, March 22, 2006 5:08 PM:
> Thanks.
> Not really easy to use, but does the job.
And it shows only half of the truth:
http://jira.codehaus.org/browse/MNG-1573
[snip]
- Jörg
-
To unsubscribe, e-
http://docs.codehaus.org/display/MAVEN/Dependency+Graphing
- Olivier
-Message d'origine-
De : Nicolas De Loof [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 22 mars 2006 17:08
À : Maven Users List
Objet : Re: maven dependency graph
Thanks.
Not really easy to use, but does the job.
: Wednesday, March 22, 2006 8:55 AM
To: Maven Users List
Subject: Re: maven dependency graph
On this wiki page, what does the "Currently, only a simple textual
representation is available at runtime" mean ?
How to get this textual representation ?
Nicolas De Loof a écrit :
Grea
dependency graph
On this wiki page, what does the "Currently, only a simple textual
representation is available at runtime" mean ?
How to get this textual representation ?
Nicolas De Loof a écrit :
>
> Great ! thanks.
>
> Arnaud HERITIER a écrit :
>> http://docs.codehaus.
On this wiki page, what does the "Currently, only a simple textual
representation is available at runtime" mean ?
How to get this textual representation ?
Nicolas De Loof a écrit :
Great ! thanks.
Arnaud HERITIER a écrit :
http://docs.codehaus.org/display/MAVEN/Dependency+Graphing
~simple
Great ! thanks.
Arnaud HERITIER a écrit :
http://docs.codehaus.org/display/MAVEN/Dependency+Graphing
~simple :-)
Arnaud
On 3/22/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
Hello,
Is there a (simple) way to get a dependency graph from a POM ?
When I run mvn, I get lot's of unexpected li
http://docs.codehaus.org/display/MAVEN/Dependency+Graphing
~simple :-)
Arnaud
On 3/22/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> Is there a (simple) way to get a dependency graph from a POM ?
> When I run mvn, I get lot's of unexpected libs, and cannot know easily
> from which
Hello,
Is there a (simple) way to get a dependency graph from a POM ?
When I run mvn, I get lot's of unexpected libs, and cannot know easily
from which transitie dependency they come from.
Nico.
This message contains information that may be privileged or confidential and is
the property of
18 matches
Mail list logo