archetypes Questions
2
I'm interested in creating a Maven archetype, and I think I have most of the basics down. However, one thing I'm stuck on is that sometimes I want to use custom logic to fill in a template. For exa...
Modestine asked 22/5, 2013 at 21:20
3
Solved
According to Google's Dataflow documentation, Dataflow job template creation is "currently limited to Java and Maven." However, the documentation for Java across GCP's Dataflow site is... messy, to...
Parka asked 28/4, 2017 at 2:7
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
1
For a Maven archetype, how to camel case a generated file name using ${artifactId} in archetype-metadata.xml? For example, sample-my should give SampleMy.java.
I supposed this is needed to be a ve...
Wormhole asked 4/1, 2016 at 1:46
4
I have created a Maven archetype from an existing project. I have even installed the archetype in my local repository and used it to create a new project. Everything went perfect (incredible).
The...
Cupp asked 26/10, 2012 at 15:0
2
I just create my custom archetype project, and I run perfectly the "mvn install" command.
In my local repository, my archetype project was added correctly via m2/repository/com/mycomp/archetype-pr...
Overexert asked 21/11, 2012 at 18:36
3
Solved
We would like to create a partial archetype to add a custom-pom.xml as well as other resources into an existing project. The custom pom will then be used in the generated project via mvn -f custom-...
Tinnitus asked 2/1, 2013 at 12:19
2
Solved
Is there a way to have Artifactory automatically generate the archetype-catalog.xml file for a repository? At the moment, I maintain it by hand and publish it via HTTP PUT. While this is doable for...
Fishback asked 24/6, 2009 at 17:23
6
Solved
I'm looking for a guide on how to create new maven archetypes that involve using parameters to create directories and file names where the parameters are used as prefixes in the file names an...
Machutte asked 25/1, 2011 at 15:44
5
Solved
I've created a few archetypes for a project that work fine for now, but I'd like to be able to verify that the code generated from the archetypes continues to work in the future.
What I'd like is ...
Iceskate asked 2/11, 2010 at 22:24
4
Solved
I'm trying to use Maven 3 to create a project which uses Spring 3, Spring MVC, Hibernate 4, and JPA. However, when I execute:
mvn archetype:generate
Non of the archetypes listed include all of t...
Tomato asked 29/1, 2013 at 23:53
2
Solved
im trying to build sling cause I need it for a project at the university. Can anyone tell me, how I can solve this error?
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------...
Blakely asked 25/3, 2012 at 17:5
1
I'm looking for a way, to execute additional commands (e.g. a perl script) after running mvn archetype:generate on my custom archetype automatically.
Is this possible?
Context
I'm writing an arc...
Belew asked 20/5, 2013 at 20:41
3
Solved
I have a project with the following structure:
project (pom)
project-client (module, jar)
project-ejb (module, jar)
project-web (module, war)
project-ear (module, ear)
Inside the pom the modules ...
Chancre asked 22/12, 2011 at 20:11
1
Solved
I'm trying to copy the content in news items to other content type that I wrote. In my script I have the news item and the project item. The second, project, is a content type defined using Dexteri...
Herder asked 28/3, 2013 at 21:29
4
I'm creating Maven 2 archetypes for our project (Weld). I would like to be able to control which files are placed into the generated project based on the value of a property that is defined during ...
Homebody asked 17/12, 2009 at 5:47
0
We have a number of code generators that use Velocity to generate projects. The generation can be quite complicated:
reflection is used (to introspect 3rd party proxies that we have to interface ...
Bywaters asked 10/9, 2012 at 23:47
2
Solved
How can I rename a directory in a custom Maven archetype to be the contents of ${artifactId}?
I have a directory named service/App1 that I want to customize to be service/${artifactId}.
This dir...
Futtock asked 16/6, 2011 at 21:5
3
Solved
I would like to ovverride only the "view" of the classic "description field" of the Plone standard content type (Document, Folder, blabla), cause I need to "structure" the text of this field with s...
Wallas asked 22/10, 2011 at 9:31
1
I have create an archetype using archetype:create-from-project out of a multi module project.
The archetype-metadata.xml is like below, what I would want is that the "dir" can be modified when I r...
Flattop asked 16/7, 2011 at 2:13
3
In a recent question, toutpt said:
Dexterity needs Plone4.1 to play well
with archetypes content and have all
plone feature (history, diff, lock,
...)
I'm thinking of using Dexterity in a n...
Leander asked 27/5, 2011 at 11:31
3
Solved
I have created a custom Archetypes content type called "Résumé" and would like to enforce a limitation that lets a Member add only one item of this type inside a folder. Even better would be redire...
Denudate asked 29/4, 2011 at 13:47
1
Solved
I have Plone product that uses a custom folder type for containing a set of custom content objects. The folder type was created by subclassing BaseFolder and it has a schema with a couple of text f...
Rafi asked 25/10, 2008 at 23:41
1
© 2022 - 2024 — McMap. All rights reserved.