Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [iam-dev] Reading maven user settings.xml

you probably don't need the target platform if already have IAM installed.

You'd have to look into EclipseMavenArtifactResolver from IAM, and
from Maven, DefaultArtifactResolver and
org.apache.maven.artifact.manager.WagonManager

Not an easy task


On Mon, Feb 28, 2011 at 8:52 AM, Qian, Yi <yqian@xxxxxx> wrote:
> Hello, Carlos
>
> Thank you for the advise. Due to the policy restriction, the encrypted
> password in settings.xml is only a failover option. We still like to try
> implement pop up window for maven connection.
>
> I checked out the IAM source code from eclipse subversion trunk and
> downloaded elipse SDK-3.6-linux-gtk.tar.gz, but failed trying to build IAM
> target platform. Attached script of iam-prep-target-platform result. My
> build platform is Fedora 11, java 1.6_0_21, ant 1.8.2
>
> Regards,
>
> Yi
>
> On 2/25/11 11:40 AM, "Carlos Sanchez" <carlos@xxxxxxxxxx> wrote:
>
>>Hi,
>>
>>No, there's no such functionality in Eclipse IAM because although that
>>could work on the IDE it wouldn't work if you need to use the command
>>line client.
>>
>>The usual solution to prevent passwords being stored is the Maven
>>settings encryption
>>http://maven.apache.org/guides/mini/guide-encryption.html
>>
>>Consider that if you are using svn or other source control tools the
>>passwords are usually stored in the filesystem too
>>
>>
>>On Fri, Feb 25, 2011 at 5:49 PM, Qian, Yi <yqian@xxxxxx> wrote:
>>> Hello, list
>>>
>>> We set up archiva authentication against our LDAP server.
>>>
>>> We installed IAM plugin to enable maven in eclipse. But, in order to
>>>let maven to use archiva, we have to include settings.xml under each
>>>developer's home/.m2/ folder.  The settings.xml is simple, it has
>>>archiva url and developer's credential only.
>>>
>>> What we like to have is a pop up window takes the url and the
>>>credential to create the connection instead of reading from
>>>settings.xml. Does this function already been implemented? If yes, could
>>>it be shared? If not, can somebody point me a start point?
>>>
>>> Regards,
>>>
>>> Yi
>>> _______________________________________________
>>> iam-dev mailing list
>>> iam-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/iam-dev
>>>
>
>
> _______________________________________________
> iam-dev mailing list
> iam-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/iam-dev
>
>


Back to the top