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

Publish schemas to a repository #3

Open
cmarchand opened this issue Nov 9, 2019 · 3 comments
Open

Publish schemas to a repository #3

cmarchand opened this issue Nov 9, 2019 · 3 comments
Assignees

Comments

@cmarchand
Copy link

@cmarchand cmarchand commented Nov 9, 2019

If all schemas were published to a central repository, maven central for example, it'll be a help for people who try to develop editors, or for implementors.

@ndw ndw transferred this issue from xproc/3.0-specification Nov 15, 2019
@ndw

This comment has been minimized.

Copy link
Contributor

@ndw ndw commented Mar 22, 2020

Can you usefully publish just data to Maven? Can you give me an example of a package that does?

@cmarchand

This comment has been minimized.

Copy link
Author

@cmarchand cmarchand commented Mar 22, 2020

No. Well, at least, you publish artifacts ; and artifacts may be other file types than jar files. For examples, most of open-source projects publish sources and javadoc to maven. It's packaged as jar, but does not contains any .class files.

I'm not sure the way you want to do it, but when I have to publish various things to maven, I use build-helper:attach-artifact to attach additional artifacts to publish.

If you look at maven artifact definition you see standard groupId, artifactId, version, scope to define the use, and more important, type and classifier.

You may add as many artifact as you want, and (artifacts, pom, checksum) is the component.

You may also have a look at deploy:deploy-file who allows you to deploy one or many files to a remote repository, outside of a maven project. Better, it's able to generate the pom.xml file if you do not provide one. It may be useful in this case.

@cmarchand

This comment has been minimized.

Copy link
Author

@cmarchand cmarchand commented Mar 22, 2020

Re-reading your question and my response, deploy:deploy-jar should do the trick...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.