Thank you for your response!
Additionally, I've noticed that in this situation, if I delete 3.12.0 from my
local repository and then recompile the project, Maven still downloads 3.12.0.
Is this behavior normal?
On 2023/11/01 03:45:49 Greg Chabala wrote:
> On Tue, Oct 31, 2023 at 10:27 PM yukai z
On Tue, Oct 31, 2023 at 10:27 PM yukai zhao wrote:
> has the project actually introduced the org.apache.commons:commons-lang3
> with version 3.12.0 during the actual compilation process?
>
Well, no. It says 3.12.0 was omitted, due to being a duplicate, hence why
it was not even mentioned withou
I apologize for my unclear description! Allow me to explain my problem
specifically. You are right; it is indeed a confusion.
Firstly, I compiled a project using Maven. This step was completed with the
command mvn clean install. Below is part of the output (I have omitted some
information for br
On Tue, Oct 31, 2023 at 11:27 AM
wrote:
> Can't quite make sense of all this; given that you got no replies, maybe
> no one else understood either.
I second this sentiment. All I could tell is it seems like there's some
confusion about interpreting the dependency:tree output, and perhaps
confus
Install phase isn't all that necessary. Iirc it's the last one in the
process. So you can use either verify (which is the integration test phase)
or package (which is jar generation phase and runs after unit tests)
On Tue, Oct 31, 2023, 19:04 Peter Carlson wrote:
> This works well, except I dont
This works well, except I dont want this:
[INFO] Installing /home/peter/workspace/SDCP/target/sdcp.jar to
/home/peter/.m2/repository/com/howudodat/sdcp/1.0-SNAPSHOT/sdcp-1.0-SNAPSHOT.jar
[INFO] Installing /home/peter/workspace/SDCP/pom.xml to
/home/peter/.m2/repository/com/howudodat/sdcp/1.0-SN
Can't quite make sense of all this; given that you got no replies, maybe no one
else understood either.
Could you explain a bit better?
-Original Message-
From: yukai zhao
Sent: Monday, October 30, 2023 9:10 PM
To: users@maven.apache.org
Subject: Version Management in 'mvn dependency:tr
For me best solution is assembly plugin :
https://maven.apache.org/plugins/maven-assembly-plugin/
You can chose dir format if you don't want zip or equivalent
Arnaud
Le mar. 31 oct. 2023, 17:01, Delany a écrit :
> Hi Peter,
>
> Firstly, compile and package are part of the same lifecycle (the d
Hi Peter,
Firstly, compile and package are part of the same lifecycle (the default
lifecycle), so its not necessary to specify both.
Then you can add this profile to your pom so you don't have to run the
dependency plugin separately.
dispatch
${project.artifactId}
I currently use the below commands to prepare my java application:
mvn clean compile package dependency:copy-dependencies
Then I manually copy the files with:
cp target/myapp-1.0-SNAPSHOT.jar /mnt/remote_app/myapp.jar
cp target/dependency/* /mnt/remote_app/libs/
I'm wondering:
10 matches
Mail list logo