maven-archetype Questions
4
When I use eclipse to create webapp with maven using "maven-archetype-webapp", it creates only Servlet 2.3. How can I create Servlet 3.0?
Monkish asked 28/7, 2013 at 16:58
4
I'm trying to create empty Maven Web Project with an existing dir (actually from github project, it's empty and contains only README file).
But maven seems to detect directory existence and failed...
Amortizement asked 1/9, 2014 at 6:52
11
Solved
mvn archetype:generate provides way too many options and I am looking to create a simple java utility with junit test cases. I would like to know what archetype I should be using here?
Diminished asked 23/8, 2011 at 8:44
4
Solved
I'm creating a Maven archetype which generates a project skeleton that
will include a dependency on the project from which the archetype
originated.
For example, the origin project looks like: ...
Eberto asked 28/8, 2011 at 18:32
9
How can I make resources like .gitignore be part of the resulting project?
create archetype with archetype-resources/.gitignore
mvn install
mvn archetype:generate
resulting project doesn't contain...
Denticle asked 2/11, 2011 at 13:22
2
Solved
set homepath=%userprofile%
set a=%1
set b=%2
set c=%3
set uuid=%4
set zipDirectory=%5
set pluginDirectory=%6
cd %homepath%\%a%
mvn archetype:generate -DarchetypeCatalog=file://%homepath%/.m2/reposi...
Tahsildar asked 6/6, 2016 at 13:18
2
While working on project, my requirement is to create a module.
The command will be like:
mvn archetype:generate \
-DarchetypeCatalog=local \
-DartifactId=test-module
And the target should h...
Cant asked 2/6, 2015 at 10:49
6
I'm putting together a maven archetype that has a bunch of custom properties that are used to filter the various archetype resources. I have these specified with defaults in the archetype-metadata....
Itemize asked 9/10, 2010 at 0:27
1
I run mvn archetype:generate and get this error:
Error reading archetype catalog http://repo.maven.apache.org/maven2
org.apache.maven.wagon.TransferFailedException: Transfer failed for http://repo...
Gainless asked 25/4, 2020 at 11:4
2
Solved
I'm trying to create a Web Application Project with Maven as described here but I keep getting the following error
mvn archetype:create
-DgroupId=ru.jofsey
-DartifactId=example
-DarchetypeAr...
Invar asked 18/2, 2017 at 11:35
3
Solved
I am having trouble creating a Maven archetype because of the presence of a colon character (':') in one of the resources. I have a Spring XML that includes that symbol:
<property name="maxSize...
Reeva asked 3/7, 2015 at 7:44
3
I run the Maven the command *mvn archetype:generate* in command Prompt
It shows
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[I...
Polarize asked 8/7, 2013 at 10:15
3
Am trying to create an archetype which will conditionally include file based on the user input.
Like for eg., if a user will use this custom archetype and pass parameters like
-DprojectType=we...
Charmion asked 2/12, 2013 at 14:49
16
Solved
I'm trying to create a very simple webapp with maven and eclipse, but I'm having no joy at all, in fact the reverse of joy.
I go to File -> New Project, select Maven Project, and select the maven-...
Ramachandra asked 15/6, 2010 at 4:34
2
Solved
Currently in the maven-resources-plugin there is a bug that the .gitignore file is not copied to the archetype JAR. See this bug report
Short and simple question: are there workarounds for getting...
Seaway asked 15/9, 2015 at 7:33
9
Solved
What is the Gradle counterpart to Maven archetypes? How can I give other Gradle users a template for the file and directory layout for a new project?
Cleavage asked 17/7, 2012 at 14:32
2
Solved
I want to be able to generate a project from my archetype with one of the properties being empty by default, or populated if specified so on the command line.
This is my archetype-metadata.xml:
&...
Selfabsorbed asked 8/8, 2016 at 13:57
2
Solved
I've created a Maven project with maven-archetype-quickstart.
I've started coding and now I want to change the archetype to maven-archetype-webapp in order to make it a dynamic web project.
How do ...
Hersch asked 22/4, 2013 at 7:58
1
I'm trying to generate a SNAPSHOT maven archetype, publish it to Sonatype's OSS repo: https://oss.sonatype.org/content/repositories/snapshots/funcatron/starter/
The publishing happens correctly. H...
Neo asked 24/5, 2017 at 17:11
4
Solved
Is there a way to run mvn archetype:generate and target the current directory instead of creating a directory from the artifactId? The plugin supposedly takes a basedir parameter, but passing in "-...
Accusation asked 25/6, 2014 at 3:16
3
I'm deploying a Nexus repository for Maven, and custom archetypes on it.
I would like to execute mvn archetype:generate and be prompted a list of internal + custom archetypes.
The only way I fo...
Bottomry asked 6/7, 2011 at 12:49
3
Solved
I am trying to create Jersey normally with the aid of maven but I am always getting this structure as in the scrennshoot and without error as normally?! It does not look as Jersey commonly layout.
...
Spotweld asked 3/5, 2015 at 19:2
3
Solved
I am creating an archetype and want to create a project wide available property containing things like the current date and an all lower case variant of the artifact id. I found the following post ...
Prau asked 4/6, 2017 at 3:19
2
Solved
I'd like to create Maven project which will build my webservice to war file, ready to be deployed on GlassFish. Looks like piece of cake, however I can't find any tutorial that would explain how to...
Twoply asked 26/7, 2015 at 10:42
5
Solved
When choosing the Create New Project option after launching IntelliJ 2017.2, I get this endlessly spinning wheel on the Maven tag, saying “Loading archetype list…”.
Any way to get to a Maven arc...
Egon asked 28/7, 2017 at 5:57
1 Next >
© 2022 - 2025 — McMap. All rights reserved.