To conclude this thread:
It is perfectly reasonable and a good practice, but I am told it will not
work using the open source version.
Frederic Simon <[email protected]>
07/17/2011 05:47 AM
Please respond to
[email protected]
To
[email protected]
cc
Subject
Re: [Artifactory-users] Mixing Ivy and Maven repositories with Gradle
What you are trying to do is perfectly reasonable and a good practice :)
I think the part you are missing is a good configuration of repository
layouts in Artifactory.
It looks like the layout you are using for libs-release is the gradle
default. Just set this on the virtual repo configuration and it should
work.
You'll need to make sure your local repositories have also the good layout
configured.
On Thu, Jul 14, 2011 at 6:52 PM, Andy Goodspeed <[email protected]>
wrote:
I am trying to adopt Gradle for builds and Artifactory for dependency
management (using the plugin). It seems like I am really close to getting
it working but am stuck (again).
I am using the standard libs-release virtual repository for dependency
resolution, and the remote dependencies resolved through it seem to be in
Maven form - directories without dots and a POM. For my local repositories
I am trying to use the Ivy form since I have no investment in or desire to
embrace Maven.
Is this possible and reasonable? It seems that when if I include an ivy
definition for the repository in the plugin it does not find the Maven
artifacts.
resolve {
repository {
repoKey = 'libs-release'
ivy {
ivyLayout = '[organization]/[module]/ivy-[revision].xml'
artifactLayout =
'[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]'
mavenCompatible = false (or true)
}
}
}
If I remove the ivy closure then I find the Maven artifacts but not the
artifacts in my local repositories.
Thanks for any help.
-Andy
"How *reliable* [is he]? How shallow is the ocean? How cold is the sun?"
-Douglas Adams (Arthur Dent)
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
--
Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users