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.
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
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)
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
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
-
> > > [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]
> > &
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
> >
> &
> [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
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
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
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
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
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
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
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
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
Hi there,
Are archetypes in maven by default based on velocity engine/templates
processing?
Thanks,Maria
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
&
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
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
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
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
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
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
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:
&
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
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
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
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
: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
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.
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
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
--
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
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
-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
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
-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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
,
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
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
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
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...
${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
/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
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
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
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?
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
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
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
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
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?
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:
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
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:
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
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
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
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
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
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
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
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
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
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
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
-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 - 100 of 333 matches
Mail list logo