Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven central sync should only push relevant artifacts #1149

Closed
jvalkeal opened this issue Mar 15, 2024 · 0 comments
Closed

Maven central sync should only push relevant artifacts #1149

jvalkeal opened this issue Mar 15, 2024 · 0 comments
Milestone

Comments

@jvalkeal
Copy link
Contributor

Now that we're signing files which are deployed into artifactory, workflow which deploy those into central should not take docs zip(and it's related files).

Looks like artifactory aql below does a trick:

{
  "files": [
    {
      "aql": {
        "items.find": {
          "$and": [
            {
              "@build.name": "${buildname}",
              "@build.number": "${buildnumber}"
            },
            {
              "path": { "$match": "org/springframework/statemachine/spring-statemachine-*" }
            }
          ]
        }
      },
      "target": "nexus/"
    }
  ]
}

This takes all from build name/number and rely on a fact that root level docs artifact don't start with spring-statemachine- in a path.

@jvalkeal jvalkeal added this to the 4.0.1 milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant