Christopher Schroeder
Christopher Schroeder

Reputation: 35

How do I use maven with this java project

Folder
(source: gyazo.com)

The basic tutorial on the maven website only shows how to make a new project from scratch. I'm confused about using maven with an existing project

I just want to compile the .java files into bin, not package them into a jar

Upvotes: 0

Views: 69

Answers (1)

Attila
Attila

Reputation: 28762

If you set up the default maven configuration, the compiled .class files will be placed in target/classes.

Note: make sure your project has the correct layout for maven to work (without additional hassle):

project root
  - pom.xml
  - src
    - main
      - java
        - <.java classes and directories for packages>

Upvotes: 2

Related Questions