Commit Graph

94 Commits

Author SHA1 Message Date
Mark Harrah 60eda4bb20 Implement optional/provided configurations, closes #8 2011-04-19 22:24:52 -04:00
Mark Harrah 5806dbaab0 work on dependency management tests 2011-04-16 16:38:47 -04:00
Mark Harrah fee9429b03 more work on dependency management tests 2011-04-16 11:22:10 -04:00
Mark Harrah de2d26d94c fix handling of custom ivy home directory 2011-04-15 20:13:39 -04:00
Mark Harrah a15bd90309 artifact and cross-naming fixes/improvements 2011-04-15 20:13:38 -04:00
Mark Harrah 0b4d0e1062 inject sbt-managed Scala libraries into the UpdateReport 2011-04-15 18:32:20 -04:00
Mark Harrah 4328d7d1f1 Hack to avoid Ivy checking for sources/javadocs for every module 2011-04-15 18:31:16 -04:00
Mark Harrah 3e29126cbf support checksum generation and checking, enable by default 2011-04-15 18:25:54 -04:00
Mark Harrah 7fb97c6353 fix Scala version transitively (by default) 2011-04-14 21:48:12 -04:00
Mark Harrah 5dcc1bc9bc direct Artifact->File map, removing source patterns
build and publish main sources and docs by default
control built-in artifacts with 'publish-artifact'
// disable publishing docs
 publishArtifact in (Compile,packageDoc) := false
// enable publishing test jar, docs, and sources
 publishArtifact in Test := true
2011-04-14 07:32:42 -04:00
Mark Harrah 132278d1d8 Ivy home configurable instead of cache directory, work on artifact test 2011-04-13 19:03:36 -04:00
Mark Harrah 00722de739 fix configurations name 2011-04-11 10:19:04 -04:00
Mark Harrah 715f7b8574 some API documentation for UpdateReport 2011-04-10 21:30:03 -04:00
Mark Harrah 673f9923ab dependency filters, selecting/filtering UpdateReport 2011-04-10 16:22:48 -04:00
Mark Harrah 1b147b4953 reorganize main 2011-04-08 19:15:13 -04:00
Mark Harrah 159a3fe8f3 credentials and patterns for resolvers 2011-04-05 18:44:47 -04:00
Mark Harrah 1f52591fcb Credentials for publishing 2011-04-04 22:46:51 -04:00
Mark Harrah d79fa21348 fix publish patterns for maven style publishing 2011-04-01 21:06:07 -04:00
Mark Harrah 8c0d441fec clean up Ivy-related logging 2011-03-22 20:53:33 -04:00
Mark Harrah 15e785a1e4 more stable managed classpath ordering 2011-03-16 22:21:02 -04:00
Mark Harrah b1d39404a1 make default conflict manager ignore force
see comment on IvySbt.latestNoForce
2011-03-16 20:10:41 -04:00
Mark Harrah 4a8e79befb retrieve to build, update-classifiers action
set retrieve := true to have dependencies retrieved to the build
the location is by default shared by all projects in a build
  (<built-root>/lib_managed/), but can be per-project
update-classifiers and update-sbt-classifiers retrieves artifacts with classifiers
  for project dependencies and for sbt, respectively
The default setting is classifiers := Seq("javadoc", "sources")
2011-03-15 22:12:59 -04:00
Mark Harrah 787f00985b detailed UpdateReport replaces Map[String,Seq[File]]
the information included is:
  configuration -> module -> artifact -> file
2011-03-13 21:40:49 -04:00
Mark Harrah d371ff9314 more consistent configuration of the Ivy user directory 2011-03-12 10:28:53 -05:00
Mark Harrah b7f92ae07f 2.9 compatibility fixes 2011-03-04 06:16:35 -05:00
Mark Harrah df1c9c00c7 include Scala version to artifact names to match expected names for publishing 2011-02-21 10:22:39 -05:00
Mark Harrah 8c9e89850a configure Ivy cache to ignore original resolver 2011-02-17 16:20:30 -05:00
Mark Harrah dcd24f5dc4 implement %% 2011-02-14 18:57:54 -05:00
Mark Harrah 032f638549 fix stray Ivy logging message when directly accessing IvySbt#Module 2011-02-11 20:09:42 -05:00
Mark Harrah 1124cc59d9 package, package-doc, package-src 2011-02-10 08:16:07 -05:00
Mark Harrah 4d6f6ca9f8 fix ProjectResolver to properly ignore artifacts 2011-02-08 20:32:11 -05:00
Mark Harrah ae7e029a46 fix deadlock caused by lazy val synchronization 2011-02-05 21:34:17 -05:00
Mark Harrah 8e2588ec10 Configuration-related tweaks 2011-02-02 19:32:24 -05:00
Mark Harrah 087bc569e0 multi-project model based on Settings and ProjectRef 2011-01-18 18:48:32 -05:00
Mark Harrah 9e045edab8 always use 'jar' as packaging type if there is an artifact with a 'jar' type 2011-01-04 11:10:31 -05:00
Mark Harrah fbd24d2241 update deliver,make-pom,publish-local to be usable 2010-12-02 19:56:19 -05:00
Mark Harrah 54ba5d75be work on products+configurations 2010-11-13 20:21:06 -05:00
Mark Harrah 78a8996b7f drop some NotNulls from ivy/ plus some adjustments 2010-10-26 17:59:24 -04:00
Mark Harrah a3f1b9c22f fix tests, discovery
updated compile tests for new minimal AnalysisCallback
moved discovery to discovery/ subproject and updated for new approach
fixed discovery to only find public methods when searching for annotated definitions
extracting inherited definitions unimplemented in api/, so some discovery tests fail
moved discovery classes from sbt.inc package to sbt.compile
2010-10-06 08:24:13 -04:00
Mark Harrah 620c433498 disable check modified. need to verify it doesn't break -SNAPSHOT 2010-09-27 19:06:52 -04:00
Mark Harrah 1567de67b2 fix update, default project supports triggered execution 2010-09-21 22:38:18 -04:00
Mark Harrah 066e88e2e8 check for non-existing local file after retrieve
this is almost always an error condition, but we need
  to translate the null for a better error message
2010-09-21 22:26:04 -04:00
Mark Harrah b16b0adc0f add sbt package object
for use from project definitions only-
 it is a top-level project
add dependency and repository builders
 cross-versioning will be a post-construction transformation
2010-09-21 22:24:24 -04:00
Mark Harrah a630aed777 update to Scala 2.8.1.RC1, Ivy 2.2.0-rc1
use dependencies compiled against Scala 2.8.0
2010-09-21 22:09:08 -04:00
Mark Harrah 678628741a fix ProjectResolver to properly signal that it can't retrieve artifacts 2010-09-21 22:04:12 -04:00
Mark Harrah aea757ed18 put ResolverAdapter.java in proper location 2010-09-13 19:42:11 -04:00
Mark Harrah 6deb83ded3 ProjectResolver for inter-project dependencies 2010-09-12 23:15:51 -04:00
Mark Harrah 82e53d2528 only filter Scala artifacts of type 'jar' 2010-09-12 23:14:55 -04:00
Mark Harrah 59e15f2c51 minor cleanup of some Ivy-related code 2010-09-12 23:14:30 -04:00
Mark Harrah 26265e549e add RawRepository to wrap raw Ivy Resolvers 2010-09-12 23:13:48 -04:00