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

Not clear exception message #325

Closed
CyborTronik opened this issue Nov 13, 2015 · 3 comments
Closed

Not clear exception message #325

CyborTronik opened this issue Nov 13, 2015 · 3 comments

Comments

@CyborTronik
Copy link

Having next configuration:

            <plugin>
                <groupId>org.jolokia</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>0.13.6</version>

                <configuration>
                    <skip>${skip-integration-test-data-creation}</skip>
                    <images>
                        <image>
                            <external>
                                <type>compose</type>
                                <config>${basedir}/src/test/docker/docker-compose.yml</config>
                            </external>
                            <run>
                                <wait>
                                    <log>Started XXX</log>
                                    <time>250000</time>
                                </wait>
                            </run>
                        </image>
                    </images>
                </configuration>

                <executions>
                    <execution>
                        <id>start</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                            <goal>build</goal>
                            <goal>start</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>stop</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Getting the next exception message:

Failed to execute goal org.jolokia:docker-maven-plugin:0.13.6:stop (start) on project integration-test: Execution start of goal org.jolokia:docker-maven-plugin:0.13.6:stop failed: [null] : No handler for type compose given -> [Help 1]
@CyborTronik
Copy link
Author

Sry,
Seems I missed that the feature is not completed yet.
It's getting critical for usage of this plugin.

Very sad.

@jgangemi
Copy link
Collaborator

can you provide me w/ the docker-compose.yml file you are using above, or something that is more or less equivalent?

@jgangemi jgangemi self-assigned this Nov 14, 2015
@jgangemi jgangemi modified the milestone: 0.13.7 Nov 14, 2015
@jgangemi jgangemi removed their assignment Nov 14, 2015
@jgangemi
Copy link
Collaborator

i'm actually going to close this as a dup of #57 so could you please post the compose file over there?

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

No branches or pull requests

2 participants