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 all dtd schemas to sourceforge site automatically #4341

Closed
romani opened this Issue May 7, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@romani
Member

romani commented May 7, 2017

base on results #1571

we need find a way to copy dtd files to target/site folder during mvn site -Pno-validations command.
Right now dtd files were copied by me manually ones before #1571 is merged, so we already have kind of outdated dtd files of our static website.

@romani romani added the approved label May 7, 2017

@MEZk

This comment has been minimized.

Show comment
Hide comment
@MEZk

MEZk May 13, 2017

Contributor

@romani
Judging by the Maven Site Plugin documentation it is not possible to download additional content to SourceForge by the plugin. One of the possible solutions can be Exec Maven Plugin. The plugin can execute a shell command or script which will upload dtd schemes to SourceForge. The script invocation can be assigned to site phase.

Contributor

MEZk commented May 13, 2017

@romani
Judging by the Maven Site Plugin documentation it is not possible to download additional content to SourceForge by the plugin. One of the possible solutions can be Exec Maven Plugin. The plugin can execute a shell command or script which will upload dtd schemes to SourceForge. The script invocation can be assigned to site phase.

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani May 13, 2017

Member

@MEZk , you missed a point.
whole site is prepared in target/site. All we have to do is to put our files to target/site/dtds folder on local, all other will be done by maven site during deploy phase.

Member

romani commented May 13, 2017

@MEZk , you missed a point.
whole site is prepared in target/site. All we have to do is to put our files to target/site/dtds folder on local, all other will be done by maven site during deploy phase.

@MEZk

This comment has been minimized.

Show comment
Hide comment
@MEZk

MEZk May 16, 2017

Contributor

As I see it, dtds schemes should stay in resources folder. As far as I know, mvn-site plugin cannot move external files to site folder. How can we move dtds from resource folder to site? We cannot just copy-paste them and support two copies which must be identical. One of the possible solutions is to move them with maven-exec-plugin.

Contributor

MEZk commented May 16, 2017

As I see it, dtds schemes should stay in resources folder. As far as I know, mvn-site plugin cannot move external files to site folder. How can we move dtds from resource folder to site? We cannot just copy-paste them and support two copies which must be identical. One of the possible solutions is to move them with maven-exec-plugin.

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani May 16, 2017

Member

I do not know solution, any proposals are welcome.

Member

romani commented May 16, 2017

I do not know solution, any proposals are welcome.

@MEZk

This comment has been minimized.

Show comment
Hide comment
@MEZk
Contributor

MEZk commented May 17, 2017

MEZk added a commit to MEZk/checkstyle that referenced this issue May 17, 2017

MEZk added a commit to MEZk/checkstyle that referenced this issue May 17, 2017

romani added a commit that referenced this issue May 18, 2017

@romani romani added this to the 7.8 milestone May 18, 2017

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani May 18, 2017

Member

fix is merged

Member

romani commented May 18, 2017

fix is merged

@romani romani closed this May 18, 2017

romani added a commit that referenced this issue May 19, 2017

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani May 19, 2017

Member

linked folder outside of htdocs was moved inside, so dtds are physically inside htdocs folder.
dtds folder was backuped to
/home/project-web/checkstyle/old-htdocs-reports/dtds just in case

Member

romani commented May 19, 2017

linked folder outside of htdocs was moved inside, so dtds are physically inside htdocs folder.
dtds folder was backuped to
/home/project-web/checkstyle/old-htdocs-reports/dtds just in case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment