Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework build to allow publishing core to maven #3069

Merged
merged 15 commits into from Oct 29, 2013

Commits on Oct 21, 2013

  1. Configuration menu
    Copy the full SHA
    6ba5fc6 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2013

  1. Clarify comment.

    adriaanm committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    09faf8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cba4f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f05b5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a487ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd779d1 View commit details
    Browse the repository at this point in the history
  6. Inline src/build/pack.xml into build.xml.

    It tended too easily to get out of synch with build.xml.
    adriaanm committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    a51c789 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c1055be View commit details
    Browse the repository at this point in the history
  8. Support publishing to maven from main build

    Publish to maven with `ant publish.local`,
    `ant publish`, or `ant publish.signed`.
    
    For now, we must keep copying `src/build/maven/maven-deploy.xml`
    to `dists/maven/latest.build.xml`, along with its dependencies,
    as it's used by jenkins jobs and PR validation.
    
    TODO: `inline src/build/maven/maven-deploy.xml` into `build.xml`.
    adriaanm committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    9c46b97 View commit details
    Browse the repository at this point in the history
  9. Towards minimal build for publishing core to maven.

    Use `unless` attribute in targets so that `docs.skip` influences dependency graph.
    
    Create `scaladoc` task in `pack.core` so that we don't need `pack.done`
    for publishing the core.
    
    Move source bundle creation from `dist.src` to `osgi.core`/`osgi.done`.
    
    Split dependencies of maven publishing into core/all variants:
    `osgi.core` creates osgi bundles for just lib/reflect/comp.
    adriaanm committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    a323812 View commit details
    Browse the repository at this point in the history
  10. Targets for publishing core to maven.

    `ant publish-core-signed-opt-nodocs` creates and publishes the smallest
    possible set of jars (library/reflect/compiler) we can send to maven.
    It uploads jars with class files and sources, but no docs
    (so that we don't need to build scaladoc or any other modules).
    
    `ant publish-core-signed-opt` is similar, but also publishes docs.
    
    For local experimentation: `ant publish-core-local-nodocs`.
    With a little bit more work, this can be used instead of `replacestarr`.
    adriaanm committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    331d32b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2013

  1. Configuration menu
    Copy the full SHA
    d925c21 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2013

  1. Configuration menu
    Copy the full SHA
    22ac38a View commit details
    Browse the repository at this point in the history
  2. Tidy pom xml files.

    adriaanm committed Oct 25, 2013
    Configuration menu
    Copy the full SHA
    340907a View commit details
    Browse the repository at this point in the history
  3. Bundle source and class file bundling in osgi bundling.

    Fix oversight in not skipping scalap's ad-hoc published docs on docs.skip.
    adriaanm committed Oct 25, 2013
    Configuration menu
    Copy the full SHA
    937e304 View commit details
    Browse the repository at this point in the history