test-fixtures and Maven

Claude Warren <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <CAOQrJk6fxEUxhHK68gWNht7gfDC+bbH-xDsMbVwD60ESsuzhPg@mail.gmail.com>
I am trying to figure out how to structure a project so that the following
is possible.

Logical structure

core
  +-- main
  +-- test-fixtures
  +-- test (uses test-fixtures)

tools
  +-- main (uses core)
  +-- test (uses test-fixtures)

component1
  +-- main (uses tools to generate some code, uses core)
  +-- test (uses test-fixtures)

component2
  +-- main (uses tools to generate some code, uses core)
  +-- test (uses test-fixtures)

The problem I have is that I can not get the test-fixtures to be accessible
to the tools or components build when there is not already a jar built.

Gradle has a solution where the core would be built, then the
text-fixtures, then the core test.  But there does not seem to be a way to
achieve the logical test-fixtures component.

Does anyone have a suggestion for how to solve this problem?



-- 
LinkedIn: http://www.linkedin.com/in/claudewarren
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.