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

unix-booter has incorrect configuration #4

Closed
Garagoth opened this issue Aug 12, 2015 · 1 comment
Closed

unix-booter has incorrect configuration #4

Garagoth opened this issue Aug 12, 2015 · 1 comment

Comments

@Garagoth
Copy link

With default config:

<plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>appassembler-maven-plugin</artifactId>
                    <version>1.10</version>
                    <configuration>
<includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
                        <platforms>unix</platforms>
                        <target>${project.build.directory}</target>
                        <daemons>
                                <id>${project.name}</id>
                                <mainClass>${appassembler.mainClass}</mainClass>
                                <commandLineArguments>
                                    <commandLineArgument>start</commandLineArgument>
                                </commandLineArguments>
                                <platforms>
                                    <platform>booter-unix</platform>
                                </platforms>
                            </daemon>
                        </daemons>
                    </configuration>
                    <executions>
                        <execution>
                            <id>generate-jsw-scripts</id>
                            <phase>package</phase>
                            <goals>
                                <goal>generate-daemons</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>

plugin fails to generate proper wrapper script and any attempt to run it fails with:

$ sh ./target/booter-unix/bin/job-runner status
Error: Could not find or load main class org.codehaus.mojo.appassembler.booter.AppassemblerBooter

All classpath paths point to repo dir while in reality all files are in lib directory.

@khmarbaise
Copy link
Member

Is this the correct configuration, cause the daemon tag is not correctly opened...Would it be possible to create an example project on Github and give me a llink to this project...so i can take a look...

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

2 participants