Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
adf-archetype-5.1.0, alloy-archetype-5.1.0, bootsfaces-archetype-5.1.0, butterfaces-archetype-5.1.0, icefaces-archetype-5.1.0, jsf-archetype-5.1.0, primefaces-archetype-5.1.0, richfaces-archetype-5.1.0, alloy-archetype-6.1.0, bootsfaces-archetype-6.1.0, butterfaces-archetype-6.1.0, icefaces-archetype-6.1.0, jsf-archetype-6.1.0, primefaces-archetype-6.1.0, richfaces-archetype-6.1.0, adf-archetype-6.1.0
-
alloy-archetype-5.1.1, alloy-archetype-6.1.1, bootsfaces-archetype-5.1.1, bootsfaces-archetype-6.1.1, butterfaces-archetype-5.1.1, butterfaces-archetype-6.1.1, icefaces-archetype-5.1.1, icefaces-archetype-6.1.1, jsf-archetype-5.1.1, jsf-archetype-6.1.1, primefaces-archetype-5.1.1, primefaces-archetype-6.1.1, richfaces-archetype-5.1.1, richfaces-archetype-6.1.1
-
None
Description
Problem Background
When the archetypes were released, we neglected to remove the -SNAPSHOT qualifier for the parent pom for the generated pom.xml descriptors.
Steps to Reproduce
Execute the following shell command:
mvn archetype:generate \
-DarchetypeGroupId=com.liferay.faces.archetype \
-DarchetypeArtifactId=com.liferay.faces.archetype.jsf.portlet \
-DarchetypeVersion=6.1.0 \
-DgroupId=com.mycompany \
-DartifactId=com.mycompany.my.jsf.portlet
cd com.liferay.faces.archetype.jsf.portlet
mvn clean package
Expected Results
Maven reports BUILD SUCCESS.
Actual Results
Maven reports the following error:
{pre}[FATAL] Non-resolvable parent POM for com.mycompany:com.mycompany.my.jsf.portlet:1.0.0: Could not find artifact com.liferay.faces.archetype:com.liferay.faces.archetype.parent:pom:6.1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 7, column 10{pre}
Attachments
Issue Links
- fixes
-
IDE-4957 Track missing artifact problem on maven jsf project
-
- Closed
-
- is duplicated by
-
FACES-3634 Artifact com.liferay.faces.archetype:com.liferay.faces.archetype.parent:pom:6.1.0-SNAPSHOT does not exist
-
- Closed
-