Maven Ceylon/Java project does not work in IJ
Opened this issue · 1 comments
Checkout the test project from https://github.com/FroMage/ceylon-maven-test
You will need the latest Ceylon distrib on master, and then check out https://github.com/ceylon/ceylon-maven-repo and run mvn install
in it. This will publish the 1.3.2-SNAPSHOT
distrib in your local Maven repo.
Now check out https://github.com/ceylon/ceylon-maven-plugin and run mvn -Dceylon.home=.../ceylon/dist/dist install
, making sure to make it point to your Ceylon distrib. This will publish the Maven Ceylon plugins in your local repo.
Now open the test project and see why it doesn't build?
I fixed an issue with src/main/ceylon
not being recognized correctly as a source directory, and now I have this somewhat expected error:
cannot find module source artifact 'maven:com.mycompany.app:my-app-java-1.0-SNAPSHOT(.jar|.src|.car|.js)'
- dependency tree: 'com.mycompany.app.ceylon/1.0-SNAPSHOT' -> 'com.mycompany.app:my-app-java/1.0-SNAPSHOT'
Which makes sense because I've haven't built the project yet, and Ceylon doesn't know how to depend on source projects, it always needs a binary archive.