public:javabestpractises
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:javabestpractises [2015/12/07 12:37] – [Logging] Konrad Hoeffner | public:javabestpractises [2021/04/29 11:42] (current) – [Maven] Carl Suckfuell | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Maven ===== | ===== Maven ===== | ||
+ | |||
+ | Maven makes it easier to include dependencies //and// to let other people depend and work on your code. | ||
+ | |||
+ | Please take care, to solely use HTTPS in your repository URLs, to avoid https:// | ||
Maven 3 pom.xml template (change the compiler source to your liking): | Maven 3 pom.xml template (change the compiler source to your liking): | ||
< | < | ||
- | <project xmlns=" | + | <project xmlns=" |
< | < | ||
< | < | ||
Line 23: | Line 27: | ||
< | < | ||
</ | </ | ||
+ | <!-- remove repositories you don't use--> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
< | < | ||
Line 46: | Line 68: | ||
If you have a stable project, create a release (non-snapshot) version, as it decrease network traffic and increase speed tremendously. | If you have a stable project, create a release (non-snapshot) version, as it decrease network traffic and increase speed tremendously. | ||
+ | |||
===== Logging ===== | ===== Logging ===== | ||
Line 55: | Line 78: | ||
Please always use UTF-8 encoding. Line endings will usually handled by git so that you can choose those as you prefer. | Please always use UTF-8 encoding. Line endings will usually handled by git so that you can choose those as you prefer. | ||
+ | |||
+ | ===== Further Reading ===== | ||
+ | |||
+ | For general (not AKSW-specific) guidelines, see http:// | ||
public/javabestpractises.1449488237.txt.gz · Last modified: 2015/12/07 12:37 by Konrad Hoeffner