Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
REVIEW-1519: Don't use file-name, or ArchiveTask.baseName as artifact name when publishing to ivy - Default to null, allowing it to inherit the published module name - The plan is to decouple how things are generated in the build from how they are published - Allowed multiple artifacts with same name in IvyDescriptor test code

  1. … 12 more files in changeset.
Started to verify resolution of published modules in IvyPublish integ tests - Fixed bug in module published from empty publication

  1. … 4 more files in changeset.
Reworked package structure to remove package cycle (both ivy & maven)

  1. … 48 more files in changeset.
Introduced separate identifier for ivy publications - Use IvyProjectIdentity instead of Module for identifying ivy publication - Ivy publication identifier is now based on a snapshot of project state at time publication was created - Fixed ivy publication so that ivy status is correctly populated in descriptor - Added some basic integ test coverage for ivy status - Moved MavenProjectIdentity.getPackaging() onto MavenPomInternal

  1. … 27 more files in changeset.
Some tweaks to the output of `gradle tasks` when using the publishing plugins.

  1. … 7 more files in changeset.
Added FileResolver.asNotationParser() - for cases where we need to convert notation first to a File before transforming to an end result - Single location to differentiate between file notation errors & file resolution errors

  1. … 5 more files in changeset.
Remove the 'file:' map mechanism for creating publication artifacts (source:) supercedes it (REVIEW-1217)

  1. … 10 more files in changeset.
Tidied up construction of NotationParsers (REVIEW-1214) - Replaced TopLevelNotationParser with Factory<NotationParser<T>> - Renamed *NotationParser to *NotationParserFactory where appropriate - Still need to look at ProjectDependencyNotationParser as it doesn't follow the pattern

  1. … 20 more files in changeset.
Use TaskDependency.add(TaskDependency) to avoid a custom artifact subclasses (REVIEW-1542, REVIEW-1522)

  1. … 6 more files in changeset.
Validate IvyArtifacts in service layer when publishing - Moved some checks from domain into ValidatingIvyPublisher - Added some validation for artifact attributes

  1. … 6 more files in changeset.
Validate publication coordinates when publishing to ivy repository - Introduced IvyPublisher interface and ValidatingIvyPublisher implementation - Added more tests for support of different characters in ivy publishing, including resolving the published modules

  1. … 10 more files in changeset.
Handle null values for ext, type, classifier on ivy artifact

  1. … 3 more files in changeset.
Added classifier support to ivy publishing - Honour classifier value in filename, archive, or publishartifact - Generate correct maven namespaced element in ivy.xml

  1. … 11 more files in changeset.
Added 'conf' attribute to IvyArtifact, allow this to specified in ivy.xml - Don't supply conf attribute by default: will use the ivy.xml default value of '*' - Use the configuration value of a ModuleDependency to get the right hand side of the <dependency> configuration mapping. - Do a lot more ivy.xml configuration checking in integ tests.

  1. … 14 more files in changeset.
Moved setting of IvyArtifacts back off IvyConfiguration and onto IvyPublication - IvyConfiguration is a lightweight representation of a configuration element in ivy.xml - Copy runtime dependencies from Component when configured, rather than holding onto Component and doing this lazily - Added IvyDescriptorFileGenerator for translating directly from IvyPublication to ivy.xml - Translating IvyPublication -> org.apache.ivy.ModuleDescriptor -> ivy.xml meant that we couldn't produce certain ivy.xml features (like conf="*"). - Updated MavenPomFileGeneratorTest to use XmlSlurper rather than comparing actual file output. - Removed custom configurations from many integ tests - still need to add ability to set configuration on artifact/dependency - still need to add tests for configurations in ivy.xml

  1. … 16 more files in changeset.
Reorganised the package structure of ivy.publish - Moved IvyPublisher and related service classes into internal.publisher - Moved tasks.internal -> internal.plugins to be more consistent

  1. … 12 more files in changeset.
REVIEW-1268: More publication cleanup - Use instantiator to decorate IvyArtifactSet - Renamed IvyArtifactSet.addArtifact() -> artifact() - Allow 'source' key in map-based artifact notation - Don't bind IvyArtifactNotationParser to Project: use FileResolver

  1. … 7 more files in changeset.
Started rolling improvements to maven publishing over into ivy publishing (REVIEW-1268) - Prevent publishing artifact that is directory - Better error messages for publication validation failures - Many integration test improvements for ivy publication - Test for non-ascii characters in artifact names - Test for org/module/artifact/version/etc values containing whitespace

  1. … 14 more files in changeset.
ArtifactFile only cares about the version string, not the module (REVIEW-1218)

  1. … 7 more files in changeset.
Introduced IvyConfiguration to ivy-publish DSL - Added IvyConfigurationContainer and IvyConfiguration with implementations - IvyArtifacts are now added to a particular IvyConfiguration of an IvyPublication - Removed various IvyPublication.artifact* methods - Specifying a component to publish constructs the "default" and "runtime" configurations - Published artifacts are the union of artifacts from all configurations - Ivy descriptor is generated from declared configurations, rather than assuming a fixed set.

  1. … 17 more files in changeset.
Ensure that IvyArtifact and MavenArtifact do not return null values that cause publishing to fail

  1. … 7 more files in changeset.
Added final artifact customisation methods to IvyPublication - Currently these methods are planned to move to IvyConfiguration - Still need DSL docs etc

  1. … 3 more files in changeset.
Validate existence of artifact files when publishing with ivy-publish

  1. … 3 more files in changeset.
Set IvyArtifact.type == extension for file-based artifacts. - Need to decide if we need to support classifier in published ivy patterns.

  1. … 7 more files in changeset.
Started adding custom artifact support to ivy-publish plugin (based on maven-publish support) - Added IvyArtifact and IvyArtifactSet - Replaced use of PublishArtifact with IvyArtifact - Added IvyPublication.artifact(source) and IvyPublication.artifact(source, config) - Added IvyArtifactNotationParser and various implementations of IvyArtifact for file/archive/publishArtifact

  1. … 29 more files in changeset.
Cleaned up configuration of descriptorFile on IvyPublication - Can no longer specify descriptorFile directly on publication, this is done by setting destination on GenerateIvyDescriptor task - Default destination is configured directly on GenerateIvyDescriptor task - GenerateIvyDescriptor task supplies ivy descriptor to IvyPublication as a PublishArtifact

  1. … 6 more files in changeset.
Codenarc fix

DefaultIvyModuleDescriptor is no longer Buildable - Wire generator task directly into DefaultIvyPublication - All dependencies of PublishToIvyRepository are managed via IvyPublication.getPublishableFiles()

  1. … 7 more files in changeset.
Moved XmlTransformer to a dedicated package.

  1. … 33 more files in changeset.
Replaced IvyModuleDescriptor.file with IvyPublication.descriptorFile

  1. … 6 more files in changeset.