# Crear el arquetipo desde consola

**OTRA FORMA DESDE CONSOLA**

Entramos al directorio del proyecto.

cd /NetBeansProjects/adminfaces/myshowcase

y ejecutamos

```java
 mvn archetype:create-from-project

```

![](https://2578941663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc1Wg6ze2c8GK7mFBZX%2F-Lf11WJh-3fBta-B4uda%2F-Lf12OCY4OozO8nYaPTU%2Fshow.png?alt=media\&token=2f5f61f0-9629-4ae1-b1e5-2f0516301bec)

Ahora entre al directorio generado

![](https://2578941663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc1Wg6ze2c8GK7mFBZX%2F-Lf5Ptrmleqo-KHuUDP3%2F-Lf5PwgH8-qFAGNqPwxW%2Fsour.png?alt=media\&token=0d70a41b-41be-48fa-944c-e0789fa805a4)

```java
cd NetBeansProjects/adminfaces/myshowcase/target/generated-sources/archetype 
```

**Ejecute**

```
mvn install
```

![](https://2578941663-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lc1Wg6ze2c8GK7mFBZX%2F-Lf13AxYt-EZ8Q80sVVO%2F-Lf14KTur9qHgbyG6XgF%2Fmvninstall.png?alt=media\&token=43901c3b-0324-4a04-a998-10d4a4113aa7)

Observe la linea

```
 Using following parameters for creating project from Archetype: myshowcase-archetype:0.1

```
