soi-toolkit / soi-toolkit-google-code

Automatically exported from code.google.com/p/soi-toolkit
0 stars 0 forks source link

Teststub is missing required dependencies #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate and build component and service
2. Generate and build teststub project
3. Deploy component and teststub to standalone Mule container

What is the expected output? What do you see instead?
The test stub is not deployed. An exception is thrown (se attached log file)

What version of the product are you using? On what operating system?
0.5.0

Please provide any additional information below.
The teststub-config.xml imports the common.xml from the component. The 
common.xml declares a rest:config element that the test-stub cannot resolve 
since the mule-module-rest.jar is not included in the packaging.

Original issue reported on code.google.com by par.wena...@gmail.com on 28 May 2012 at 8:17

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by magnus.l...@gmail.com on 1 Jun 2012 at 4:55

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1659.

Added missing inclusions to the maven-mule-plugin in the teststub pom.xml 
template file

Original comment by magnus.l...@gmail.com on 10 Jun 2012 at 8:42

GoogleCodeExporter commented 9 years ago
Pär: Can you verify this correction?

We currently don't have any automatic tests that verify a successful deploy to 
Mule standalone instances. 

If you add the following to your pom.xml - file for your teststub-project and 
perform mvn install a correct zip-file should be built.

                    <inclusions>
                        <inclusion>
                            <groupId>org.mule.modules</groupId>
                            <artifactId>commonretrypolicies</artifactId>
                        </inclusion>
                        <inclusion>
                            <groupId>org.mule.transports</groupId>
                            <artifactId>mule-transport-restlet</artifactId>
                        </inclusion>
                        <inclusion>
                            <groupId>org.mule.modules</groupId>
                            <artifactId>mule-module-rest</artifactId>
                        </inclusion>
                        <inclusion>
                            <groupId>org.mule.modules</groupId>
                            <artifactId>devkit</artifactId>
                        </inclusion>
                    </inclusions>

Original comment by magnus.l...@gmail.com on 10 Jun 2012 at 8:48

GoogleCodeExporter commented 9 years ago
I have made the modification suggested to the pom.xml and the teststub does now 
deploy without any unresolved dependencies. 

Original comment by p...@wenaker.se on 11 Jun 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Thanks, let's close this one then!

Original comment by magnus.l...@gmail.com on 11 Jun 2012 at 9:13

GoogleCodeExporter commented 9 years ago
Move all closed v0.5.1 issues to v0.6.0

Original comment by magnus.l...@gmail.com on 26 Jul 2012 at 4:24