Eclipse can't open a pom.xml file from the command line? For Intellij-idea
on Mac, Windows or Linux, I'd just do `idea pom.xml`
- Paul
On Sat, Feb 3, 2024 at 11:44 AM Matthias Bünger
wrote:
> Hey all,
> in this mail I want to share my experiences / thouhgts I had on my way
>
OK, ignore me, you're talking about the other way.
On Thu, Aug 24, 2023 at 1:27 PM Paul Hammant wrote:
> A classic pom.xml at root in a single repo, then multiple levels of child
> directory each with its own pom.xml (and its own src/main/java &
> src.test/java) ?
>
>
Pull-Request style?
Or GitFlow, or some other branching model?
- Paul
(I maintain https://trunkbaseddevelopment.com)
On Thu, Aug 24, 2023 at 11:31 AM Volkan Yazıcı wrote:
> Hello,
>
> Log4j crew is considering moving to a multi-repo structure. If I am not
> mistaken, there are 125 `github.
I wrote much of
https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=118163392#content/view/118163392
20 years back, and still stand by the basic message.
Maven is a build tool though, and aims and reproducibility. Minimal output
should be the default (console and log files). If so
Corporations that do anti-virus content filtering of incoming GETs, have
occasionally seen corrupt jars in ~/.m2 and their shared
Nexus/Artifactory. In that case there was text content for the jar (insead
of a zip) and if you looked at it, you saw a HTML page talking of the A-V
transgression but w
Apache used to operate Gump for this purpose, back on the days of Ant and
Maven 1.x.
https://github.com/hboutemy/mcmm-yaml could gain some additional
post-publication meta info :)
Google for "embedding Maven". Articles like
https://techblog.bozho.net/embedding-maven/ talk about that.
Sounds great. Quick check - this is a fork of Maven somehow? Or additional
plugins that are configurable into standard Maven?
I too published something on quicker Maven builds that's lower tech -
https://paulhammant.com/2021/01/28/dagging-on-maven
- Paul
com/images/tomcat_classloader.jpg - not from
actually knowledge, but from "that's how I would do it"
On Fri, Feb 5, 2021 at 1:32 PM Romain Manni-Bucau
wrote:
> @Paul: not really, none define any behavior (note that the class loader
> tree implementation is a vendor choice, several c
>
> JSR 330 has a TCK that defines a lot. A system that purports to facilitate
> injection into contained components (plugins or lesser) doesn’t have to
> implement all facets of that TCK but could do so out of the box by just
> using (say) guice or dagger in a class loader tree implementation.
e per
meaningful separate part of a tree of classloaders in a JVM.
These days, twice a year I get to give an opinion of a technology in a
language that purports to be DI, but is actually
Container.getInstance().getComponent() by various obfuscations
(service locator *not* DI at all).
- Paul
https://github.com/asciidoctor/jekyll-asciidoc-quickstart .. find “GitHub
pages” in page.
My blog used to be in textile - overnight GHP dropped support so I had to
batch convert hundreds to markdown. That was years back. I might have
preferred asciidoc, and if it is supported that’s great, but I d
I don't think so - it's tied to SHA1 presently and would require updates to
multiple plugins. I mean for your own DAV-style repository you could ALSO
publish SHA256s, but there's no verification cycle as deps are pulled into
a build client-side that'd use them.
ences for teams.
* https://maven.apache.org/guides/mini/guide-reproducible-builds.html
- Paul
Thanks Tamás
After building that all, Is there a trick to instantiating mvnDebug using
those snapshots ?
- Paul
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
Thanks for that. Me 15 years ago would have know the answer as bells are
ringing now :)
ush up jar & pom and their md5 & sha1
if sources exist {
calc sources sha1 & md5
push up sources jar and its md5 & sha1
}
if javadoc exist {
calc javadoc sha1 & md5
push up javadoc jar and its md5 & sha1
}
Well, I forget the sig file too, but you get what I'm after. Does anyone
know which repo/plugin this is in?
- Paul
ense stuff can't import GPL2 and
still be adhering. And others. "What is linkage" is primarily import with
Java, but there are other ways linkage can be set up and still entangled in
license considerations/debates.
- Paul
https://github.com/mojohaus/buildnumber-maven-plugin has been worked on
*since* Codehaus closed up. Ask these people -
https://github.com/mojohaus/buildnumber-maven-plugin/commits/master - what
their intentions are.
On Thu, Jan 23, 2020 at 11:00 PM Scott Wilson wrote:
> Hi Paul
>
> I write test automation and try to stick to a solid design. I find others
> break solid design principles so having a scope will prevent people
> from breaking some basic principles.
>
> For example, if us
I'm interested in your need for this. Like, why do you need this?
On Thu, Jan 23, 2020 at 7:17 AM Scott Wilson wrote:
> *Hi Robert and devs*
>
>
> *I have been using maven for a few years and I LOVE it!*
>
>
> *I have a feature request.*
>
>
> *(1) When adding a dependency to pom.xml the default
> We have tens of plugins, most of them are rarely updated and released
... is the key problem you're trying to solve right?
Team to actively process issues and PRs and push releases minor releases
efficiently is the real wish, right?
Without breaking backwards compatibility, it could be a choice for the Pom.
Sure that’s an addition, but it it not like the format can never change.
It’s an excellent idea.
On Thu, Nov 28, 2019 at 5:28 PM Robert Scholte wrote:
> As mentioned by Elliotte this won't fit in the current pom model ve
Great suggestion
On Wed, Nov 27, 2019 at 10:37 PM diku gabriell
wrote:
> Hello,
>
> My name is Gabriel Dicu.I am currently working with apache maven and I’d
> like to make a suggestion about improving maven dependency structure.In my
> opinion, dependencies should be organized better, because is
Integration test choices include the excellent Spock as mentioned. I've
used it and it's very solid. Two more choices include:
Another choice is Cuppa - https://github.com/cuppa-framework/cuppa
I've used this too, and it's great - no right-click-run-this-one in
Intellij though. I wish it had more
Oops. Blog entry linking to video of 16s build -
https://paulhammant.com/2017/02/05/a-16-second-java-webapp-build-including-webdriver-tests/
Here's an interesting co-incidence. A chg I donated to Google's Cloud bits
and pieces -
https://github.com/GoogleCloudPlatform/google-cloud-datastore/pull/205/files
*required
and received* a CLA.
@elharo just marked it as not needed, which is quite correct as this lib
has been succeeded by somethi
ssion and the
> carrying of a personal imprint
> - original expression is feasible for AIs (according to author)
>
> The author lost me at the reasoning for "personal imprint".
>
> Martijn
>
> On Tue, Oct 29, 2019 at 11:18 AM Paul Hammant wrote:
> >
> > S
Summary ?
Pretty sure that small changes that could not be done any other way are not
subject to copyright claims.
s/1.199/1.200/g
^ Being an example.
On Sat, Oct 19, 2019 at 7:51 PM Enrico Olivelli wrote:
> I see value in it.
> But from a legal point of viewthere is no human who sends the PR, so in
t to Java 8 rapidly starts adding lambdas that make the
> code more obfuscated for no good reason and soon introduces hard
> dependencies on Java 8, intentionally or otherwise. At a bare minimum,
> a CI environment that runs Java 7 is required.
>
> On Thu, Oct 3, 2019 at 8:25 AM Paul Ham
Would jdk 8 for maven itself and a target of 7 for the compiler (etc) for
maven-using projects be ok?
On Thu, Oct 3, 2019 at 1:15 PM Elliotte Rusty Harold
wrote:
> Strong -1 on Java 8 as the minimum version. Google Cloud Platform has
> lots of products and customers that still require Java 7. If
Hunter wrote:
What if that timestamp was based upon the scm's last commit timestamp
> instead of the time of the build?
>
Folks: remember that Subversion works differently to Git. With subversion
there's no hash, just an integer that goes up constantly for everything in
the larger repo. Your tru
Nice, thanks :)
make Maven
more forgiving for mussing modules in a multi-module project?
Background:
https://paulhammant.com/2017/02/08/further-experiments-with-expanding-contracting-monorepos/
- Paul
There's shades of https://en.wikipedia.org/wiki/XY_problem to what you
posting. I, for one, an interested in what your trying to make after you've
solved this problem :)
Make sure there's a slide on speedily processing pull-requests -
https://github.com/apache/maven/pulls - ;-) :-P
On Mon, Mar 18, 2019 at 12:03 PM Karl Heinz Marbaise
wrote:
> Hi to all,
>
> I would like to please you if you have simple task to do it would be
> great if you could create an approp
Does 'central' need to be immutable though? Feels like an arbitrary policy
to me. Or should there be workflows to remove items from there, and replace
with a 302? While that could be to repos elswhere, they could also be to
HTML pages with mvn.exe handling that and communicating that clearly in t
It is probably up to Oracle (not Apache) as to what is uploaded into Maven
Central - https://mvnrepository.com/search?q=ojdbc7
It could be that they have decided to not upload artifacts - "Last Release
on Oct 30, 2017" - anymore.
Yeah, maybe that makes sense.
On Thu, Feb 14, 2019 at 1:45 PM Mykola Nikishov wrote:
> Paul Hammant writes:
>
> > mvn clean install -DskipTests
> -Dmaven.repo.local=/usr/local/var/MAVEN_CI_REPOSITORY
>
> This would compile and test-compile for the first time...
&g
d I'd not want other
builds on the same machine to utilize those jars of dubious quality (even
if they are over written a lot).
Question: Anyway, is there a critical (but subtle) goal/phase that's going
to be skipped with this way of working?
- Paul
Obligatory, "Trunk-Based Development (with short-lived feature branches if
you like) is best" -
https://trunkbaseddevelopment.com/short-lived-feature-branches/ - *shout
out*.
- Paul (majority author of the above site).
both but none of the
non-component classes are.
I am still looking for an escape hatch. Each case gives me some progress
but not enough to meet my requirements.
So is this the way Maven or MNG-6209 is meant to work? Is any of this
unexpected to you all?
Cheers and God bless,
Paul
On Tue,
ps://svn.apache.org/repos/infra/websites/production/maven/content/reference/maven-classloading.html
Cheers and God bless,
Paul
dependently skipable (compile, test compile, jar, shade,
etc).
- Paul
g bytecode instrumentation, whereas you were
talking source code parsing. Mine is 100x easier to get perfect - sorry!
- Paul
On Fri, Jun 29, 2018 at 7:59 AM, Neacsu Bogdan wrote:
> Hello,
>
> Recently, I was thinking at a pretty nice feature that would make the grat
> maven tool an a
Can you yourself try another dissimilar machine?
too after the unit and service tests -
meaning (implicitly) it's testing JavaScript as well as Java in that time.
In order to make it fast I've abandoned the fail-safe plugin and do all
parts of the test-pyramid in surefire (see the pom).
- Paul
On Fri, Apr 13, 2018 at 3:2
OS/X == OS X (former OS name) == macOS (current OS name) ?
10 == 10.10.x ?
> and issue a warning, say a special HTTP response code or a header?
>
> Then, Maven would raise the warning in the console log, like "this
> component is known to have CVE-XYZ! consider upgrading"
>
> What do you think?
>
--
Paul Hammant DevOps <https://devops.
>
>
>
> >
> > *3. More pluggable dependency resolver:*
> >
>
> I am willing to let this be optional scope for now. May be yanked if too
> risky or not ready in time
>
>
>
I don't see how you can even make it optional without a pom specified way
of saying "not maven central, this way/place instead"
structure.
Like here - https://github.com/paul-hammant/xstream-jar/releases (and
associated blog entry -
https://paulhammant.com/2017/05/13/maven-central-as-multiple-git-repos/)
In particular I need to rework the jar as it is pulled into the local
~/.m2/repository cache - there's a root directo
er than remote
> repos known to Maven.
WorkspaceReader functionality is or is not a thing that can be set in
pom.xml files?
Are there any examples in public that use WorkspaceReader in use to
source a dep from outside of maven central (or the pro
the bottom of
https://trunkbaseddevelopment.com/branch-for-release/ has a Contribute to
this page
<https://github.com/paul-hammant/tbd/edit/master/content/branch-for-release/index.md>
link
that you can harmless click right now to see where that ends up :)
On Fri, Jul 21, 2017 at 12:28 PM, Anton Tanasenko
My bad - sorry.
On Thu, Jul 6, 2017 at 7:34 AM, Michael Osipov wrote:
> Am 2017-07-06 um 13:16 schrieb Paul Hammant:
>
>> For something that's 500MB in size (random binary data) I'm experiencing
>> commits taking
>> 10x longer than a straight copy to the dr
tion? Is 1/10th speed the expectation? Sure, I get that
7bit/8bit shenanigans are a factor, but not that much right?
- Paul
course tags are not branches, but you know what I
mean. In Git given it's content based storage, there's no storage
downsides from a branch/tag for 'maven-changes-plugin-3.0.0' also
containing all other plugins. Well no storage downsides ignoring working
copy (the checkout).
-
needs two and a parent pom in master).
*Repository*: https://github.com/paul-hammant/ph_testplugins
Of the two modules checked in, maven-changes-plugin is the one I attempted
to release to my com/paulhammant/ group on 'Central. The workflow for the
release of that single module is here
Yup. I don't think I understand the problem, and shouldn't comment.
On Sat, Jun 24, 2017 at 4:59 PM, Petar Tahchiev
wrote:
> Hi Paul,
>
> I think you misunderstood. The [BOM] is a separate project and the
> [PLATFORM] and [DEMO_STORE] are also separate projects, both of wh
elease, use another (from
root):
mvn release:prepare -PdemoOnly # etc
Of course, you man not need to stuff demo in your Artifactory/Nexus/etc in
which case just do your deploy fu after an 'install' w/o the release plugin
involved or that second profile.
- Paul
On Sat, Jun 24, 2
I think the plugins are descoped for a while.
How about https://github.com/apache-maven/ ?
Luckily GitHub does 302s just find if things get renamed or moved between
orgs.
- Paul
On Mon, Jun 19, 2017 at 3:34 PM, Bindul Bhowmik
wrote:
> Paul,
>
> On Mon, Jun 19, 2017 at 12:42 PM, Pau
Back from Github's suggestions team: "Currently, we don't have the ability
to group repos beyond the organization level, but I'll definitely consider
this a feature request."
- Paul
On Sun, Jun 18, 2017 at 7:04 PM, Paul Hammant wrote:
> I met Chris Wanstrath at
;-)
>
> On Sun 18 Jun 2017 at 23:10, Paul Hammant wrote:
>
> > They're always very polite for things that I ask for, but I can't claim
> to
> > have suggested anything that got implemented. I've a better hit-rate with
> > JetBrains and their IDEs
They're always very polite for things that I ask for, but I can't claim to
have suggested anything that got implemented. I've a better hit-rate with
JetBrains and their IDEs.
- Paul
On Sun, Jun 18, 2017 at 4:39 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote
Good thought. We could ask about a timeline.
On Sun, Jun 18, 2017 at 1:00 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:
> They are now adding user grouping... I wonder how long before repo grouping
> too
>
> On Sun 18 Jun 2017 at 17:12, Paul Hammant wrote:
&
maven/ which is what you'd actually want), we
could do github.com/apache-maven/.
I volunteer for some of the work. Err, maybe I should read those
confluence pages.
- Paul
On Sun, Jun 18, 2017 at 11:51 AM, Hervé BOUTEMY
wrote:
> yes, git is really ubiquitous now and nowadays
In order to be able to build a composite 'trunk' for all components of
maven (that are org.apache.*) can we move the remaining things left in
Subversion to Git, and mirror them to Github?
`git submodule` (etc) would be how we'd recreate a developer experience
that felt like a single trunk that wou
ly. The publishing binaries to Github
isn't the problem I'm trying to solve - it is the acquisition of deps as
builds needs them. Want to take this offline ?
- Paul
On Mon, Jun 5, 2017 at 11:14 AM, Plamen Totev
wrote:
> Hi,
>
> I think I had a similar idea. Could you please
So I have 27 releases of XStream unzipped and pushed to
https://github.com/paul-hammant/mc-xs-classes
(8.4M of Jars is now 2.4M of bare .git repo)
All the jars are still available - here -
https://github.com/paul-hammant/mc-xs-classes/releases
Perfect except:
1. .zip suffix instead of .jar
this
is the last time I mention it :)
- Paul
On Fri, Jun 2, 2017 at 6:47 AM, Paul Hammant wrote:
> The tongue-stickty-outy thing was more about the fact that Maven would be
> much better off shifting *all* of is documentation into something where
> every page has an edit-this-page link. Even
27;central. The Github people *acknowledged*
my suggestion to change to change way releases are done (https://github.com/
BuildRadiator/BuildRadiatorMavenExtension/releases) as there's a JDK
incompatible root folder in those zips, and *optionally* there need not be.
Pic: https://www.screencast.com/t
aster
https://maven.apache.org/examples/maven-3-lifecycle-extensions.html needs
an update methinks. If only Apache had a wiki :-P
- Paul
On Thu, Jun 1, 2017 at 9:22 AM, Paul Hammant wrote:
> OK, thanks.
>
> I'll kill the /build/extensions element of the pom, and try
> .mvn/ext
OK, thanks.
I'll kill the /build/extensions element of the pom, and try
.mvn/extensions.xml
- Paul
On Thu, Jun 1, 2017 at 7:26 AM, Igor Fedorenko wrote:
> Build extensions are loaded too late to contribute event spies, see how
> EventSpyDispatcher makes a copy of spies when it
I made won't work with /build/extensions element. Am
questioning the documentation.
Oh, I'm standing up https://buildradiator.org/ for the benefit of all.
Jooby/Java8/Vue.js and a 35 second Maven build including WebDriver tests
(tests in three executions from one compilation).
- Paul
On Thu, May 18, 2017 at 6:11 AM, Paul Hammant wrote:
> You know, I think it would be cool if there were file systems that would
> implement a form of a 'link' as part of a content-based-storage mechanism
> like Git itself. Meaning if I ran the above git-clone/jar command twice
ithub.com/ipfs/ipfs
https://en.wikipedia.org/wiki/Content-addressable_storage
- paul
ues previously noted) from the blog entry:
git clone https://github.com/paul-hammant/mc-xs-classes --depth 1 --branch
1.4.3
cd mc-xs-classes
rm -rf .git
jar cvfM ../xstream-1.4.3.jar .
cd ..
rm -rf mc-xs-classes
That might be faster for Java and the widely used JGit if it can be done in
memory. It
ventMonitor has been deprecated, in favor of
> EventSpy in
> Maven 3.0.2 I think: we should probably improve the javadoc...
>
>
Thanks that's exactly what I wanted -
https://github.com/sandipchitale/maven-profiler being what I'll clone and
play with to bring myself up to speed.
- Paul
And as I'm comfortable advocating for a few Git-centric alternates, GitHub
could be a hosting platform for jars of classes too. I think I've
established that it is efficient for storing binary classes.
The https://github.com/paul-hammant/mc-xs-classes/releases page on the
mc-xs-classes
I think just doesnt really work in the real
> world.
>
> manfred
>
> Paul Hammant wrote on 2017-05-17 13:39:
>
> > Actually I'm proposing a predictable structure on 'central :
> >
> > g...@central.maven.org:
> > maven2/.git
> >
> > (
Actually I'm proposing a predictable structure on 'central :
g...@central.maven.org:
maven2/.git
(one minor fix versus previous description of the git:// location)
Or for the three separate variant:
g...@central.maven.org:
maven2/-classes.git
g...@central.maven.org:
maven2/-javadocs.git
g..
On Wed, May 17, 2017 at 3:41 PM, Aldrin Leal wrote:
> thats my point: the golang approach does no magic at all. It simply stores
> the source code and bases it on a convention. Just the files, and thats it.
>
> --
> -- Aldrin Leal, / http://about.me/aldrinleal
>
> On Wed, May 17
ons.
:)
- Paul
On Wed, May 17, 2017 at 3:29 PM, Robert Scholte
wrote:
>
> On Wed, 17 May 2017 20:41:02 +0200, Paul Hammant wrote:
>
>> I would agree that it has the potential to be a new repository
>> implementation, Robert.
>> But I am not sure I follow your second sentence.
n) - https://github.com/paul-hammant/mc-xs-all
- Paul
On Wed, May 17, 2017 at 2:54 PM, Aldrin Leal wrote:
> I understand the approach is basically general, but maven artifacts are way
> more than binary code (there's source and javadoc). I also understand its
> an interesting option for di
istory to a R/O repo, and start
over with HEAD of the old becoming the initial commit of the new.
- Paul
On Wed, May 17, 2017 at 2:40 PM, Aldrin Leal wrote:
> Still, once github gets an outage, our repositories are basically
> 'left-padded' (taken offline)
>
> --
> -- Ald
; of a lib. And of course, write concurrency is even harder.
>
I'm not following, dude.
- Paul
For https://github.com/paul-hammant/mc-xs-all I have the sources,
classes, and javadoc as separate branches in one repo.
2. For https://github.com/paul-hammant/mc-xs-classes and
https://github.com/paul-hammant/mc-xs-javadocs and
https://github.com/paul-hammant/mc-xs-sources I have three Git repos
Aldrin - https://github.com/paul-hammant/mc-xs-all - no large files added
to Git. Git makes 70% saving on bytes used ('bare' mode).
On Wed, May 17, 2017 at 11:10 AM, Aldrin Leal wrote:
> Just a friendly reminder that git is not optimized for large files (for
> this, they mad
re not hit.
I'm trying to work out what a phase listener would look like, and thought
that the closed API to something that participates in the phase traversal
is MavenMonitor. Advice please?
- Paul
On Fri, May 12, 2017 at 6:01 AM, Paul Hammant wrote:
> I''m looking to make
>
> > Definitely, the idea is funny, but I don't see how this could go very far
> > than
> > this funny idea (in addition to the complexity for implementing this
> > format in
> > tooling)
> >
> > Regards,
> >
> > Hervé
> >
> > Le l
One more repo:
https://github.com/paul-hammant/mc-xs-all/
One branch for each of classes, javadoc, sources, and poms
15 javadoc original versions: 24.1M
16 sources original versions: 4.9M
27 classes original versions: 8.4M
Afterwards git work the bare .git folder is: 8.4M
*77.5% saving on
eing being more chatty that http://
is true. That's probably more CPU on the server side. It is definitely more
time. See here ...
Git takes 1s to do:
git clone https://github.com/paul-hammant/mc-xs-classes --depth 1 --branch
1.4.3 --bare
Wget takes 0.5s to do:
wget http://central.maven.org/mav
Article updated to eliminate misunderstandings and talk about a different
index for 'maven central' too.
- ph
On Sat, May 13, 2017 at 3:04 PM, Paul Hammant wrote:
> I was discussing this of the list today, and it may interest people on dev@
>
> https://paulhammant.com/2017/
I was discussing this of the list today, and it may interest people on dev@
https://paulhammant.com/2017/05/13/maven-central-as-multiple-git-repos/
"Maven Central as multiple Git repositories"
Enjoy,
- Paul
ould struggle to get it used exclusively
through the entire 'mvn' invocation.
Advice ?
* e.g.the build for maven-monitor-2.2.1 downloads v2.0.5 AND v2.0.9 of
itself. Different projects are going to download/use multiple different
versions of course.
- Paul
ch is your right of course.
On Sat, Apr 15, 2017 at 7:33 PM, Marco Vermeulen
wrote:
> Paul,
>
> I really am not trying to sell anything. I'm trying to help your community.
> You will get no *arguments* in favour or against from me.
>
> My users keep asking for Maven on SDKMAN,
, Grails). Then they mvn install that and the bits of
the SDK they need come down to their local cache. It has been four years
since I last acquired a new JVM technology any other way.
- Paul
Prior conversation -
https://www.mail-archive.com/search?q=Vermeulen&l=dev%40maven.apache.org
On Sat, Apr 15, 2017 at 6:56 PM, Marco Vermeulen
wrote:
> Hi Maven folks,
>
> Some time ago I asked the Maven dev community whether they would be willing
> to publish their releases on SDKMAN! [1] usi
1 - 100 of 853 matches
Mail list logo