FYI, I have just created https://issues.apache.org/jira/browse/SUREFIRE-2234
with a suggested fix.
--
Alexander Kriegisch
https://scrum-master.de
Alexander Kriegisch schrieb am 06.02.2024 08:58 (GMT +07:00):
> Sorry, hit the send button too quickly.
>
> The fact that e.g. on Bash
>
> mvn t
Sorry, hit the send button too quickly.
The fact that e.g. on Bash
mvn test -Dtest=dev.aspectj.*
does not find any tests, but
mvn test -Dtest=dev/aspectj/*
does, is IMO simply a bug that ought to be fixed.
--
Alexander Kriegisch
https://scrum-master.de
Alexander Kriegisch schrieb am 06.
Bash:
mvn test -Dtest=dev.aspectj.MyO*
Windows Cmd/PowerShell:
mvn test "-Dtest=dev.aspectj.MyO*"
--
Alexander Kriegisch
https://scrum-master.de
Gary D. Gregory schrieb am 05.02.2024 22:22 (GMT +07:00):
> Hi All:
>
> mvn clean test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.*
Jörg,
I asked for a working example and not theory for a reason: The plugin
POM already uses properties, and it simply does not work to override
them. Example:
1
...
org.acme
foo
${foo.version}
Now, the project using the plugin does this:
2
org.acme
my-plugin
3
Overrid
Thanks Jörg,
but that does not answer my question. I do not want to generate a site
for the parent. I am talking about the module using the parent POM. BTW,
the parent POM is not even under my control, it is from another
organisation. I am consuming it, because I like the defaults for plugin
and d
Hi Alexander,
On Monday, 5. February 2024, 05:36:35 schrieb Alexander Kriegisch wrote:
> Neither in [1] nor in [2] I can find a way to completely disregard or
> override a site.xml from the parent POM. I want to inherit a lot from a
> specific parent POM, such as dependency management and properti
Hello Alexander,
On Sunday, 4. February 2024, 04:20:22 CET Alexander Kriegisch write:
> Hi Jörg.
>
> Thanks for the reply. Can you please elaborate with examples? Option 1
> is what I need, but that does not work. Or maybe we have a
> misunderstanding about the term "property". Are we talking abo
Mon, 5 Feb 2024, /sebb/:
Under Windows,
mvn test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.ArchiveTest
fails with
Unknown lifecycle phase
".apache.commons.compress.harmony.pack2000.tests.ArchiveTest".
but the following works:
mvn test
-Dtest="org.apache.commons.compress.harmony
There appears to be a different syntax for wild-card matching.
On macOS, the following works:
mvn test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.ArchiveTest
but
mvn test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.*
fails with
No tests matching pattern
"org.apache.c
Yep, slashes work. The double quoting gives a syntax error.
TY.
Gary
On 2024/02/05 15:53:41 Stanimir Stamenkov wrote:
> Mon, 5 Feb 2024, /sebb/:
>
> > That looks like a Windows quoting issue; Windows does not like '.' in
> > parameter values
> >
> > Try
> >
> > mvn clean test
> > -D"test=org
Mon, 5 Feb 2024, /sebb/:
That looks like a Windows quoting issue; Windows does not like '.' in
parameter values
Try
mvn clean test -D"test=org.apache.commons.compress.harmony.unpack200.tests.*"
Dot (.) doesn't appear a standard delimiter on Windows:
* https://ss64.com/nt/syntax-esc.html#del
That looks like a Windows quoting issue; Windows does not like '.' in
parameter values
Try
mvn clean test -D"test=org.apache.commons.compress.harmony.unpack200.tests.*"
On Mon, 5 Feb 2024 at 15:25, Gary D. Gregory wrote:
>
> Forgot to say:
>
> Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dc
Forgot to say:
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: C:\java\apache-maven-3.9.6
Java version: 1.8.0_382, vendor: Temurin, runtime: C:\Program Files\Eclipse
Adoptium\jdk-8.0.382.5-hotspot\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10"
Hi All:
mvn clean test -Dtest=org.apache.commons.compress.harmony.unpack200.tests.*
gives me:
[INFO] --- surefire:3.2.5:test (default-test) @ commons-compress ---
[INFO]
[INFO] BUILD FAILURE
[INFO] -
14 matches
Mail list logo