Skip to content
May 11, 2025

The code examples

learn to code by examples

  • Facebook
Main Menu

Tag: maven

devops / jenkins

How to configure a checkstyle in Jenkins

January 31, 2019October 29, 2022 - by Tirex - Leave a Comment

Last time, we set up a job checkstyle check locally. But for this test to be truly meaningful and to benefit the team, it is better to integrate this action …

Read More
Maven

Maven does not find JUnit tests to run

December 2, 2018 - by Tirex - Leave a Comment

For the tests in your project to work, certain settings are necessary. Here are some guidelines for avoiding basic mistakes.

Read More
Maven

How to use Maven through a proxy?

December 1, 2018December 2, 2018 - by Tirex - Leave a Comment

Sometimes inside corporate networks you may not have direct access to the Internet, but only through a proxy. In this article, we will look at how to use maven through …

Read More
java / Maven

How to add local jar files to a Maven project?

September 22, 2018September 26, 2018 - by Tirex - 1 Comment

Imagine that you have implemented your java jar library and you need to connect it. Here are some examples of how to do it.

Read More
java / Maven

Checkstyle configuration in maven

March 9, 2018March 10, 2019 - by Tirex - 5 Comments.

What most annoying programmers besides reading someone else’s code? That’s right, formatting! In a large team it is difficult to impart to everyone the same requirements for the style of …

Read More
Maven

Set java compiler version in pom

January 28, 2018 - by Tirex - Leave a Comment

Suppose you write a project that must have mandatory support for java 1.6 and higher, but you only have java 9 installed  and also want the compiled classes to be …

Read More
Maven

Get maven project version from the terminal

October 26, 2017November 4, 2019 - by Tirex - 1 Comment

Very often, when working on projects, you need to get the version of the pom.xml application from the command line. Here’s how you can do it:

Read More
Maven

Retrieve app version from maven pom.xml in java

October 26, 2017January 2, 2021 - by Tirex - 2 Comments.

Today we will discuss working with pom.xml. Suppose you have a web application and you want to print its current version in some part of the page. Of course, you …

Read More
Maven

How to create a simple Java project with Maven

May 31, 2017November 17, 2017 - by Tirex - 3 Comments.

In this article we will learn how to create a simple java project with Maven. We also review project structure and the commands for building the project.

Read More

Recent Posts

  • How to compare strings in Java?
  • Repeating a string using StringBuilder
  • How to configure a checkstyle in Jenkins
  • Setup Jenkins for private GitHub repository
  • Maven does not find JUnit tests to run
  • How to use Maven through a proxy?
  • How to add local jar files to a Maven project?
  • How to print a java array
  • How to parse JSON in Java

Categories

  • devops
  • java
  • jenkins
  • Maven

Tags

apachepoi array arraylist checkstyle convert devops equals excel foreach java java9 jdbc jenkins jshell json junit jxls lambda maven mongodb mysql nosql string word
Copyright © 2025 The code examples.
Powered by WordPress and HitMag.