Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Addressing open issues for 'Make branch attribute available when publishing and resolving Ivy modules'

- Adding ivyStatus to IvyModuleDescriptor

- Adding validation for status

+review REVIEW-5059

  1. … 9 more files in changeset.
Documentation and tweaks for 'Make branch attribute available when publishing and resolving Ivy modules' story +review REVIEW-5054

  1. … 8 more files in changeset.
First iteration of 'Make branch attribute available when publishing and resolving Ivy modules' story

  1. … 21 more files in changeset.
Test fixes are API change.

  1. … 5 more files in changeset.
Remove some use of String as a model path.

  1. … 20 more files in changeset.
Some fixes for tests to work under Groovy 2.2

  1. … 4 more files in changeset.
Added publish plugin services and made a ProjectDependencyPublicationResolver available as a service.

  1. … 10 more files in changeset.
Added type parameter to NotationParser to represent the source type.

  1. … 53 more files in changeset.
Moved NotationParser to a new package.

  1. … 58 more files in changeset.
Initial work on new rule based configuration model, integrated into the publishing plugin.

    • -88
    • +0
    ./publish/ivy/internal/plugins/IvyPublicationDynamicDescriptorGenerationTaskCreatorTest.groovy
  1. … 48 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

    • -2
    • +2
    ./publish/ivy/internal/plugins/IvyPublicationDynamicDescriptorGenerationTaskCreatorTest.groovy
  1. … 141 more files in changeset.
Added some context to meta-data parse errors.

- Replaced ParseException with new MetaDataParseException.

- Wrap all parser failures in a contextual exception.

  1. … 17 more files in changeset.
Merge remote-tracking branch 'remotes/origin/release'

  1. … 11 more files in changeset.
GRADLE-2837: Ensure that a dependency project is fully evaluated before it is used by a referencing project in publishing

  1. … 4 more files in changeset.
Replaced PublicationCoordinates with ModuleVersionIdentifier.

  1. … 8 more files in changeset.
Project dependencies map to a single publication of the depended-on project - For single publication, use it - For multiple publications, fail unless all publications have the same coordinates - For no publications, use the project coordinates - Added ProjectDependencyPublicationResolver to do the work of determining the coordinates to use for a project dependency

  1. … 20 more files in changeset.
Can now set 'status' on IvyModuleDescriptor and 'packaging' on MavenPom - Updated release notes to document breaking change to default 'status' in ivy publication - No longer set status of IvyPublication from Project.status

  1. … 11 more files in changeset.
Updated maven-publish so that project dependencies correctly handle modified publication coordinates - Use new MavenDependency type instead of org.gradle.api.Dependency as API for generating POM - Map ModuleDependency->MavenDependency within MavenPublication - Added some integration test coverage for multi-project publications with modified/multiple publications

  1. … 15 more files in changeset.
Fixed Ivy publication of project dependencies with customised publication coordinates - If depended project has no PublishingExtension, use project properties for dependency coordinates - If depended project has PublishingExtension, then add dependency for each IvyPublication - Moved mapping of ModuleDependency->IvyDependency into IvyPublication (out of IvyDescriptorFileGenerator) - Even closer to having model for customising dependencies...

  1. … 7 more files in changeset.
For consistency with maven-publish plugin, renamed descriptor file task in ivy-publish plugin - from generate${publication.name}IvyModuleDescriptor -> generateDescriptorFileFor${publication.name}Publication

    • -2
    • +2
    ./publish/ivy/internal/plugins/IvyPublicationDynamicDescriptorGenerationTaskCreatorTest.groovy
  1. … 8 more files in changeset.
Can now explicitly set publication coordinates for a Maven or Ivy publication - Use a convention mapping to set default artifact name in ivy publication (temporary until we get lazy configuration sorted properly)

  1. … 9 more files in changeset.
Changed DefaultTaskContainer, DefaultSourceSetContainer and DefaultConfigurationContainer to nag about the use of deprecated add() methods.

  1. … 38 more files in changeset.
Switch PublicationContainer to use new Polymorphic container infrastructure

  1. … 21 more files in changeset.
Validate that artifacts are not duplicates when publishing - Also check that no declared artifact duplicates the generated meta-data file. - Didn't bother checking maven-metadata.xml (it would require a concerted effort to clash with this, including setting version = 'metadata')

  1. … 4 more files in changeset.
REVIEW-1693: Report the illegal character in error message when attempting to publish with an invalid identifier character.

  1. … 2 more files in changeset.
REVIEW-1651: Use IvyXmlModuleDescriptorParser for verifying ivy.xml before publishing - Added DisconnectedParserSettings to avoid attempts at download when verifying an ivy.xml that extends another

This is the 2nd commit message:

  1. … 5 more files in changeset.
Fixed overly aggressive find/replace

Restrict characters allowed in Ivy and Maven publication identifiers - Currently allow all Unicode except ISO Control Chars, '/' and '\' - Do not (yet) handle inability to publish to a Windows FS when characters are not permitted: fails silently. - Added single quote to the set of tested characters, adding relevant escaping in tests - Extract common field validation code into PublicationFieldValidator

  1. … 10 more files in changeset.
Better test coverage for escaping and encoding in PomFile and IvyDescriptorFile generators (REVIEW-1585, REVIEW-1554)

  1. … 3 more files in changeset.
Reworked default values and validation for IvyPublication and MavenPublication - Default IvyArtifact.name to module name on construction, rather than at time of writing ivy.xml (REVIEW-1678) - Don't permit null values for IvyArtifact.[name|extension|type] or MavenArtifact.extension - Allow empty string for extention only - Updated javadocs for MavenArtifact and IvyArtifact, adding @Nullable where appropriate (REVIEW-1572, REVIEW-1575)

  1. … 17 more files in changeset.