aws / aws/jsii

jsii-pacmak can not pull dependencies from code artifact or any other internal repository

Open
#3,984 4 comments 0 reactions 0 assignees View on GitHub
feature-request p2
Dominant language
TypeScript
Stars
2.9k
Forks
267
Avg merge
1d 25m
Merged PRs (30d)
14

Description

### Describe the feature

If the project has dependencies on a non open source library, e.g a library built and hosted via code artifact there is no way to configure jsii-pacmak to pull dependencies from code artifact or any other internal dependencies.

Note: This is only an issue for Java based projects.

### Use Case

If an organization is building internal JSII projects that depend on another internal JSII project hosted in code artifact, there is no way to pull those dependencies when running
`rpm run package `
command.

### Proposed Solution

There should be a way to merge settings.xml available locally with user.xml generated by JSII.

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.66.1

### Environment details (OS name and version, etc.)

MacOS

Contributor guide

Open the contributing guide

Research direction

Start by locating the jsii-pacmak Java packaging flow and the code that generates user.xml; then compare how a local settings.xml is expected to supply internal repository credentials and dependencies. Done means rpm run package can use the local settings.xml together with the generated user.xml for Java projects, including dependencies hosted in CodeArtifact or another internal repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.