GithubHelp home page GithubHelp logo

pkozelka / gitsite-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 472 KB

Simple plugin to expose maven site on Github pages (and other git-based hosting sites)

Home Page: http://code.kozelka.net/gitsite-maven-plugin

Makefile 1.59% Java 96.61% Groovy 1.81%

gitsite-maven-plugin's People

Contributors

dependabot[bot] avatar pkozelka avatar snyk-bot avatar

Stargazers

 avatar

Watchers

 avatar

gitsite-maven-plugin's Issues

Use jgit instead of external git

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.

Delete property file at the end

The file .net.kozelka.gitsite.mojo.GitSiteDeployMojo.properties remains in the source tree, polluting the git status. Should be removed once no longer useful.

Implement autodetection of the target branch

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.

Cannot delete locked file on windows


[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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.