J Fabian Meier

May 18, 2020 14:23
No, not really.
May 18, 2020 13:50
If you want to keep everything in separate projects, then I do not think that you can do this in a sensible way.
May 18, 2020 13:49
The best solution I know for that is to put all the projects into one multi-module project. Then everything is built together and you always have the newest version of master.
May 18, 2020 13:47
You know that settings.xml is just on one computer? Other developers will have separate ones.
May 18, 2020 13:42
Why do you want this in the settings.xml?
May 18, 2020 13:40
If you want to set your dependency version through a property, this property has to be either defined in the same POM, or a parent POM, or the settings.xml or on command line.
May 18, 2020 13:39
You cannot use properties from external files for defining versions of dependencies.
May 18, 2020 13:36
What exactly do you mean? Can you give an example?
May 18, 2020 13:32
As I said: This is impossible.
May 18, 2020 13:32
Then it cannot be a parent POM. If you want a parent POM, you need to create a new project for that.
May 18, 2020 13:32
Note that you cannot add projects with packaging jar as parent. Parent POMs cannot have any Java code.
 
Oct 31, 2019 11:50
I am running out of ideas. But I would try to reinstall eclipse (maybe a more recent one) and also delete everything from the local repository.
Oct 31, 2019 11:50
You are running a recent, normal eclipse?
Oct 31, 2019 11:50
You could try to remove the settings.xml from your .m2 directory and try again (after restarting eclipse). The settings.xml is probably not necessary in your case.
Oct 31, 2019 11:50
Actually, I don't know.
Oct 31, 2019 11:50
In a private network, you usually don't have a proxy. So that is probably fine.
Oct 31, 2019 11:50
Sorry, but I don't know your firewall.
Oct 31, 2019 11:50
Figure out if your firewall/proxy/network blocks access to MavenCentral. If you are inside a company, speak to the network administrator,
Oct 31, 2019 11:50
So are you inside a company network or not? If so, talk to your network people, if not, check if you run a firewall.
Oct 31, 2019 11:50
I guess you have some kind of network/proxy problem.
 
Oct 18, 2019 17:50
Thank again, see you around here on SO.
Oct 18, 2019 17:47
But in the end, you also need happy customers. And I doubt that all this makes the customers happy in the long run.
Oct 18, 2019 17:47
Having lots of "features"
Oct 18, 2019 17:46
This is probably what the sales department is interested in.
Oct 18, 2019 17:43
Thank you for the interesting information!
Oct 18, 2019 17:42
I understand somehow that Sonatype puts most of their work (apparently) into adding more and more repository types, but a good UI, especially good searching and sorting, is also something important. I still don't understand why none of the major repositories manages to sort versions correctly, like 1.10 is later than 1.2
Oct 18, 2019 17:35
I guess, you can say the same thing about the Nexus 3 UI ;-)
Oct 18, 2019 17:32
How did you build the UI?
Oct 18, 2019 17:31
Good.
Oct 18, 2019 17:30
What technologies do you use in the project?
Oct 18, 2019 17:30
I will definitely have a look.
Oct 18, 2019 17:27
What made you stop?
Oct 18, 2019 17:26
Sounds like a good idea
Oct 18, 2019 17:25
By the way, when did the core developers quit?
Oct 18, 2019 17:24
What are your main differences to the "big ones"?
Oct 18, 2019 17:24
Thanks.
Oct 18, 2019 17:22
Oh, really? Interesting. We are currently still on Nexus 2, but plan to evaluate Nexus 3 and Artifactory soon because they are the main ones on the market. But, as you probably also noticed, both are far from perfect.
Oct 18, 2019 17:20
That is actually a long time. I started about 3 or 4 years ago, when we decided to migrate all projects of our company to Maven.
Oct 18, 2019 17:19
And, of course, there are different ways to reach the same goal
Oct 18, 2019 17:18
Maven is full of interesting features and plugins, but it is sometimes hard to figure out the right way.
Oct 18, 2019 17:17
That is true. Nice to meet you!
Oct 18, 2019 17:15
I am talking about the very same thing. If you have various versions of commons-io in your transitive dependencies, just put one <dependencyManagement> entry for commons-io into your project (with the version you desire). This replaces all transitive versions with this version. You do not need to add a direct dependency.
Oct 18, 2019 17:15
I mean that if I want aws-java-sdk-s3 in version 2.0 throughout my transitive dependencies, I would add an entry to the dependencyManagement section and would not define aws-java-sdk-s3 as direct dependency (unless, of course, I also use it directly in my source code).
Oct 18, 2019 17:15
But, <dependencyManagement> already overrides all transitive dependencies. What is the advantage of using an explicit dependency?
Oct 18, 2019 17:15
Usually, for overriding versions, I would use <dependencyManagement>.
 
Oct 10, 2019 15:35
If I were you, I would just try it out if it fits for you.
Oct 10, 2019 14:30
Ok
Oct 10, 2019 14:28
Usually, you deploy everything. I do not know about your apps, do they contain copies of the libraries?
Oct 10, 2019 14:25
1. clean only clears the target directory of your project, not your local repository. 2. When you build for production, you deploy your built artifacts to a Maven repository like Nexus or Artifactory (whatever server you are running). Then the version number is used and cannot be reused.