apache / apache/maven-plugin-tools
[MPLUGIN-350] Extend @Parameter with input/output option
- Linguagem predominante
- Java
- Estrelas
- 64
- Forks
- 71
- Merge médio
- 12h 24min
- PRs com merge (30d)
- 32
Descrição
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** opened **[MPLUGIN-350](https://issues.apache.org/jira/browse/MPLUGIN-350?redirect=false)** and commented
By knowing if parameters are input or output parameters, it is possible to improve our builds. It will be possible to create DAGs and chain the execution blocks much smarter.
The Maven Extension created by Gradle heavily relies on this kind of information.
It is probably easier to use new annotations instead of adding a (required) status-field to `@Parameter`
Looking at the `plugin.xml` it looks quite easy to solve this and stay backwards compatible: the file looks now like:
```xml
...
```
With plexus-magic the following should still work:
```xml
...
...
```
Input parameters should refer to the outputParameter it effects. E.g. if a inputParameter has only effect on the logger and it is changed, it will not effect the resulting artifact, which could improve faster incremental builds.
---
0 votes, 6 watchers
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece localizando a anotação @Parameter e a geração ou representação de plugin.xml descrita na issue. Determine como os parâmetros de entrada e saída devem ser representados, preservando o formato de parâmetros existente, incluindo como os parâmetros de entrada fazem referência às saídas afetadas. Considera-se concluído quando os metadados puderem expressar essas relações e permanecerem compatíveis com versões anteriores.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- build-system, devtools
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 25/100