Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Yep, that'd work, thanks! See my comment below for alternate answer that I prefer. Commented Oct 6, 2008 at 15:12
  • 1
    We use this approach as well, it's a bit silly you are forced to go for classifiers or types (that are hardly basics in Maven for most of the users) and that you have to build JAR with some effort when you don't really need it or - as in this case - you have de-facto non-test code as a base only for the test code. Commented Nov 15, 2012 at 11:37