Я создал свой собственный архетип, который имеет пользовательский pom.xml
и пользовательский class
в пакете, подобном следующему: ${groupId}.${artifactId}.core
Проблема в пакете.Когда я создаю проект maven с моим архетипом, пакет не похож на ${groupId}.${artifactId}.core
.Это всего лишь ${groupId}
.
Это сгенерированный класс по архетипу:

But the tree is like this (package is not builded how I want):

Why my project is not builded how I expect and how I done this?
Here is the tree of project from where I generate archetype

MainCore.java
package ${package}.core;
import fl.raul.libs.methods.Common;
public class MainCore{
public static void main(String[] args){
//REMINDER : update version of fl.raul.libs - if needed.
Common.testLibrary();
}
}
archetype.xml
libs-archetype src / main / java/core/MainCore.java true
PS: Я думаю, что это что-то из Intellij.Я протестировал этот архетип в Eclipse, и пакет такой, каким он должен быть (fl.raul.testers.core
).