[ANN] Apache Maven Shared Resources, version 3 Released

2021-01-10 Thread Sylwester Lachiewicz
The Maven team is pleased to announce the release of the Apache Maven
Shared Resources, version 3

This is a collection of templates that are specific to the Maven project.

https://maven.apache.org/shared/maven-shared-resources/

You should specify the version in your project's plugin dependency:


  org.apache.maven.shared
  maven-shared-resources
  3


Release Notes - Apache Maven Shared Resources - Version 3

Bug
[MSHARED-854] - 'cacheFile' property is removed from TreeWalker in
Checkstyle 8.19
Improvement
[MSHARED-879] - make build Reproducible
[MSHARED-968] - Exclude module-info.java from default checkstyle checks

Enjoy,

-The Apache Maven team

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven deploy logic .. that does upload of pom, jar, sha1, md5 ?

2021-01-10 Thread Paul Hammant
Thanks Tamás

After building that all, Is there a trick to instantiating mvnDebug using
those snapshots ?

- Paul


Re: Maven deploy logic .. that does upload of pom, jar, sha1, md5 ?

2021-01-10 Thread Tamás Cservenák
Simplest is to clone (in gh) these reposes to your user

https://github.com/apache/maven
https://github.com/apache/maven-resolver
https://github.com/apache/maven-wagon

Then clone them from there to your machine (git clone). I usually add
"upstream" remote (git remote add upstream ...) that points back to
original apache reposes, is easier to track them later (fetch -p, rebase
upstream/master).

Finally, in idea just create empty new project, and import modules by
pointing idea at top level pom of each project.

Hth
T

Ps: am on phone, so bear with me if mistakes present


On Sun, Jan 10, 2021, 11:37 Paul Hammant  wrote:

> I'm still clicking around trying to find the piece of code I'm interested
> in. I've found
>
> MessageDigest(string).getInstance(“SHA-1”).update(various), but not
> succinctly how it links to the upload/publish process.
>
>
> I've already made the change I want for GraknLab's
> "bazel-distribution" (Python) bazel rule for publishing to maven central (
> commit
> <
> https://github.com/TrunkBasedDevelopment/bazel-distribution/commit/3088b69bb95f0c222d1fd50ac3efc8e464d99c30
> >)
> and also for the official bazel rule "rules_jvm_external" for the same (
> commit
> <
> https://github.com/TrunkBasedDevelopment/rules_jvm_external/commit/829879d87bfeabb99acc6f31ef9a8f6f8f6113fe
> >
> -
> Java). Those were 80 and 100 LoC changes.  The Python one (of course) is
> closest to the pseudocode I wrote above.
>
>
> Maybe my alternate approach to making the same change (my own forks) is
> adding a breakpoint the actual upload method and working backwards to note
> all the moving parts and work out how many method signatures would need to
> change in multiple abstractions/impls and module's to achieve this.
>
>
> What's the 2021 best-practice for cloning all core maven modules in one go,
> and loading that all into Intellij meaningfully.  It is not svn co
> http://svn.apache.org/repos/asf/maven/trunk/ anymore is in?
>
>
> - Paul
>


[GitHub] [maven-site] rfscholte commented on a change in pull request #225: [MNG-7051] Add examples of ? prefix in profile activation

2021-01-10 Thread GitBox


rfscholte commented on a change in pull request #225:
URL: https://github.com/apache/maven-site/pull/225#discussion_r554558015



##
File path: content/apt/guides/introduction/introduction-to-profiles.apt
##
@@ -307,7 +309,7 @@ mvn groupId:artifactId:goal -Denvironment=test
   identifier with either the character '!' or '-' as shown below:
   
 +---+
-mvn groupId:artifactId:goal -P !profile-1,!profile-2
+mvn groupId:artifactId:goal -P !profile-1,!profile-2,!?profile-3

Review comment:
   Stick to `!?` only please.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven deploy logic .. that does upload of pom, jar, sha1, md5 ?

2021-01-10 Thread Paul Hammant
I'm still clicking around trying to find the piece of code I'm interested
in. I've found

MessageDigest(string).getInstance(“SHA-1”).update(various), but not
succinctly how it links to the upload/publish process.


I've already made the change I want for GraknLab's
"bazel-distribution" (Python) bazel rule for publishing to maven central (
commit
)
and also for the official bazel rule "rules_jvm_external" for the same (
commit

-
Java). Those were 80 and 100 LoC changes.  The Python one (of course) is
closest to the pseudocode I wrote above.


Maybe my alternate approach to making the same change (my own forks) is
adding a breakpoint the actual upload method and working backwards to note
all the moving parts and work out how many method signatures would need to
change in multiple abstractions/impls and module's to achieve this.


What's the 2021 best-practice for cloning all core maven modules in one go,
and loading that all into Intellij meaningfully.  It is not svn co
http://svn.apache.org/repos/asf/maven/trunk/ anymore is in?


- Paul