Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[MINSTALL-170] more control over what artifacts to be installed.

Abierto
#169 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
java
Área
build-system

Línea de trabajo

No se nombran archivos fuente ni pruebas. Empieza por rastrear cómo el install plugin selecciona y nombra los artefactos, y luego compara ese comportamiento con el flujo de trabajo descrito de los assembly y exec plugin; el trabajo se consideraría terminado si se especifica claramente una forma de instalar el tar.gz renombrado junto al jar.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement priority:major

Ernst Reissner opened MINSTALL-170 and commented

Maybe it is the wrong way to file a feature request but maybe this is the best way to come into contact with the development team.

My problem is that I want to deploy both a jar and a tar.gz file.
The latter I create with an assembly plugin.
Unfortunately, the assembly plugin forces the name artifact-version-assId.tar.gz
and offers no way to have empty assId.
The tar.gz is used in another software which strictly speaking requires artifact-version.tar.gz.

So I had the simple idea to just move artifact-version-assId.tar.gz to artifact-version.tar.gz
using exec plugin in a phase before install.

Well of course i want the install plugin to install now artifact-version.tar.gz instead of artifact-version-assId.tar.gz.
But the install plugin still wants to use the original artifact.

My somehow academical question would be how install plugin determines the artifact to be installed and to modify that info appropriately.
It seems to have nothing to do with the packaging as the original tar.gz is installed also.

If I need to define another kind of packaging.... installing other kinds of artifacts,
may I reuse the install plugin????

Help very much appreciated.


Affects: 3.0.0-M1

Lenguaje dominante
Java
Estrellas
42
Forks
44
Merge medio
1 d 10 h
PR fusionados (30 d)
15

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/maven-install-plugin

Todos los issues de apache/maven-install-plugin

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.