>> Whilst we're on the subject of maven, I haven't been able to get any ejb or
>> javaee related archetypes to start a project - so I've reverted back to ant
>> and managing the dependencies by hand. Can anyone shed any light on this
>> ejb/javaee maven problem?
>
> Wouldn't it be easier to use a Tapestry archetype, for example, and then add
> the dependencies to the project's pom.xml?
Thanks for caring Thiago :)
Still, I'm fairly new to the newer java technologies - in my spare time I've
been testing what works with maven and how to do stuff - lots of reading /
testing..
I was trying to
1. Create a project with a packaging of pom (wrapper for modules)
2. Create sub modules { ejb, tapestry }
3. build both modules to create an ear
So when the archetype for anything ejb or javaee related fails, maven as a
whole fails for me, and i revert back to ant because it Just Works (tm)
It may be worth noting I'm working with a bunch of business code that's already
been written - therefore have been trying to make as little wholesale changes
as possible to that codebase. So basically I want to create this but in maven
- i.e. replace build.xml with pom.xml and create business/pom.xml web/pom.xml
We use ant-dependencies which chucks everything into my ~/.maven folder similar
to maven2, so I don't feel I'm missing out a lot, but it would be nice to get
maven right - either my thinking or the process, because I want to host my own
maven repository for the libs in my F/OSS project at the end of the day :)
which I can already do with apache-archiva so that I can write some
maven/opencsta/ejb/tapestry/jquery tutorials
Chris-Ms-MacBook:tapuserlist chrismylonas$ tree
.
|-- build.xml
|-- business
| `-- src
| |-- java
| |-- main
| | |-- conf
| | |-- persistence-descriptor
| | `-- resources
| | `-- META-INF
| `-- sql
`-- web
|-- src
| |-- java
| |-- resources
| `-- webapp
| |-- META-INF
| |-- WEB-INF
| |-- assets
| |-- css
| `-- images
| `-- icons
`-- templates