pkozelka / gitsite-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWSimple plugin to expose maven site on Github pages (and other git-based hosting sites)
Home Page: http://code.kozelka.net/gitsite-maven-plugin
Simple plugin to expose maven site on Github pages (and other git-based hosting sites)
Home Page: http://code.kozelka.net/gitsite-maven-plugin
Currently we don't check the result - it should be improved and quite thorough
Depending on external git can cause troubles in some environment.
By switching to jgit
, the plugin would become more standalone and less dependent on pre-requisities.
Bitbucket offers its own git-based website hosting which differs from Github Pages in that there is no automatic site overlaying.
Therefore, each application needs to place its files under the directory that should appear as a context.
The new parameter subdir
should be used to indicate the target context.
The file .net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties
remains in the source tree, polluting the git status. Should be removed once no longer useful.
Right now, the target branch (by default named gitsite
) must either already exist, or the property keepHistory
must be set to false
.
It would be better to support auto-creation of the branch when it does not exist and keepHistory
is true.
[ERROR] Failed to execute goal net.kozelka.maven:gitsite-maven-plugin:0.1.0:deploy (gitsite-deploy) on project card-management-parent: Execu
tion gitsite-deploy of goal net.kozelka.maven:gitsite-maven-plugin:0.1.0:deploy failed: java.nio.file.FileSystemException: c:\Projects\CMS\c
ard-management\.net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties: The process cannot access the file because it is being used by anothe
r process. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.kozelka.maven:gitsite-maven-plugin:0.1.0:deploy (gitsite-
deploy) on project card-management-parent: Execution gitsite-deploy of goal net.kozelka.maven:gitsite-maven-plugin:0.1.0:deploy failed: java
.nio.file.FileSystemException: c:\Projects\CMS\card-management\.net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties: The process cannot ac
cess the file because it is being used by another process.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution gitsite-deploy of goal net.kozelka.maven:gitsite-maven-plugin:0.1.0:d
eploy failed: java.nio.file.FileSystemException: c:\Projects\CMS\card-management\.net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties: The
process cannot access the file because it is being used by another process.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.RuntimeException: java.nio.file.FileSystemException: c:\Projects\CMS\card-management\.net.kozelka.gitsite.mojo.GitSiteD
eployMojo.properties: The process cannot access the file because it is being used by another process.
at org.codehaus.plexus.util.FileUtils.fileDelete(FileUtils.java:541)
at net.kozelka.gitsite.mojo.GitSiteDeployMojo.executeInLastModule(GitSiteDeployMojo.java:78)
at net.kozelka.gitsite.mojo.AbstractMultiModuleMojo.execute(AbstractMultiModuleMojo.java:44)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
Caused by: java.nio.file.FileSystemException: c:\Projects\CMS\card-management\.net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties: The pr
ocess cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1118)
at org.codehaus.plexus.util.NioFiles.deleteIfExists(NioFiles.java:133)
at org.codehaus.plexus.util.FileUtils.fileDelete(FileUtils.java:537)
... 24 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.