flatten-maven-plugin icon indicating copy to clipboard operation
flatten-maven-plugin copied to clipboard

thank you

Open Andrei-Pozolotin opened this issue 7 years ago • 8 comments

thank you for the plugin idea; just FYI:

proof-of-concept simplified plugin incarnation: https://github.com/random-maven/flatten-maven-plugin

which resolves: https://github.com/mojohaus/flatten-maven-plugin/issues/63 https://github.com/mojohaus/flatten-maven-plugin/issues/59 https://github.com/mojohaus/flatten-maven-plugin/issues/58 https://github.com/mojohaus/flatten-maven-plugin/issues/57 etc.

Andrei-Pozolotin avatar Nov 29 '17 19:11 Andrei-Pozolotin

Thanks a lot Andrei, can you merge #61 as well? The maintainer of this project went silent for a long time.

tribbloid avatar Nov 30 '17 19:11 tribbloid

@tribbloid Peng:

  1. try v 1.1.x: https://bintray.com/random-maven/maven/flatten-maven-plugin

  2. like this: https://github.com/random-maven/flatten-maven-plugin/blob/master/src/it/test-2/pom.xml#L65

  3. mojo help: https://random-maven.github.io/flatten-maven-plugin/flatten-mojo.html

Andrei-Pozolotin avatar Dec 01 '17 04:12 Andrei-Pozolotin

@Andrei-Pozolotin Glorious! I'm merging my ticket into yours. Thanks a lot sir!

tribbloid avatar Dec 01 '17 21:12 tribbloid

I am interested in a few of these changes, but I don't think this plugin should be considered dead and forked.

@Andrei-Pozolotin can you with @khmarbaise and the other maintainers of this plugin to integrate these changes and avoid the fragmentation?

mattnelson avatar Dec 01 '17 22:12 mattnelson

@mattnelson: I agree, this plugin (mojohaus version) supports clean mojo which is not supported by @Andrei-Pozolotin 's version. It's a waste of everyone's time to integrate features into all forks.

tribbloid avatar Dec 02 '17 00:12 tribbloid

I appreciated your pull request...

khmarbaise avatar Dec 02 '17 12:12 khmarbaise

@all :

I think there is a basic design issue with mojohaus version: mutable vs immutable model

which can be addressed by something like this:

random-maven/flatten-maven-plugin

// after clone():
// do not interpolate anything any more 
// only remove content or add static content
final Model model = project.getModel().clone(); 

but that change does not look like as a simple PR to the mojohaus, but rather complete plugin redesign, which I did in random-maven version

Andrei-Pozolotin avatar Dec 04 '17 17:12 Andrei-Pozolotin

thank you for the plugin idea

you are welcome :)

but that change does not look like as a simple PR to the mojohaus, but rather complete plugin redesign, which I did in random-maven version

So what is the plan then? According to what you are saying you are not interested in improving this plugin but want to go with your own fork? Did you see that we are getting other PRs that we merged. This will IMHO lead to two different directions and duplicated effort. Sorry if reactions are slow here (I am involved in ~10 other OSS projects in my rare spare time). Feel free to join mojohaus and support this plugin better directly. As @khmarbaise said we would welcome PRs from you to improve this.

hohwille avatar Dec 14 '18 07:12 hohwille