I'm new to maven, I keep running in to the following syntax:
<include>**/*</include>
Im not sure how to interpret **/*
, is this some Java or maven convention?
A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains default values for most projects.
The POM contains information about the project and various configuration detail used by Maven to build the project(s). Before creating a POM, we should first decide the project group (groupId), its name (artifactId) and its version as these attributes help in uniquely identifying the project in repository.
Maven uses a set of identifiers, also called coordinates, to uniquely identify a project and specify how the project artifact should be packaged: groupId – a unique base name of the company or group that created the project. artifactId – a unique name of the project. version – a version of the project.
It is more related to <fileset>
Ant convention upon which Maven is built.
**/*
: all files in all subdirectories: see Ant Patterns.
When
**
is used as the name of a directory in the pattern, it matches zero or more directories.
For example:/test/**
matches all files/directories under/test/
, such as/test/x.java
, or/test/foo/bar/xyz.html
, but not/xyz.xml
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With