continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Class file not generated on build?
Date Thu, 23 Oct 2008 14:37:21 GMT
On Tue, Oct 21, 2008 at 11:21 PM, Jan K <janokb@symbiountech.com> wrote:
>
> I have a folder structure in svn as
>  Training  -- This is my root folder
>  pom.xml
>  Inside Training Folder ,i have
>    -- Branch
>   --  Tag
>   -- Trunk
>  Inside Trunk folder,i have
>   Test.Java

It seems strange to have a pom.xml *above* the trunk directory.

The Subversion convention is trunk, branches and tags.

Your pom would normally go inside trunk, leaving branches and tags for
"copies" of your project at appropriate times.  And by default your
source code goes in src/main/java/[package structure].

For example, compare your project structure to what you get from

mvn archetype:create -DgroupId=com.example -DartifactId=myproject

(or see http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
which has more information.)

Training/
    trunk/
         pom.xml
              src/main/java/com/acme/training/Test.java

(Again, pasting xml into Nabble doesn't seem to work, it strips the
element names out, so I couldn't read the pom.)

-- 
Wendy

Mime
View raw message