i went back to the original project and tried to build it... 
it failed because it couldn't download at a dependency artifact from
artifactory.. although it is deployed.

the dependency was: com.microsoft.sqlserver.jdbc:sqljdbc:jar:2.0

http://old.nabble.com/file/p26943051/husdon-build-error3.txt
husdon-build-error3.txt 


Tranquil wrote:
> 
> i do see in artifactory under builds the successfull builds from hudson!
> =)
> 
> so that's how they appear? they won't deploy a next version to the
> repository? 
> what exactly is the purpose of these builds on artifactory? 
> 
> and also, if i dont need to specify goal in hudson, should i leave it
> blank?
> 
> thanks!
> 
> 
> freddy33 wrote:
>> 
>> Great,
>> 
>> If you are using the Artifactory plugin like in:
>> http://wiki.jfrog.org/confluence/display/RTF/Build+Integration
>> 
>> you don't need to add the maven deploy goal. Just configure the post
>> build
>> action correctly with a username/password of an Artifactory user that has
>> the permissions to deploy.
>> 
>> HTH,
>> Fred.
>> 
>> On Mon, Dec 28, 2009 at 12:07 PM, Tranquil <[email protected]> wrote:
>> 
>>>
>>> Ok,
>>>
>>> i took a few steps back and created a hudson project for the parent pom,
>>> it worked well, including downloading the necessary artifacts from
>>> artifactory :)
>>> now i try to add deploy to artifactory as a goal...and i get a 401 http
>>> error.
>>>
>>> http://old.nabble.com/file/p26941358/husdon-build-error2.txt
>>> husdon-build-error2.txt
>>>
>>>
>>> freddy33 wrote:
>>> >
>>> > There can be many reason for not finding a parent POM file.
>>> > The main ones are:
>>> > - The parent pom should actually be the root POM file of a multi
>>> modules
>>> > build. Basically, are you sure you want to build "
>>> > com.company.sql:DbUtil:jar:0.0.3" module only? May be you need to give
>>> > hudson the root pom file, not this one?
>>> > - The child has a <parent> declaration with a wrong
>>> > groupId:artifactId:version. This happens often if you changed the
>>> version
>>> > in
>>> > only one POM file (the parent or child), and not the other.
>>> > - The parent pom needs to be deployed on Artifactory and so either it
>>> is
>>> > not
>>> > deployed, not a good version, or maven is using a virtual repository
>>> URL
>>> > which does not contains the local repository where the parent is
>>> deployed.
>>> >
>>> > Hope this help you find your problem?
>>> >
>>> > On Mon, Dec 28, 2009 at 10:13 AM, Tranquil <[email protected]>
>>> wrote:
>>> >
>>> >> i'm not sure this is the right place to post this, please tell if i'm
>>> out
>>> >> of place. i'm trying to connect hudson with artifactory and maven...
>>> i've
>>> >> created a sample project, and installed also the artifactory plugin.
>>> i'm
>>> >> using AccuRev as my SCM. when trying to build i get an error about
>>> can't
>>> >> retrieve the parent pom from artifactory. see attached file.
>>> >> husdon-build-error.txt<
>>> http://old.nabble.com/file/p26940664/husdon-build-error.txt>
>>> >> ------------------------------
>>> >> View this message in context: Hudson fails to read artifacts from
>>> >> artifactory<
>>> http://old.nabble.com/Hudson-fails-to-read-artifacts-from-artifactory-tp26940664p26940664.html
>>> >
>>> >> Sent from the Artifactory-Users mailing list
>>> >> archive<http://old.nabble.com/Artifactory-Users-f19964.html>at
>>> >> Nabble.com.
>>> >>
>>> >>
>>> >>
>>> ------------------------------------------------------------------------------
>>> >> This SF.Net email is sponsored by the Verizon Developer Community
>>> >> Take advantage of Verizon's best-in-class app development support
>>> >> A streamlined, 14 day to market process makes app distribution fast
>>> and
>>> >> easy
>>> >> Join now and get one step closer to millions of Verizon customers
>>> >> http://p.sf.net/sfu/verizon-dev2dev
>>> >> _______________________________________________
>>> >> Artifactory-users mailing list
>>> >> [email protected]
>>> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Co. Founder and Chief Architect
>>> > JFrog Ltd
>>> > http://www.jfrog.org/
>>> > http://twitter.com/freddy33
>>> >
>>> >
>>> ------------------------------------------------------------------------------
>>> > This SF.Net email is sponsored by the Verizon Developer Community
>>> > Take advantage of Verizon's best-in-class app development support
>>> > A streamlined, 14 day to market process makes app distribution fast
>>> and
>>> > easy
>>> > Join now and get one step closer to millions of Verizon customers
>>> > http://p.sf.net/sfu/verizon-dev2dev
>>> > _______________________________________________
>>> > Artifactory-users mailing list
>>> > [email protected]
>>> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Hudson-fails-to-read-artifacts-from-artifactory-tp26940664p26941358.html
>>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast and
>>> easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>> 
>> 
>> 
>> -- 
>> Co. Founder and Chief Architect
>> JFrog Ltd
>> http://www.jfrog.org/
>> http://twitter.com/freddy33
>> 
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev 
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Hudson-fails-to-read-artifacts-from-artifactory-tp26940664p26943051.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to