我可以构建Maven原型或示例项目吗?

时间:2021-09-11 23:14:15

Can I build a Maven archetypes or Sample Project?... What I am looking for is that I setup project templates for other developers in my firm to you and I would like to know if somehow I can setup a template for a project and put it in my repo for other develpers to get?

我可以构建Maven原型或示例项目吗?...我正在寻找的是我为我公司的其他开发人员设置项目模板给我,我想知道我是否可以为某个项目设置模板并放置它在我的回购中为其他develpers得到?

is this something that I should be doing??

这是我应该做的事吗?

2 个解决方案

#1


0  

Why wouldn't you be able to? You can design an archetype relatively simply (I've never done it though!). You could start here:

你为什么不能这样做?你可以相对简单地设计一个原型(我从来没有这样做过!)。你可以从这里开始:

http://maven.apache.org/guides/mini/guide-creating-archetypes.html

#2


0  

Maybe it's more simple to create archetype from an existing project, see documentation:

也许从现有项目创建原型更简单,请参阅文档:

That will generate an archetype skeleton from your project then you will be able to improve it.

这将从您的项目生成原型骨架,然后您将能够改进它。

HTH

Olivier

#1


0  

Why wouldn't you be able to? You can design an archetype relatively simply (I've never done it though!). You could start here:

你为什么不能这样做?你可以相对简单地设计一个原型(我从来没有这样做过!)。你可以从这里开始:

http://maven.apache.org/guides/mini/guide-creating-archetypes.html

#2


0  

Maybe it's more simple to create archetype from an existing project, see documentation:

也许从现有项目创建原型更简单,请参阅文档:

That will generate an archetype skeleton from your project then you will be able to improve it.

这将从您的项目生成原型骨架,然后您将能够改进它。

HTH

Olivier