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

Feature: Generator for Plugs via Maven plugin #18

Merged
merged 24 commits into from
Sep 25, 2019

Conversation

cardil
Copy link
Member

@cardil cardil commented Jan 18, 2019

Adding Generator for Plugs via Maven plugin

Couple of extra tasks should be resolved before #9 can be completed:

  • Better decision of noop is needed, based on source hash.
  • Write source artifact compiled sources into jar
  • Create real imports, from provided scope
  • Define dependencies, imports, sources, name & version in OSGi bundle manifest

@cardil cardil added the enhancement New feature or request label Jan 18, 2019
@cardil cardil added this to the v0.1.0 milestone Jan 18, 2019
@cardil cardil self-assigned this Jan 18, 2019
@cardil cardil added the WIP Work In Progress label Feb 7, 2019
@cardil cardil force-pushed the feature/9-maven-generator branch 2 times, most recently from e13a0be to 0db6b4d Compare May 24, 2019 15:27
@cardil cardil force-pushed the feature/9-maven-generator branch from 0db6b4d to 00ecc93 Compare June 6, 2019 19:19
cardil and others added 15 commits June 6, 2019 22:25
A basic Packager logic has been added. Most of the code has been
inspired by Spring Boot Maven plugin, but code has been strimlined to
suit simplier needs of building just bundle jars.

Packager logic should be rewriten so it will package sources, and add
libraries and not to repackage original Jar as in Spring Boot solution.

Basic manifest builder has been writen, but it needs more work to be
suited for OSGi.
 * Adding tests for Maven plugin
 * Adding complete test infrastructure for Maven plugin.
 * Plugin is able to work with DI maven container.

Refers to issue #9
There are couple of further tasks:

 * Better decision of noop is needed, based on source hash.
 * Write source artifact compiled sources into jar
 * Create real imports, from provided scope
 * Define dependencies, imports, sources, name & version in OSGi bundle
   manifest
Rewiting plugin to repackage main jar artifact as a plug. The behiviour
is similar to Spring Boot plugin, as source artifact can hold any number
of user customisations like custom files and manifests. Reusing it make
whole process dependant on artifact, which  is a minor downside, but
offers better coverage of all users needs.

To be able to easily test and also to enable to write other plugins in
future, like Gradle, I need to move code that is not directly linked to
maven to separate package: core.

 * Maven backed SLF4J Logger
 * Maven backed coordinates
 * Almost all of configuration, except Project class impl
 * Maven libraries scaffold
 * All Maven backend factories should be completed
 * Switched to VAVR on Core nad Maven tools
 * Cross platform fixes
@cardil cardil force-pushed the feature/9-maven-generator branch from 00ecc93 to c8dc944 Compare June 6, 2019 20:29
 * Added a sampler library and use it to create samples
 * Introduce API nad DEVEL modules for plugs packager
@cardil cardil force-pushed the feature/9-maven-generator branch from c8dc944 to 4c93495 Compare June 6, 2019 21:14
@cardil cardil force-pushed the feature/9-maven-generator branch from e6e7a7b to d878e56 Compare September 6, 2019 21:02
@cardil cardil force-pushed the feature/9-maven-generator branch from d878e56 to 20ddd78 Compare September 22, 2019 16:27
@cardil cardil force-pushed the feature/9-maven-generator branch from 7ec1594 to 66464ad Compare September 23, 2019 11:05
@cardil cardil force-pushed the feature/9-maven-generator branch from d1f3c9e to ae456b3 Compare September 24, 2019 22:28
And couple other classes to fix SonarQube issues
@cardil cardil force-pushed the feature/9-maven-generator branch from ae456b3 to da213ed Compare September 25, 2019 10:55
@cardil cardil removed the WIP Work In Progress label Sep 25, 2019
@wavesoftware wavesoftware deleted a comment from codecov bot Sep 25, 2019
@cardil cardil merged commit dfd18ea into develop Sep 25, 2019
@cardil cardil deleted the feature/9-maven-generator branch September 25, 2019 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant