Learn how to create a Maven plugin from scratch.
Also find me here:
Baeldung Author
Marcos Lopez Gonzalez
Software Engineer with extensive experience working with Java/JEE technologies. Also focused on Android and Big Data development. Very interested in learning new technologies and the latest practices in the industry.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (8)
- Testing (4)
- Spring (2)
- Persistence (2)
- Maven (2)
- Logging (2)
- Algorithms (2)
- Spring Web (1)
- Spring MVC (1)
- Spring Boot (1)
- Java String (1)
- Java Collections (1)
- Jakarta EE (1)
- DevOps (1)
Using a Slash Character in Spring URLs
Filed under Spring MVC, Spring Web
Learn several ways to deal with URLs containing slash characters in Spring.
Logging HTTP Requests with Spring Boot Actuator HTTP Tracing
Filed under DevOps, Logging, Spring Boot
Learn how to trace HTTP calls using Spring Boot Actuator.
Java 8 Stream skip() vs limit()
Filed under Java
Explore the difference between skip() and limit() methods in the Java 8 Stream API.
How to Find an Exception’s Root Cause in Java
Filed under Java
Learn how to find an exception’s root cause in Java.
Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?
Filed under Java
Learn why Java requires local variables to be effectively final when used in a lambda.
Fixing the JPA error “java.lang.String cannot be cast to Ljava.lang.String;”
Filed under Persistence
Learn how to fix a common casting error in JPA queries.
Guide to EnumSet
Filed under Java Collections
Quickly learn about the EnumSet and how to start using it in practical scenarios.
Different Ways to Capture Java Heap Dumps
Filed under Java
Learn multiple ways to capture a heap dump in Java
Java 9 Platform Logging API
Explore the newly introduced Logging API in Java 9 along with examples that cover the most common cases.
Maven Project with Multiple Source Directories
Filed under Maven
Configure multiple source directories in a Maven project.
Get Date Without Time in Java
Filed under Java
Take a look at how to get a Date value without the time in Java
Convert a String to Title Case
Filed under Java String
Have a look at different ways to convert a String to title case in Java
Find the Middle Element of a Linked List in Java
Filed under Algorithms, Java
Learn how you can tackle the common problem of finding the middle element of a linked list
@Before vs @BeforeClass vs @BeforeEach vs @BeforeAll
Filed under Testing
Learn about the difference between JUnit annotations that can be used to run logic before tests.
Jersey Filters and Interceptors
Filed under Jakarta EE
Take a look at how filters and interceptors work in the Jersey framework.
JPA Attribute Converters
Filed under Persistence
Take a look at mapping JDBC types to Java classes in JPA using attribute converters.
Implementing a Binary Tree in Java
Filed under Algorithms, Java
Take a look at implementing a sorted binary tree in Java.
The SpringJUnitConfig and SpringJUnitWebConfig Annotations in Spring 5
Learn how to use the SpringJUnitConfig and SpringJUnitWebConfig composite annotations in Spring 5.
Spring 5 Testing with @EnabledIf Annotation
Learn how to use the @EnabledIf and @DisabledIf annotations in JUnit 5 tests using a SpringExtension.
JUnit5 @RunWith
Filed under Testing
Learn how to use the @RunWith annotation in the JUnit 5 framework.