tomjadams / instinct-github-import

Automatically exported from code.google.com/p/instinct
0 stars 0 forks source link

Example project pom.xml isn't correct. #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download example project
2. Execute 'mvn package'

What is the expected output? What do you see instead?

Expect to see project build, including all tests. Instead maven complains
about java 1.3 not supporting Java 5 language features. Some changes are
required to the pom.

What version of the product are you using? On what operating system?
n/a

Please provide any additional information below.

The java language error is just the first in a chain of errors to be
corrected. Other issues resolved are:

* functionaljava dependency not included
* test source directory is src/test/java, not src/spec/java
* tests to be executed default to *Test.class, which excludes all
specifications
* after changing test inclusions to **/*.class, non spec classes needed to
be excluded, including **/util/* and anonymous inner classes **/*$*
* test resources directory defaults to src/test/resources, not
src/spec/resources

I have modified the POM so that these issues are corrected. The modified
pom is attached.

The project now runs the specs via the surefire plugin. I have not looked
into generating reports. Also, I have not looked into the purpose of the
scala files. This may be functionality missing from the build.

Original issue reported on code.google.com by jem.maw...@gmail.com on 23 Aug 2008 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the fix, it's been added into the trunk.

As for the scala files, they're an example of using Instinct from scala, to 
spec out scala classes, etc. I believe 
there is maven support for scala (the lift framework uses it), but I've not 
looked into it, nor know if java & 
scala can exist within the one project. Feel free to though and contribute some 
more patches! :)

Original comment by tomjad...@gmail.com on 25 Aug 2008 at 12:14