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

Is it possible to make this plugin running as a long process? #35

Closed
ieiayaobb opened this issue Sep 10, 2015 · 3 comments
Closed

Is it possible to make this plugin running as a long process? #35

ieiayaobb opened this issue Sep 10, 2015 · 3 comments

Comments

@ieiayaobb
Copy link

    /**
     * Public ctor.
     */
    Instances() {
        Runtime.getRuntime().addShutdownHook(
            new Thread(
                new Runnable() {
                    @Override
                    public void run() {
                        Instances.this.shutdown();
                    }
                }
            )
        );
    }

I see a ShutdownHook here, so it will stop the DynamoDB after maven process.
What I want to do is making it running as a service, is it possible?

@dmarkov
Copy link

dmarkov commented Sep 14, 2015

@yegor256 please do something about this issue

@yegor256
Copy link
Member

@ieiayaobb just run Maven as a background process:

mvn clean install &

Make sense?

@ieiayaobb
Copy link
Author

@yegor256 Thank you very much :)

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

3 participants