Releases: whelk-io/maven-settings-xml-action
Releases · whelk-io/maven-settings-xml-action
Node and dependency upgrade
What's Changed
- Bump @xmldom/xmldom from 0.8.3 to 0.8.4 by @dependabot in #156
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #160
- Upgrade node, elslint, and mocha to latest version by @natete in #163
Full Changelog: v21...v22
Node and dependency upgrade
- Upgrade action to use Node 16
- Bump dependencies to latest versions
Support for proxies
- Add support for proxies
- Upgrade actions/setup-java from 1.4.3 to 2.2.0
Add option for custom filepath for settings.xml
Default repository and activeProfile configuration
Maven Central is now an optional repository. Override this default configuration at repository
.
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v17
with:
repositories: |
[
{
"id": "some-repository",
"name": "some-repository-name",
"url": "http://some.repository.url",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "false"
}
}
]
When repository
is not configured, the following default is applied to settings.xml
:
<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<name>Maven Central</name>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories/>
</profile>
</profiles>
github
is now an optional activeProfile
. Override this default activeProfile
at active_profiles
.
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v17
with:
active_profiles: |
[
"some-profile"
]
When active_profiles
is not configured, the following default is applied to settings.xml
:
<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>
Updated README.md
with local setup and contributing guidelines.
Full server support
- Added support for
server.configuration
- Added support for remaining
server
elements:passphrase
,privateKey
,filePermissions
,directoryPermissions
- Fixed transitive dependency vulnerability identified by Dependabot
Remove transitive dependencies with known issues
Cleared new vulnerabilities identified by Dependabot
Add support for plugin groups
Now supporting pluginGroups
Configuration
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v14
with:
plugin_groups: '[ "some.plugin.group.id", "some.other.plugin.group.id" ]'
Output
<settings>
...
<pluginGroups>
<pluginGroup>org.eclipse.jetty</pluginGroup>
</pluginGroups>
...
</settings>
Update dependencies to resolve vulnerabilities
Merge pull request #68 from whelk-io/develop Develop
Update action name and description
v12 Update README.md