Commits on Jun 1, 2017
  1. 517664 Support p2iu<->pom version update

    mschreiber committed Jun 1, 2017
    Adding a VersionAdapter for the p2-installable-unit packaging type. This
    adapter will return the version of the IU and so the
    EclipseVersionUpdater and the PomVersionUpdater will change the pom or
    the p2iu.xml version.
    Bug: 517664
    Change-Id: I1823850fd1e015d19c90904874a66a605f873c1d
    Signed-off-by: Martin Schreiber <>
Commits on May 16, 2017
  1. project can be null

    filippor authored and jsievers committed May 15, 2017
    Change-Id: Idbf1e62b4f62014ddc6ce51e46eed01237057194
    Signed-off-by: filippor <>
Commits on May 15, 2017
  1. Bug 516573: Compare the expected and acutal poms without newlines

    mschreiber committed May 15, 2017
    On Windows some tests failed because of different new lines characters
    in the actual and expected pom files. Now the newline characters get
    removed before comparing them.
    Bug: 516573
    Change-Id: I1e86c430ed9a7ac3863eb87922e4a37a2f83c684
    Signed-off-by: Martin Schreiber <>
Commits on May 9, 2017
  1. Revert "Bug 514119 Updating the plexus-archiver to v3.4"

    Martin Schreiber
    Martin Schreiber committed May 9, 2017
    Sorry, there is still one CQ open (for snappy java)
    This reverts commit c48c327.
    Change-Id: Ie3a9a2fe3249a8596cbf1f2d539d73a7da35efc2
  2. Bug 514119 Updating the plexus-archiver to v3.4

    mschreiber authored and Martin Schreiber committed Apr 14, 2017
    Including all it's transitive dependencies. 
    CQ: 13048
    CQ: 13049
    CQ: 13050
    CQ: 13051
    CQ: 13052
    CQ: 13053
    Bug: 514119
    Change-Id: I0bde4ae0088440d32b0778e3fc89cd34ecde797f
    Signed-off-by: Martin Schreiber <>
  3. 510425 Parallel Mode requires threadCount or useUnlimitedThreads set

    mschreiber authored and Martin Schreiber committed Feb 28, 2017
    When using parallel mode, useUnlimitedThreads must be set to true or the
    threadCount must be set. When the threadCount is set, 1 is ok if also
    perCpuThreadCount is true. If perCpuThreadCount is not set, threadCount
    must be > 1.
    Bug: 510425
    Change-Id: I744eb2b32894c2b3e7c3db645a0fb0495f8471f5
    Signed-off-by: Martin Schreiber <>
Commits on Apr 29, 2017
  1. Bug 515976: Using @Component to inject the PomVersionUpdater

    mschreiber committed Apr 29, 2017
    IIRC within a Mojo required plexus components should be use @Component
    to get injected correctly like the ProjectMetadataReader, so using
    @Component instead of @Requirement.
    Bug: 515976
    Change-Id: I2fffb5c5c87b858cb46028ab48863ec3fabe8822
    Signed-off-by: Martin Schreiber <>
Commits on Apr 28, 2017
  1. Bug 342893 - Support for release-process like Maven

    Dufgui authored and Gerrit Code Review @ committed Apr 6, 2017
    - added new goal
      which will update MANIFEST.MF/feature.xml/product versions
      to match their respective pom versions
    - this is useful if you used e.g. versions-maven-plugin or
      maven-release plugin to change POM versions and want to
      bring OSGi versions back to be consistent with pom versions
    Change-Id: I8615cb3951781dae31becd5f5e6c97a4164df492
    Signed-off-by: Guillaume Dufour <>
Commits on Apr 24, 2017
  1. Bug 515691 - Use import-package for servlet API dependency

    mbooth101 committed Apr 24, 2017
    Change-Id: Ia1972beb20657747cc1c781fa645aa51d2d5975e
    Signed-off-by: Mat Booth <>
Commits on Apr 12, 2017
  1. Update instructions in It seems that Tycho is now included…

    luvalach committed Apr 11, 2017
    … in Eclipse Installer Project Catalog, so guide should reflect this fact. Also Eclipse and JRE version have been updated.
    Alternatively we could put here only link to Wiki [1], then we wouldn't have to maintain this guide on two places.
    Change-Id: I512a83a18a182ee594e7f454eb53084802ed7f65
    Signed-off-by: Lukas Valach <>
Commits on Apr 10, 2017
  1. Bug 448055 - error handling enhancement: missing affected file for error

    Dufgui authored and Gerrit Code Review @ committed Apr 1, 2017
    Change-Id: I86cd7be56f29ecd24ccc970dcea6d38dd2914bdf
    Signed-off-by: Guillaume Dufour <>
Commits on Apr 6, 2017
  1. Remove special proxy settings for CI build

    jsievers committed Apr 6, 2017
    proxy no longer required according to
    Change-Id: If1102fcde3250255108d1a336a394b4ce2870c05
Commits on Apr 1, 2017
  1. Bug: 371884 change version of artifact in configuration/target

    Dufgui committed Apr 1, 2017
    Small refactor to treat in same method dependencies and targets
    Change-Id: I90b7e8a9da5236cd9d77f824c0d8d56f714c4e55
    Signed-off-by: Guillaume Dufour <>
Commits on Feb 22, 2017
  1. Bug 512326 Support product file names other than artifact id

    mschreiber authored and Gerrit Code Review @ committed Feb 17, 2017
    _If only one .product file could be found in the directory, take that or
    thake the one with the name <artifactId>.proudct. 
    _Log a warning if more than one product files are in the directory and
    non of them matches the name <artifactId>.product or if no product file
    is in the directory (e.g. update sites) and skip updating the
    version of that pom file.
    Bug: 512326
    Change-Id: Ie23e849f2504134a5f305208d05b25d781c53033
    Signed-off-by: Martin Schreiber <>
Commits on Feb 20, 2017
  1. Bug 512396: artifact checksum generation fails

    jsievers committed Feb 20, 2017
    - artifact checksum generation using p2's
      RecreateRepositoryApplication only works for
      jar/xml based artifact repos (not for XZ only)
    - checksum generation and XZ compression was
      unnecessarily done inside a loop over os/ws/arch target envs
    - move checksum genration and XZ compression
      outside of loop so it's done oly once at the end
      and keepNonXzIndexFiles=false cannot lead to
      checksum generation failure
    Change-Id: I0910288abf0f74917681f62aacadb9d8fee91052
Commits on Feb 14, 2017
  1. Bug 512182: add checksums only if artifacts present

    jsievers committed Feb 14, 2017
    Change-Id: I2ff2eca536dddcb2f9d60ba3f07f2b2ca2a49b0b
Commits on Feb 11, 2017
  1. Bug 512048: tycho-versions-plugin considers source features in catego…

    Jakob Strafer
    Jakob Strafer committed Feb 11, 2017
    …ry.xml files
    Source features generated by the tycho-source-feature-plugin during a build are also considered on version changes
    Change-Id: I288924341268bbe41c86cfdbce8dafa88572379c
    Signed-off-by: Jakob Strafer <>
Commits on Feb 6, 2017
  1. Next development version

    jsievers committed Feb 6, 2017
    Change-Id: I1e43fc8f31d5ff0de286cd067725e7f41c86f896
  2. Release Tycho 1.0.0

    jsievers committed Feb 6, 2017
    Change-Id: Iccd717939b6f71e26ec97724ed4472bde80a9e4c
Commits on Jan 16, 2017
  1. 510425 - Parallel mode needs threadCount>1 or useUnlimitedThreads=false

    mschreiber committed Jan 16, 2017
    When using the parallel mode, either threadCount or useUnlimitedThreads
    must be configured and threadCount must be >1. 
    Bug: 510425
    Change-Id: I541d84c2720fab21db411eeb9fe48973539126cf
    Signed-off-by: Martin Schreiber <>
Commits on Jan 12, 2017
  1. Exclude dependency to org.tukaani.xz

    jsievers committed Jan 12, 2017
    - we don't use XZ compression, exclude the transitive
    - manage scope of dependency to tycho-testing-harness
      to be test to make it more explicit this is to be
      used for internal testing purposes only
    CQ: 12484
    Change-Id: If0a5797e883b8d57b8487339275195dda1b014d9
    Signed-off-by: Jan Sievers <>
  2. #508293 - Update pom version pased on eclipse-repositories product file

    mschreiber authored and Martin Schreiber committed Dec 17, 2016
    The PomUpdater mojo does now also support reading the product
    information from an eclipse-repository project.
    If the packaging type is eclipse-repository and there is a product file
    (<artifact_id>.product) in the directory, use that product file to
    determine the version that should be set in the pom.
    Bug: 508293
    Change-Id: Ib83bf81b646e694470270d60119ed969819e3cf6
    Signed-off-by: Martin Schreiber <>
Commits on Jan 11, 2017
  1. Bug 508474: remove incubation notices

    jsievers committed Jan 11, 2017
    Change-Id: I4083950825a910796c7cbc52c9de8c586514cac8
  2. 386263 Adding support for root.(<config>.)folder.<subfolder>

    mschreiber authored and Gerrit Code Review @ committed Jan 2, 2017
    The FileSet has now an additional field called destinationPath. When
    putting the matching files into the FileToPathMap
    (FileSet#addFileIfMatch), this relative path is prefixed with the
    destinationPath. So the map does now contain:
    file -> subfolder + relative path  
    and so root files are ending up in the configured subfolder. 
    Bug: 386263
    Change-Id: Ic65b47d538a9ae4173991fe3f4e7fc50ced38ddd
    Signed-off-by: Martin Schreiber <>
Commits on Jan 10, 2017
  1. 509736 - Test if the 2nd build time is equal or greater than the first

    mschreiber authored and Gerrit Code Review @ committed Dec 29, 2016
    The project gets built twice, so they might have different (timestamp
    based) qualifiers, if the 2 builds do not run within the same minute. 
    Now the 2 timestamps are compared on equal or greater.
    Bug: 509736
    Change-Id: Ieef308eec5239417c37d8380db2cb8aa9516065c
    Signed-off-by: Martin Schreiber <>
Commits on Dec 22, 2016
  1. Bug 509128: update JDT and Equinox to Neon.2

    jsievers committed Dec 22, 2016
    Change-Id: I528861237262264673b1bc5538030ca73eddc8dd
  2. Bug 509128: Use Neon.2

    jsievers committed Dec 22, 2016
    Change-Id: I95d8fc5000905f7013c85f80066020dd97baa577
Commits on Dec 19, 2016
  1. Bug: 364855 add support for multiple filters on feature.xml

    Artem Kovalev authored and jsievers committed Dec 7, 2016
    Update FeatureDependenciesAction - add support multiple filters on feature.xml.
    For example feature.xml content:
    os="macosx,linux" - is a multiple filter.
    The multiple filters can contain fields:
    - added integration test
    - Refactoring
    Change-Id: I9e73ef6b13b1fb051b98586b94effa8a8f6bba33
    Signed-off-by: Artem Kovalev <>
    Also-by: Jan Sievers <>
Commits on Dec 16, 2016
  1. 472579 Read the polyglot pom file if the regular pom file could not be

    mschreiber authored and Gerrit Code Review @ committed Dec 2, 2016
    Renamed the MutablePomFile to PomFile and adding a flag if it is mutable
    (=regular pom) or not (=polyglot pom). The PomManipulator only make
    changes if a pom is mutable. (integration tests will be added to tycho
    Change-Id: I418d16dc2a6ab66f334fa832b8a638c22d312da0
    Signed-off-by: Martin Schreiber <>
Commits on Dec 13, 2016
  1. Bug 509128: Update p2 and Equinox to Neon.1

    jsievers committed Dec 13, 2016
    as an interim step for eventually going to Neon.2
    - also update tycho bootstrap version to latest released
    - consistently use latest Indigo SR only for JUnit 3 bundles
      (just for p2 metadata download/resolution performance)
    Change-Id: I9f3a492015cebc63436d44c1368f73d5be664393
    Signed-off-by: Jan Sievers <>
  2. Update docs

    jsievers committed Dec 13, 2016
    Change-Id: Ice59c62f59b5084ced9135ead7da4a01af2fc6ba
    Signed-off-by: Jan Sievers <>
Commits on Dec 11, 2016
  1. Bug 509028: Add tests project with test

    guw committed Dec 11, 2016
    Change-Id: I0438558500bc2cda34488c54e5a355d5837f6cd1
    Signed-off-by: Gunnar Wagenknecht <>
  2. Bug 509028: Encode path to avoid URISyntaxException

    guw committed Dec 10, 2016
    Change-Id: If5f63ac719b202abc480e1770525b101cef0057d
    Signed-off-by: Gunnar Wagenknecht <>
Commits on Nov 25, 2016
  1. 501809 Adding a tycho specific MirrorSelector to support URL prefixing

    mschreiber authored and Gerrit Code Review @ committed Oct 31, 2016
    The MirrorSelector component is used to select a mirror for a given
    ArtifactRepository. The TychoMirrorSelector does compare the artifact
    repository URL with the "mirrorOf" definition of the mirrors. If the
    repo URL starts with "mirrorOf" a new Mirror object is created with the
    URL containing the mirror URL with the remaining path of the repository
    URL. The "old" way (repo "id" matches mirrors "mirrorOf" attribute)
    still works and if there is a mirror defined that way, this mirror is
    used. The "id" of the new Mirror object is the same as for the mirror
    definition because that "id" might be used to get the credentials form
    the maven server settings.
    Bug: 501809
    Change-Id: I4718fc22f76d782c452957df706a8c87c0c8c119
    Signed-off-by: Martin Schreiber <>
Commits on Nov 22, 2016
  1. Bug 484003: do not ignore status when downloading baseline artifacts

    jsievers authored and Gerrit Code Review @ committed Nov 18, 2016
    BaselineServiceImpl would ignore IStatus returned by 
    p2 when downloading artifacts. 
    In case e.g. of network error during download this could leave
    e.g. 0-byte jar files in the baseline folder. Even worse, in case the
    build was configured to replace locally built artifacts with baseline
    files of the same version (i.e. no content change), the 0-byte file
    would be used to replace the local build result in the target/ folder
    leading to various followup problems.
    Now we check the p2 download IStatus and break the build in case of 
    IStatus.ERROR or IStatus.CANCEL . As an added safety net, we also do
    a 0-byte-length sanity check when replacing local files with baseline
    files later in the build. This should no longer be required for this
    particular error scenario but I figured it doesn't hurt.
    Add an integration test that uses a intentionally corrupted p2 repo to
    reproduce the error. I verified that running the test without the patch
    applied will lead to 0-byte jars being replaced in the test project's
    target/ folder.
    Change-Id: I5c3aafc1a964ae7486372b7b037b48ba6f03a3b7
    Signed-off-by: Jan Sievers <>