IvyDescriptorFileGeneratorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
REVIEW-1522, REVIEW-1544: Move classes and tests to better packages

    • -249
    • +0
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 9 more files in changeset.
REVIEW-1519: Don't use file-name, PublishArtifact.name or ArchiveTask.baseName as artifact name when publishing to ivy - Default IvyArtifact.name 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

    • -5
    • +5
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 14 more files in changeset.
Started to verify resolution of published modules in IvyPublish integ tests - Fixed bug in module published from empty publication

    • -1
    • +2
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 4 more files in changeset.
Reworked package structure to remove package cycle (both ivy & maven)

    • -2
    • +2
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 55 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

    • -5
    • +12
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 30 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

    • -6
    • +22
    ./IvyDescriptorFileGeneratorTest.groovy
  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.

    • -5
    • +9
    ./IvyDescriptorFileGeneratorTest.groovy
  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

    • -0
    • +221
    ./IvyDescriptorFileGeneratorTest.groovy
  1. … 17 more files in changeset.