Maybe with :
/**
* The Maven Wagon manager to use when obtaining server
authentication details.
*/
@Component
private WagonManager wagonManager;
AuthenticationInfo info = wagonManager.getAuthenticationInfo( server );
server is the serverId String.
or using
/**
*
Hello Michael,
reading your Agile ALM book right now :-):
Here is an example how to get all servers with password decrypted:
public class MyMojo extends AbstractMojo {
/**
* Maven settings.
*/
@Component
private Settings settings;
/**
* The decrypter for
I fear this is a stupid question, but I can't find any information anywhere
about Maven metadata. :-(
I have the world's simplest Jenkins/Maven/Nexus setup.
I have a job on Jenkins that (today only, never before) began failing
because it claims it cannot resolve various SNAPSHOT artifacts from
I haven't seen that exact problem but I feel your pain. I too spent
the better part of today trying to figure out why my build was
failing. We have been having nothing but trouble with Nexus and
Maven3 with the time-stamped snapshots and all the various metadata
files that Nexus spits out (which
I'm investigating what abilities I have for integrating plugin configurations
between a project pom and its parent.
For instance, in the Surefire configuration in my project pom there are some
settings that I would want for all Java projects, but there are some that are
specific to a project
On Fri, Aug 24, 2012 at 1:31 PM, Laird Nelson ljnel...@gmail.com wrote:
I fear this is a stupid question, but I can't find any information
anywhere about Maven metadata. :-(
Always like to correct myself when I say something that isn't true. It
turns out there is some documentation on the
On Fri, Aug 24, 2012 at 1:52 PM, David Hoffer dhoff...@gmail.com wrote:
We have been having nothing but trouble with Nexus and
Maven3 with the time-stamped snapshots and all the various metadata
files that Nexus spits out (which confuse Maven and IDEs).
Oh, so this whole thing is a Nexus
I can't say the whole problem is with Nexus. I can say that the
requirement in Maven3 to always use timestamped snapshots has not be
addressed in a complete way with tools like Nexus and my beloved IDE
IntelliJ. We have hundreds if not thousands of builds happening every
day and they should be
On Fri, Aug 24, 2012 at 5:27 PM, Laird Nelson ljnel...@gmail.com wrote:
On Fri, Aug 24, 2012 at 1:52 PM, David Hoffer dhoff...@gmail.com wrote:
We have been having nothing but trouble with Nexus and
Maven3 with the time-stamped snapshots and all the various metadata
files that Nexus spits out
On Fri, Aug 24, 2012 at 5:43 PM, David Hoffer dhoff...@gmail.com wrote:
I can't say the whole problem is with Nexus. I can say that the
requirement in Maven3 to always use timestamped snapshots has not be
addressed in a complete way with tools like Nexus and my beloved IDE
IntelliJ. We have
There are several metadata files...the one I was referring to is
maven-metadata-nexus.xml. Yeah I don't know for sure who generated
this Maven/Nexus...I just assumed Nexus because of the file name.
Yes in our builds we will sometimes run lesser important builds once a
day, or at night, javadocs
Now that I think about this...I think the metadata file that was
confusing IntelliJ might have been a different one, i.e. w/o Nexus in
the name. I can't be sure since I have since deleted my local repo to
try to solve this problem. I know there was a metadata file in that
folder that just had
Hello I am a bit new to Maven and have taken over a build from a departed
employee that uses Maven. The issue is that he over complicated it with vb
scripts and other items, but I have finally got the project to build with
just executing a parent POM file. The issue I have now is that I have 6
On Fri, August 24, 2012 2:36 am, Michael Hüttermann wrote:
Hello,
how can I (e.g. programmatically, in an own Maven plugin) access the
serverpassword element of settings.xml, to re-use the value. Is there
any chance to do so?
Btw. you can also access collections from settings or pom
On Sat, Aug 25, 2012 at 5:44 AM, jpyork john-paul.y...@dhltd.com wrote:
Hello I am a bit new to Maven and have taken over a build from a departed
employee that uses Maven. The issue is that he over complicated it with vb
scripts and other items, but I have finally got the project to build with
15 matches
Mail list logo