Reverting back to my original question, also summarised in the subject
of this thread: Why is 'this.siteTool' null and not injected properly?
If I knew how to fix that configuratively or via coding, I would no
longer need to override 'exceute()', which relies on that field being
set, as you can see
Actually, my initial message already explained the situation:
1. With 1.x, I have no issues. That was my starting point.
2. With 2.0, I had no desire to verride 'execute()'. It was simply the
only thing that helped my project to function properly again. I
would be glad to do without
Excellent response... thanks.
Poking around, I appreciate your POC comment the most. I will only use
maven-polyglot in my recreational programming as a learning experience
until there becomes some compelling advantage otherwise.
1. good point... I concur
2. good point... yes, understandable s
Agreed,
Personally, I'd make POM XML (as de facto standard and supported in many
tools/apps/libs/etc) mandatory, so it could be:
a) you author POM XML (as today in vanilla maven), or
b) you author POM in your fave lang (as today in vanilla polyglot) and
Maven makes sure POM XML is present and up t
That is a good example of the tradeoffs as well. In several places the
pom.rb is forced to generate a pom.xml to satisfy other tooling, as
mentioned here:
https://github.com/jruby/jruby/blob/047188902e8d1d307d1f9e51d1bdc60ec1d09bc9/BUILDING.md#hacking-the-build-system
On Mon, Oct 9, 2023 at 4:49 P
Howdy,
I am aware for example the JRuby uses polyglot:
https://github.com/jruby/jruby
AFAIK, not all languages are "same done" or maybe I may risk "same
quality", for example JRuby/pom.rb is nicely maintained, unsure for other
ones...
Thanks
T
On Mon, Oct 9, 2023 at 11:35 PM Greg Chabala wro
I have looked into maven-polyglot before, and come to the conclusion that
it is a proof of concept, and something that few if any people actually
use, because:
1. Professional programmers are not actually offended by using XML in
the POM, only novices would complain about such a thing.
2.
Hello,
This is probably not what you're looking for, but a colleague and I created
this example for an internal training on Apache Maven that we're giving in
a regular basis: https://github.com/learning-maven/pom-as-yaml
Hope it helps,
Florent
On Mon, Oct 9, 2023, 23:16 Eric Kolotyluk wrote:
>
Does anyone have any experience with
https://www.baeldung.com/maven-polyglot they can share?
Cheers, Eric
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.or
Tested ./mvn/maven.config and it works... thanks 🙂 and it's in SCM...
This is probably my preferred place for such things as the other places
are more ephemeral... and I learned a new Maven trick 😎
Thanks for the explanation of 'project properties' and I can understand
such implementation iss
Ok, I'll address some points in order. My current command line is this:
--
mvn -e archetype:generate -DgroupId=com.att.idp -DartifactId=MyApplication
-Dpackage=com.att.idp -DarchetypeGroupId=com.att.idse
-DarchetypeArtifactId=idse-springmvc-archetype
-DarchetypeVersion=2.0.0-SN
And addendum:
Yet another way to set this "for good": using .mvn/maven.config:
https://gist.github.com/cstamas/0f07b4b045ae5c98f60ecd530f928201
I think this above is what you want, as I assume you wanted to enable
validation for the project (in which POM you defined this property) and
have it ena
I had these NPEs when I started to migrate reporting plugins and both the
plugin and the super class contained the same fields which created conflicts.
After I have removed them from the plugin and used the super ones all went
fine. In your case I would really do what Hervé proposes:
* remove y
Errata:
my "as Maven System Property" example is wrong (I had leftover `export
MAVEN_OPTS` from previous run)... so please neglect that example.
On Mon, Oct 9, 2023 at 11:58 AM Tamás Cservenák wrote:
> Howdy Eric,
>
> You are right, and sorry for this, I am (we all are) a bit overwhelmed
> these
Howdy Eric,
You are right, and sorry for this, I am (we all are) a bit overwhelmed
these days
So you are right, that line should say "use 'maven.plugin.validation'
**user** property". User properties (as told by mvn -h) are defined by the
"-D" CLI switch.
Re adding URL to message: Herve star
15 matches
Mail list logo