Menu

1 / 2

Smaller Simpler Maven Projects

DEV Community: java·Shai Almog·about 2 hours ago
#wuBq4phN
#devtojava#devto#dev#platform#android
Reading 0:00
15s threshold

Opening a new application should show you the application. A directory full of platform modules makes you learn the build's structure before you have written a screen.

What is Codename One? Codename One is an open-source framework for building native iOS, Android, desktop, and web apps from a single Java or Kotlin codebase. Learn more at codenameone.com .

Last week we added smaller Gradle projects . Maven now starts small too. The application archetype defaults to the root POM and common , with no platform modules. You can still run the simulator and build the target apps. This closes our weekly release series .

The default tree matches the first task

The relevant part of a new project looks like this:

my-app/ pom.xml common/ pom.xml codenameone_settings.properties src/main/java/ src/main/resources/

Enter fullscreen mode

Exit fullscreen mode

This is a shortened tree, not a count of every generated resource or launcher script. The structural count is two POMs .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.