Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-11 Thread Tamás Cservenák
hod.invoke (Method.java:566) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > > (Launcher.java:225) > > at org.codehaus.plexus.classworlds.launcher.

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-11 Thread David Karr
as you > state, and as shown in the examples, I get this when I try to "mvn install" > that: > -- > Unknown packaging: maven-archetype @ line 14, column 13 > -- > > I am using Maven v3.8.2. I tried testing with v3.9.2, and it gets the same > error. &g

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-09 Thread David Karr
n Sat, Oct 7, 2023 at 3:05 AM Herve Boutemy wrote: > it looks you're getting an issue finding your archetype jar in your local > repository, and the message is misleading: I'd love to improve it > > can you share the stacktrace of your failed execution (add -e to your > command line)

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-07 Thread Herve Boutemy
cktrace of your failed execution (add -e to your command > line)? > > You can in parallel look at simple archetypes source code, to see the happy > path, like https://maven.apache.org/archetypes/maven-archetype-simple/ and > its source > https://github.com/apache/maven-arche

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-07 Thread Herve Boutemy
it looks you're getting an issue finding your archetype jar in your local repository, and the message is misleading: I'd love to improve it can you share the stacktrace of your failed execution (add -e to your command line)? You can in parallel look at simple archetypes source code, to see

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-06 Thread David Karr
- > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate > > > (default-cli) on project standalone-pom: The defined artifact is not an > > > archetype -> [Help 1] > > > [ERROR] > > &

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-05 Thread Herve Boutemy
l debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > &

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-05 Thread Herve Boutemy
> [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > This doesn't tell me WHY it thinks this is not an a

Re: Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-05 Thread Tamás Cservenák
ding the related JIRA issue, I _think_ (assume) the problem is that user mixes "old" (2.4) archetype plugin to consume archetypes, while creates them with "new" (3.x) archetype plugin, that produces new ones (it only supports consumption of old ones). Hence, for "old" plug

Why does one of our archetypes work, and the other gets "The defined artifact is not an archetype"

2023-10-05 Thread David Karr
archetype. I find some confusing docs about creating and installing archetypes. I found this page: https://maven.apache.org/guides/mini/guide-creating-archetypes.html . This example is curious, as the pom.xml for the archetype references the "archetype-packaging" extension, but the text

RE: S3 repo for custom archetypes

2020-09-24 Thread Kevin James
I did, but I couldn't get it to work. In the end I gave up and went with AWS CodeArtifact. Cheers, Kev. -Original Message- From: Anthony Whitford Sent: 23 September 2020 18:56 To: Maven Users List Subject: Re: S3 repo for custom archetypes Did you try wagonProvider as outlined here

Re: S3 repo for custom archetypes

2020-09-23 Thread Anthony Whitford
Did you try wagonProvider as outlined here? http://maven.apache.org/guides/mini/guide-wagon-providers.html > On Sep 23, 2020, at 2:17 AM, Kevin James > wrote: > > Hi all, > I have a private repo in an S3 bucket. All my private dependencies work fine > with a repository specified in a

S3 repo for custom archetypes

2020-09-23 Thread Kevin James
Hi all, I have a private repo in an S3 bucket. All my private dependencies work fine with a repository specified in a project POM with a URL of s3://myprivatebucket/release, and specifying an S3 wagon: com.allogy.maven.wagon maven-s3-wagon 1.2.0

Publishing an archetype to maven central and adding it to the list of archetypes which is being displayed when running mvn archetype:generate

2016-01-02 Thread Manuri Amaya Perera
Hi, I have published two archetypes to maven central. But I can't see those archetypes in [1]. And when I run mvn archetype:generate without any parameters I get a list of available archetypes but my archetypes are not there. Anyway by providing groupID, artifactID and version of the archetype I

Parent references of maven archetypes

2015-12-29 Thread Manuri Amaya Perera
Hi, Say, there is an archetype which has a parent. In order to create a project from this archetype, do parent references need to be resolved? I need to upload an archetype to maven central and my problem is whether I have to upload the parents of that archetype also to maven central. I have

Re: Velocity - Archetypes Question

2015-12-05 Thread Hervé BOUTEMY
ocity User's Guide for more information." Regards, Hervé Le mardi 1 décembre 2015 22:44:36 Maria Beckham a écrit : > Hi there, > Are archetypes in maven by default based on velocity engine/templates > processing? If not, could someone pls provide us an sample example of maven > arc

Re: Velocity - Archetypes Question

2015-12-03 Thread Maria Beckham
Hi there, Are archetypes in maven by default based on velocity engine/templates processing? Thanks,Maria

Re: Velocity - Archetypes Question

2015-12-03 Thread Greg Trasuk
that are generated. Cheers, Greg Trasuk Web Age Solutions. http://www.webagesolutions.com > On Dec 3, 2015, at 8:44 PM, Maria Beckham <mariabeckha...@yahoo.com.INVALID> > wrote: > > > > Hi there, > Are archetypes in maven by default based on velocity engine/templates &

Velocity - Archetypes Question

2015-12-01 Thread Maria Beckham
Hi there, Are archetypes in maven by default based on velocity engine/templates processing? If not, could someone pls provide us an sample example of maven archetypes using velocity templates(like say for example generating java source code) Thanks,Maria

Re: Maven profiles vs Archetypes

2015-10-19 Thread Benson Margulies
Once you've run an archetype, you have a new project. And you're stuck with it, in the sense that you have to keep it maintained. An important question is this: what artifacts do you want to make as part of a release? If you want a portfolio of artifacts, each for one of your scenarios, then

Re: Maven profiles vs Archetypes

2015-10-19 Thread Ron Wheeler
Maven is a great tool but it is not designed to build installation packages. Would your problem be better solved using one or more installer generation projects (in Maven) that gather and package the final set of files that are to be used to deploy the app to the run-time environments? I use

Maven profiles vs Archetypes

2015-10-19 Thread Patrick Sansoucy
in the in house archetypes, thus avoiding bloated pom.xml files and scoping the profile use to environment configuration. Other possibilities would be to have completely seperated achetypes, but I think the templating can cover most of our usecases. I got redirected to this link: http

Re: Maven profiles vs Archetypes

2015-10-19 Thread Patrick Sansoucy
of using it to test the templating of the archetypes themselves, but not more. Since using profiles means that you have to execute the build itself to validate, while using the archetype, you test the structure and content of the created project, which I find easier. Patrick Sansoucy In theory

Re: Maven profiles vs Archetypes

2015-10-19 Thread Ron Wheeler
to support the initial branching for the teams. Never thought about the Invoker plugin that way. I had suggested of using it to test the templating of the archetypes themselves, but not more. Since using profiles means that you have to execute the build itself to validate, while using the archetype, you

Re: Maven profiles vs Archetypes

2015-10-19 Thread Patrick Sansoucy
58 AM, Benson Margulies <bimargul...@gmail.com> > wrote: > > > If each project picks a style and sticks to it, then archetypes are > > appropriate. > > > > On Mon, Oct 19, 2015 at 11:26 AM, Patrick Sansoucy > > <patrick.sanso...@gmail.com> wrote: &

Re: Maven profiles vs Archetypes

2015-10-19 Thread Ron Wheeler
If each project picks a style and sticks to it, then archetypes are appropriate. On Mon, Oct 19, 2015 at 11:26 AM, Patrick Sansoucy <patrick.sanso...@gmail.com> wrote: Re, Basically, the end result would be to support multiple teams with multiple web application servers and setup (shared

Re: Maven profiles vs Archetypes

2015-10-19 Thread Benson Margulies
If each project picks a style and sticks to it, then archetypes are appropriate. On Mon, Oct 19, 2015 at 11:26 AM, Patrick Sansoucy <patrick.sanso...@gmail.com> wrote: > Re, > > Basically, the end result would be to support multiple teams with multiple > web application servers

Re: Maven profiles vs Archetypes

2015-10-19 Thread Ben Podgursky
is that maven has no multi-inheritance / mixins so you have to be careful setting up inheritance trees. On Mon, Oct 19, 2015 at 9:58 AM, Benson Margulies <bimargul...@gmail.com> wrote: > If each project picks a style and sticks to it, then archetypes are > appropriate. > > On Mon, Oct 19

Re: Deploying archetypes

2014-03-06 Thread Jordan Zimmerman
Subject:  Re: Deploying archetypes befaore deploying, you'll have to package, which usually attaches the artifact for later automatic deployment by deploy plugin see http://maven.apache.org/archetype/maven-archetype-plugin/ and the maven-archetype packaging automating it http

Re: Deploying archetypes

2014-03-06 Thread Jordan Zimmerman
:46:37 AM To: Maven Users List users@maven.apache.org Subject:  Re: Deploying archetypes The archetype is packaging already. The only problem is the deploy. Maintaining the generated archetype by hand is out of the question and defeats the purpose of the archetype. This is a sample/base

Deploying archetypes

2014-03-05 Thread Jordan Zimmerman
Hello, I’d like to configure my project to auto-deploy my generated archetype as part of the deploy execution. Is there a way to do this? So, to create the archetype, I have this:             plugin                 artifactIdmaven-archetype-plugin/artifactId                 configuration      

Re: Deploying archetypes

2014-03-05 Thread Hervé BOUTEMY
befaore deploying, you'll have to package, which usually attaches the artifact for later automatic deployment by deploy plugin see http://maven.apache.org/archetype/maven-archetype-plugin/ and the maven-archetype packaging automating it http://maven.apache.org/archetype/archetype-packaging/ but

Problems with maven and appengine archetypes

2013-12-04 Thread marioclever
Hello, I'm trying to use maven with app engine and guestbook archetypes and skeleton , as shown in the following link: https://developers.google.com/appengine/docs/java/tools/maven In Building the Guestbook guestbook using Demo - archetype all right, but when I modify any section of classes

Re: Problems with maven and appengine archetypes

2013-12-04 Thread Wayne Fay
testDoGet ( com.marioapp.GuestbookServletTest ) Time elapsed : 0.204 sec FAILURE ! junit.framework.ComparisonFailure : expected : Hello , [ ] test But was: Hello , [ MARIO ] test This seems to just be a junit/testng failure. Your test is failing, fix it and try again. [ INFO] Nothing to

Re: Testing with archetype:integration-test for archetypes producing empty folders

2012-09-07 Thread jerem
to test that ? 2012/9/6 jerem lt;jeremie.bousquet@gt;: Hi, I'm using archetype:integration-test (version 2.2) to perform some integration tests on some archetypes I created and used. These archetypes create some empty folders under the source tree of generated projects. I've put under /src

Testing with archetype:integration-test for archetypes producing empty folders

2012-09-06 Thread jerem
Hi, I'm using archetype:integration-test (version 2.2) to perform some integration tests on some archetypes I created and used. These archetypes create some empty folders under the source tree of generated projects. I've put under /src/test/resources/projects/mytest/reference the reference

Re: Testing with archetype:integration-test for archetypes producing empty folders

2012-09-06 Thread Olivier Lamy
archetypes I created and used. These archetypes create some empty folders under the source tree of generated projects. I've put under /src/test/resources/projects/mytest/reference the reference that should be compared with what is generated from the archetype. The problem is that when

Re: Archetypes

2012-03-16 Thread Troels Selch Sørensen
Thank you. We will look into this. (Sorry for the late reply) On Wed, Mar 7, 2012 at 9:26 PM, Robert Scholte apa...@sourcegrounds.comwrote: I consider archetypes as a service from Maven to get started a bit faster. From what I've seen, JBoss Forge[1] looks like a better alternative

Archetypes

2012-03-07 Thread Troels Selch Sørensen
Hi. We have made some archetypes that we use internally, but they contain much of the same code. We would like to avoid the risk of updating one archetype, but forget the others when making changes in the code they have in common. We are using Springsource Tool Suite and Maven to create bundles

Re: Archetypes

2012-03-07 Thread Robert Scholte
I consider archetypes as a service from Maven to get started a bit faster. From what I've seen, JBoss Forge[1] looks like a better alternative for. It claims to support incremental project enhancement. -Robert [1] https://docs.jboss.org/author/display/FORGE/Home Op Wed, 07 Mar 2012 12:15:08

Maven command to get Integrated directory structure of two or more existing archetypes

2012-02-26 Thread SanalkumaranGP
module from both the archetypes (by giving the cordinate1 of archetype1 ,cordinate2 of archetype2 as arguments with -D option ) and the newly created module should have an integrated/combined directory structure of both archetypes i tried with the -D options but always take the last -D argument

Re: Maven command to get Integrated directory structure of two or more existing archetypes

2012-02-26 Thread Ansgar Konermann
Look into so-called partial archetypes. Am 27.02.2012 01:57 schrieb SanalkumaranGP sana...@gmail.com: Hi Kindly give a solution or maven command for the below problem. I have created an archetype with a directory structure having some basic java application files .And another archetype

Re: Maven 2 Archetypes : Folder name with velocity macro using homemade property

2011-12-05 Thread Julien PLAQUEVENT
Hi, Does anybody have a clue please ? Best Regards, Julien Plaquevent plaquev...@gmail.com Thales Critical Information Systems 2011/11/30 Julien PLAQUEVENT plaquev...@gmail.com Hi, I'm currently developping a Maven 2 multimodule archetype (Maven Archetype Plugin 2.2) under Linux Debian

RE: Maven 2 Archetypes : Folder name with velocity macro using homemade property

2011-12-05 Thread Robert Scholte
I'd expect ${eventName.toLowerCase()} to work, according velocityDocs. The other one sounds like a bug. -Robert Date: Mon, 5 Dec 2011 16:25:55 +0100 Subject: Re: Maven 2 Archetypes : Folder name with velocity macro using homemade property From

Maven 2 Archetypes : Folder name with velocity macro using homemade property

2011-11-29 Thread Julien PLAQUEVENT
Hi, I'm currently developping a Maven 2 multimodule archetype (Maven Archetype Plugin 2.2) under Linux Debian Squeeze. I have two issues (text in red in this message) I'd appreciate some help solving. I'd like to use a homemade property (set up as a required property from archetype-metadata.xml)

[ANN] nbm-maven-plugin 3.6, various Mojo Archetypes Released

2011-08-22 Thread Jesse Glick
The Mojo team is pleased to announce the release of the 3.6 version of the NBM Maven plugin, and new versions of a number of archetypes. nbm-maven-plugin http://mojo.codehaus.org/nbm-maven-plugin/ is used to create modules and applications based on the NetBeans Platform. Use

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
repo? If i can how can i call it from the nexus repo? -- View this message in context: http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4674573p4682012.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
it in nexus repo? If i can how can i call it from the nexus repo? Regards -Goutham -- View this message in context: http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4674573p4682017.html Sent from the Maven - Users mailing list archive

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread Wayne Fay
i call a plugin(maven module with a mojo) using mvn groupid:artifactid:version:goal can i have it in nexus repo? If i can how can i call it from the nexus repo? Yes, just deploy it like any other artifact to Nexus. The packaging is maven-plugin. Wayne

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-09 Thread goutham
-- If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4674573p4682403.html To unsubscribe from Need help in uploading maven archetypes to nexus repo

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-08 Thread Anders Hammar
on project . How does it help me? Any help will be thank full -Goutham -- View this message in context: http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4673441p4673441.html Sent from the Maven - Users mailing list archive

Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-07 Thread goutham
-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4674573p4674573.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands

Re: Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-07 Thread Hervé BOUTEMY
archetypes are like any other artifacts: the process to build then deploy to a repository should be the same as anything else. The facts that archetype use maven-archetype packaging doesn't change anything here. As such, using the release plugin can help you release your archetypes like any

Need help in uploading maven archetypes to nexus repo and in maven release

2011-08-07 Thread goutham
-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4673441p4673441.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e

[ANN] Various mojo-archetypes released

2011-04-12 Thread Jesse Glick
The Mojo team is pleased to announce new releases of various archetypes in the group org.codehaus.mojo.archetypes related to NetBeans, OSGi, and Java EE: netbeans-platform-app-archetype 1.9 nbm-archetype 1.8 nbm-suite-root 1.5 osgi-archetype 1.3 webapp-j2ee13 1.1 webapp-j2ee14 1.2 webapp-jee5

Releases, archetypes, and parent POMs

2011-04-01 Thread Brinker, Don-NONEMP
Hi all, I'm running into a bit of an odd issue here with using the release plugin. I have a multi-module project I'm trying to release that has two submodules. One defines a parent subproject with a header like so: project ... ... groupIdmy.group/groupId

Re: Releases, archetypes, and parent POMs

2011-04-01 Thread Anders Hammar
Have you tried specifying ${project.version}? /Anders On Fri, Apr 1, 2011 at 03:25, Brinker, Don-NONEMP dbrin...@collegeboard.org wrote: Hi all, I'm running into a bit of an odd issue here with using the release plugin. I have a multi-module project I'm trying to release that has two

RE: Releases, archetypes, and parent POMs

2011-04-01 Thread Brinker, Don-NONEMP
: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Friday, April 01, 2011 4:41 AM To: Maven Users List Subject: Re: Releases, archetypes, and parent POMs Have you tried specifying ${project.version}? /Anders On Fri, Apr 1, 2011 at 03:25, Brinker, Don

Sharing data between archetypes

2011-03-14 Thread Asmann, Roland
Hi all, I am currently creating several archetypes and was wondering what the best way is to share data. Some of my archetypes are up to 90% the same and I don't want to copy around all the files they share. Wouldn't be a problem the first time, but of course all updates should then be copied

Re: two questions about archetypes

2011-01-30 Thread Anders Hammar
have two questions about creating a Maven archetype: 1. How do I get my Maven archetype project to show up in the interactive list of archetypes that appear when running mvn archetype:generate? I've installed my project into my local repository, but when I run that command, I only see

two questions about archetypes

2011-01-29 Thread Erik Price
I have two questions about creating a Maven archetype: 1. How do I get my Maven archetype project to show up in the interactive list of archetypes that appear when running mvn archetype:generate? I've installed my project into my local repository, but when I run that command, I only see

Creating archetypes: archetype.xml or archetype-metadata.xml or both?

2010-12-13 Thread pt
I am confused by some of the wording in the guide to creating archetypes (http://maven.apache.org/guides/mini/guide-creating-archetypes.html): cut here --- An archetype is made up of: * an archetype descriptor (archetype.xml in directory: src/main/resources/META-INF/maven/). ... Note

AW: How to set some variables in archetypes?

2010-11-08 Thread Sonja Stocker
in archetypes? I think my problem is that I have one hierarchy more than a multi module project usually has. The artifactId in the upper level (customer) will be replaced with the id I enter during the generation. But I also would like to replace the name of the artifactId in the second level

How to set some variables in archetypes?

2010-11-05 Thread Sonja Stocker
Hi all, I´m developing an archetype for out projects. Their general structure is Customer -- Project -- Submodule_1, ..., Submodule_n. For each project the customer and project vary. During the archetype generating I´m able to set the name of the top directory, customer. But after this I have

Re: How to set some variables in archetypes?

2010-11-05 Thread Antonio Petrelli
2010/11/5 Sonja Stocker sonja.stoc...@gmx.de: I´m developing an archetype for out projects. Their general structure is Customer -- Project -- Submodule_1, ..., Submodule_n. For each project the customer and project vary. During the archetype generating I´m able to set the name of the top

Re: How to set some variables in archetypes?

2010-11-05 Thread lukewpatterson
with the value of the archetype-gathered property? Or are you fighting a problem with folder names matching up with module names? -- View this message in context: http://maven.40175.n5.nabble.com/How-to-set-some-variables-in-archetypes-tp3251703p3251980.html Sent from the Maven - Users mailing list archive

AW: How to set some variables in archetypes?

2010-11-05 Thread Sonja Stocker
the replacing? The attribute filtered=true in the archetype descriptor is set. -Ursprüngliche Nachricht- Von: lukewpatterson [mailto:lukewpatter...@gmail.com] Gesendet: Freitag, 5. November 2010 16:20 An: users@maven.apache.org Betreff: Re: How to set some variables in archetypes? Sonja

[ANN] Java EE 6 archetypes 1.2 released

2010-09-27 Thread Jesse Glick
New versions of the Java EE 6-related archetypes (WAR, EJB-JAR, EAR) were released. The major change from the previous versions is a different handling of the endorsed classpath override - the new POM strategy is simpler and should be more portable, and ensures that the endorsed API JAR

Multi Module Archetypes

2010-06-02 Thread chris
Hi, Is it possible to create an Archetype which will create a full multi module project rather than creating each module individually? I would like to generate the following in one go to reduce complexity. --parent warproject --src --pom.xml ejbproject --src --pom.xml

Re: Multi Module Archetypes

2010-06-02 Thread Shan Syed
I think Apache Cocoon and MyFaces have archetypes that do this, you could reference their code otherwise, try executing archetype:create-from-project at the root and see what happens? On Wed, Jun 2, 2010 at 11:47 AM, ch...@chrismiles.org wrote: Hi, Is it possible to create an Archetype which

Multi Module Archetypes

2010-06-02 Thread chris
Hi, Is it possible to create an Archetype which will create a full multi module project rather than creating each module individually? I would like to generate the following in one go to reduce complexity. --parent warproject --src --pom.xml ejbproject --src --pom.xml

usage of preserveCData with archetypes

2010-03-12 Thread Bernard Lupin
, Bernard -- View this message in context: http://old.nabble.com/usage-of-preserveCData-with-archetypes-tp27874536p27874536.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Problem while creating archetypes and encodings

2010-03-05 Thread Javier Díaz
Hello: I'm trying to create and archetype from a project using a default encoding different from UTF-8. As states in the plugin page the option defaultEncoding could be used for that purpose but after configuring my pom and executing the command, the file archetype-metada.xml still uses

Re: Way to customize file names in archetypes?

2010-02-27 Thread stug23
commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/Way-to-customize-file-names-in-archetypes--tp27721206p27729518.html Sent from the Maven - Users mailing list archive at Nabble.com

Way to customize file names in archetypes?

2010-02-26 Thread Kent Närling
Is there any way to customize the names of the files generated by an archetype? eg I would like to generate a shell file that is installed by the project and naturally this shell file should be named according to one of the archetype properties...

Re: unit testing archetypes

2010-02-12 Thread lukewpatterson
${project.build.directory}/it/repo/localRepositoryPath streamLogstrue/streamLogs /configuration /plugin -- View this message in context: http://old.nabble.com/unit-testing-archetypes-tp27544824p27564451.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: unit testing archetypes

2010-02-12 Thread Stephen Connolly
/localRepositoryPath    streamLogstrue/streamLogs  /configuration /plugin -- View this message in context: http://old.nabble.com/unit-testing-archetypes-tp27544824p27564451.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: unit testing archetypes

2010-02-12 Thread Max Spring
streamLogstrue/streamLogs /configuration /plugin -- View this message in context: http://old.nabble.com/unit-testing-archetypes-tp27544824p27564451.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e

Re: unit testing archetypes

2010-02-12 Thread lukewpatterson
directory != parent POM. This is a capability/configurability problem with the archetype plugin, not with the testing methods, right? -- View this message in context: http://old.nabble.com/unit-testing-archetypes-tp27544824p27571519.html Sent from the Maven - Users mailing list archive

parent pom reference generation [Was: Re: unit testing archetypes]

2010-02-12 Thread Max Spring
On 2/12/2010 5:20 PM, lukewpatterson wrote: ... Problem 2: Max Spring wrote: We have a parent POM design where the multi-module POM in the parent directory != parent POM. This is a capability/configurability problem with the archetype plugin, not with the testing methods, right?

unit testing archetypes

2010-02-11 Thread Max Spring
What would be a good approach to test an archetype project? I'd like to have the test attached as a unit test to the archetype project itself. A minimal test would be to instantiate the archetype and to build the resulting project. So far I have been playing with the exec-maven-plugin to invoke

Re: unit testing archetypes

2010-02-11 Thread Stephen Connolly
maven invoker plugin On 10 February 2010 23:37, Max Spring mspr...@cisco.com wrote: What would be a good approach to test an archetype project? I'd like to have the test attached as a unit test to the archetype project itself. A minimal test would be to instantiate the archetype and to build

Re: unit testing archetypes

2010-02-11 Thread Luke Patterson
On Wed, Feb 10, 2010 at 5:37 PM, Max Spring mspr...@cisco.com wrote: What would be a good approach to test an archetype project? ... A minimal test would be to instantiate the archetype and to build the resulting project. Here's some cut-and-paste that I'm using: plugin

Re: unit testing archetypes

2010-02-11 Thread Kalle Korhonen
Good stuff Luke, thanks, I've been pondering what the best approach is for this myself. Kalle On Thu, Feb 11, 2010 at 6:13 AM, Luke Patterson lukewpatter...@gmail.com wrote: On Wed, Feb 10, 2010 at 5:37 PM, Max Spring mspr...@cisco.com wrote: What would be a good approach to test an archetype

Re: unit testing archetypes

2010-02-11 Thread Max Spring
This is exactly what I was looking for. Great! One missing piece: If the instantiated archetype fails to build, I want the integration test to fail. So far a failure result is not getting propagated to the outer Maven execution. I assume this would need to be done as a postBuildHookScript?

Re: unit testing archetypes

2010-02-11 Thread Stephen Connolly
in invoker.properties you will need to specify multiple executions, eg invoker.goals.1=archetype:generate invoker.goals.2=verify the first one generates your project, the second builds it Sent from my [rhymes with tryPod] ;-) On 12 Feb 2010, at 01:43, Max Spring m2spr...@springdot.org wrote:

Re: Custom Archetypes: Creating empty directories

2009-11-20 Thread Matthew Runo
http://jira.codehaus.org/browse/ARCHETYPE-57 gives an example of how to do this. Thanks for your time! Matthew Runo Software Engineer, Zappos.com mr...@zappos.com - 702-943-7833 On Nov 19, 2009, at 11:37 PM, Richard Hauswald wrote: Hello list, I'm trying to create a custom archetype. All is

Custom Archetypes: Creating empty directories

2009-11-19 Thread Richard Hauswald
Hello list, I'm trying to create a custom archetype. All is working fine except that I can't create empty directories. Is this impossible or do miss something? Thanks, Richard -- Richard Hauswald Blog: http://tnfstacc.blogspot.com/ LinkedIn: http://www.linkedin.com/in/richardhauswald Xing:

Getting error The defined artifact is not an archetype with AppFuse archetypes

2009-11-18 Thread Ellecer Valencia
Hi, I'm trying to use mvn archetype:generate to create some projects and noticed that the AppFuse archetypes are generating errors like: Downloading: http://repo1.maven.org/maven2/org/appfuse/archetypes/appfuse-core/2.1.0-M1/appfuse-core-2.1.0-M1.jar [INFO

Re: Getting error The defined artifact is not an archetype with AppFuse archetypes

2009-11-18 Thread Wayne Fay
Is anyone else getting these errors? I've tested it with archetypes 1-9 (all the AppFuse ones) and they're returning the same error You should probably ask Matt Raible what's going on with these archetypes... I'm using maven 2.0.10 - have these archetypes changed to now require higher

Re: Getting error The defined artifact is not an archetype with AppFuse archetypes

2009-11-18 Thread Ellecer Valencia
Matt has emailed back about this. Would be best to do it from command-line, using the page he mentions to create the entire command. -- Forwarded message -- From: Matt Raible Date: Thu, Nov 19, 2009 at 2:44 PM Subject: Re: CP: Problem with Appfuse Maven Archetypes In 2.1.0-M1

Maven archetypes and Velocity

2009-11-09 Thread Gajo Csaba
Hello, I have a very simple question regarding archetypes. I've created my own basic archetype, and in archetype-resources/src/main/java/App.java I wrote the following: package $xxx Installed the archetype, created a new project with it and also added the -Dxxx=abc parameter

Re: Maven archetypes and Velocity

2009-11-09 Thread Gajo Csaba
you need to create an archetype.properties file: http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html Thanks, Adam On Mon, 2009-11-09 at 14:21 +0100, Gajo Csaba wrote: Hello, I have a very simple question regarding archetypes. I've created my own

Struts 2 archetypes

2009-11-06 Thread Irc Worm
Hi, Looks like the Struts2 snapshot archetypes are removed from the internal catalog: http://jira.codehaus.org/browse/ARCHETYPE-199 Is there a way I can add them to my internal archetypes to be able to use them in the archetype:generate interactive mode? Thanks in advance

RE: M2 : cvsignore and archetypes

2009-10-05 Thread PAROLINI Antonio
Interresting. Thanks for sharing this. -antonio -Message d'origine- De : Roland Asmann [mailto:roland.asm...@cfc.at] Envoyé : vendredi, 2. octobre 2009 13:54 À : PAROLINI Antonio; Maven Users List Objet : Re: M2 : cvsignore and archetypes OK, so I checked. We are indeed using our own

M2 : cvsignore and archetypes

2009-10-02 Thread PAROLINI Antonio
Hi, We are stuck on using archetype on a complex multiproject template we would like to give to our developpers. We need to automatize the artefact publication for obvious reasons, but , it's not possible to add .cvsignore files on archetypes using the archetype:create-from-project goal

Re: M2 : cvsignore and archetypes

2009-10-02 Thread Roland Asmann
to our developpers. We need to automatize the artefact publication for obvious reasons, but , it's not possible to add .cvsignore files on archetypes using the archetype:create-from-project goal. It is important for those files to be present prior to the developper first projet commit, otherwise

Re: M2 : cvsignore and archetypes

2009-10-02 Thread Roland Asmann
publication for obvious reasons, but , it's not possible to add .cvsignore files on archetypes using the archetype:create-from-project goal. It is important for those files to be present prior to the developper first projet commit, otherwise it's a pain to correct afteward. Our workaround

Any thoughts about best practices for managing archetypes?

2009-07-06 Thread Trent Rosenbaum
Hi there, I have been using the 'maven-archetype-plugin' and the 'create-from-project' more recently and I wanted to find what best practices others use when trying to maintain the development of thir own or company archetypes. So picture this scene, I start my brand new maven project based

creating new archetypes

2009-05-27 Thread vpalle
-resources/pom.xml [line 15,column 18] : ${project.build.directory} is not a valid reference. , I'm I missing something, or do I not have access to the standard maven2 properties when defining my own archetypes!? -- View this message in context: http://www.nabble.com/creating-new-archetypes

  1   2   3   4   >