Getting settings.xml right

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting settings.xml right

hen-2

I'm still a bit of a m2 newbie (too used to m1), so I'm not exactly sure I've
got the settings.xml right. I copied the relevant text from the website page
into a <profiles><profile>...</profile></profiles> block in the
settings.xml. Was that the right place to put it?

When I run mvn, it pulls down the new jars but they're not coming via the
artifactory install. I've attached my settings.xml so the dumb mistake can
be nice and obvious :)

Some other thoughts:

* The download file doesn't have a license in it.
* The 'First Import' page doesn't talk much about why I would want to import
a repository. I'm guessing that the model isn't that I point Artifactory to
a local repository via a path, but instead I load it into the datbase? There
isn't much discussion of 'First' there either.
http://www.nabble.com/file/7148/settings.xml settings.xml

Thanks,

Hen
--
View this message in context: http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9469327
Sent from the Artifactory-Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting settings.xml right

Yoav Landman
Administrator
>From a quick look - your profile lacks an id. You also need to make it active (if you use settings.xml, best to include it in <activeProfiles>).

On 3/14/07, hen <[hidden email]> wrote:

I'm still a bit of a m2 newbie (too used to m1), so I'm not exactly sure I've
got the settings.xml right. I copied the relevant text from the website page
into a <profiles><profile>...</profile></profiles> block in the
settings.xml. Was that the right place to put it?

When I run mvn, it pulls down the new jars but they're not coming via the
artifactory install. I've attached my settings.xml so the dumb mistake can
be nice and obvious :)

Some other thoughts:

* The download file doesn't have a license in it.
* The 'First Import' page doesn't talk much about why I would want to import
a repository. I'm guessing that the model isn't that I point Artifactory to
a local repository via a path, but instead I load it into the datbase? There
isn't much discussion of 'First' there either.
http://www.nabble.com/file/7148/settings.xml settings.xml

Thanks,

Hen
--
View this message in context: http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9469327
Sent from the Artifactory-Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting settings.xml right

hen-2


Thanks Yoav, that did the trick.

I'm seeing the repository stuff download nicely, but the plugins fail:

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
repository: central due to an error: Error transferring file

Looking at the $artifactory.home/etc/artifactory-config.xml, the problem is
that the default artifactory configuration doesn't match the page showing me
how to setup my settings.xml [so mostly user error, but syncing the two
features would help avoid it]. I'll work on configuring the plugin
repositories to be proxied in artifactory.

Thanks,

Hen


Yoav  Landman wrote:

>
>>From a quick look - your profile lacks an id. You also need to make it
> active (if you use settings.xml, best to include it in <activeProfiles>).
>
> On 3/14/07, hen <[hidden email]> wrote:
>>
>>
>> I'm still a bit of a m2 newbie (too used to m1), so I'm not exactly sure
>> I've
>> got the settings.xml right. I copied the relevant text from the website
>> page
>> into a <profiles><profile>...</profile></profiles> block in the
>> settings.xml. Was that the right place to put it?
>>
>> When I run mvn, it pulls down the new jars but they're not coming via the
>> artifactory install. I've attached my settings.xml so the dumb mistake
>> can
>> be nice and obvious :)
>>
>> Some other thoughts:
>>
>> * The download file doesn't have a license in it.
>> * The 'First Import' page doesn't talk much about why I would want to
>> import
>> a repository. I'm guessing that the model isn't that I point Artifactory
>> to
>> a local repository via a path, but instead I load it into the datbase?
>> There
>> isn't much discussion of 'First' there either.
>> http://www.nabble.com/file/7148/settings.xml settings.xml
>>
>> Thanks,
>>
>> Hen
>> --
>> View this message in context:
>> http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9469327
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9488086
Sent from the Artifactory-Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting settings.xml right

Yoav Landman
Administrator
Maven is much too forgiving about corrupt settings.xml.
Could you post a jira issue for that inconsistency in the docs?

On 3/15/07, hen <[hidden email]> wrote:


Thanks Yoav, that did the trick.

I'm seeing the repository stuff download nicely, but the plugins fail:

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
repository: central due to an error: Error transferring file

Looking at the $artifactory.home/etc/artifactory-config.xml, the problem is
that the default artifactory configuration doesn't match the page showing me
how to setup my settings.xml [so mostly user error, but syncing the two
features would help avoid it]. I'll work on configuring the plugin
repositories to be proxied in artifactory.

Thanks,

Hen


Yoav  Landman wrote:
>
>>From a quick look - your profile lacks an id. You also need to make it
> active (if you use settings.xml, best to include it in <activeProfiles>).
>
> On 3/14/07, hen <[hidden email]> wrote:

>>
>>
>> I'm still a bit of a m2 newbie (too used to m1), so I'm not exactly sure
>> I've
>> got the settings.xml right. I copied the relevant text from the website
>> page
>> into a <profiles><profile>...</profile></profiles> block in the
>> settings.xml . Was that the right place to put it?
>>
>> When I run mvn, it pulls down the new jars but they're not coming via the
>> artifactory install. I've attached my settings.xml so the dumb mistake
>> can
>> be nice and obvious :)
>>
>> Some other thoughts:
>>
>> * The download file doesn't have a license in it.
>> * The 'First Import' page doesn't talk much about why I would want to
>> import
>> a repository. I'm guessing that the model isn't that I point Artifactory
>> to
>> a local repository via a path, but instead I load it into the datbase?
>> There
>> isn't much discussion of 'First' there either.
>> http://www.nabble.com/file/7148/settings.xml settings.xml
>>
>> Thanks,
>>
>> Hen
>> --
>> View this message in context:
>> http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9469327
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Getting-settings.xml-right-tf3400483.html#a9488086
Sent from the Artifactory-Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Loading...