apache / apache/maven-plugin-tools
[MPLUGIN-350] Extend @Parameter with input/output option
- Ngôn ngữ chính
- Java
- Star
- 64
- Fork
- 71
- Merge trung bình
- 12 giờ 24 phút
- Pull request đã merge (30 ngày)
- 32
Mô tả
**[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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu bằng cách xác định annotation @Parameter và phần tạo hoặc biểu diễn plugin.xml được mô tả trong issue. Xác định cách biểu diễn các tham số đầu vào và đầu ra trong khi vẫn giữ nguyên định dạng tham số hiện có, bao gồm cách các tham số đầu vào tham chiếu đến các đầu ra bị ảnh hưởng. Công việc được hoàn tất khi metadata có thể biểu diễn các mối quan hệ này và vẫn tương thích ngược.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system, devtools
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100