Hello Bernd,

thanks for your detailed answer!

> "After building our projects, we just put the "jar-files" into the james-lib 
> directory and added it to the config.xml.So we used to keep our deployment 
> completely independent from James, and put our libs into a running James 
> distribution.""

This seems to be possible with mailets, but not in my use case.

> "So maybe you do not need the maven build process, just build and copy your 
> jar-files."

I used this as a time consuming workaround for the last weeks. But
here is the problem:
The james-protocols projects reference the james-mailbox projects. Now
for example, if I add a method to a class inside the mailbox project,
it cannot be found inside the protocols project. Eclipse will show a
"method not found"-error and the build process will fail.
That's the main reason I need to update the maven dependencies.

> "But: your pom.xml will not match the pom.xml delivered by James, cause you 
> need to add your modules."

I am aware of that, but I guess there is no way around it. Furthermore
it is only a temporary project and an update to a newer james version
is not necessarily important.

Thanks for your paper, it helped me last year (together with Robert
Munn's Youtube tutorials) to build james.

I will try to test your additional tips in the next days and will
report back if I have some news. Nevertheless, new hints are always
welcome!

Thanks,
Tilman

2015-01-16 11:30 GMT+01:00 Bernd Waibel <bwai...@intarsys.de>:
> Hello Tilman,
>
> [...]
>
> -----Ursprüngliche Nachricht-----
> Von: Tilman Ginzel [mailto:tilmangin...@gmail.com]
> Gesendet: Donnerstag, 15. Januar 2015 20:16
> An: server-user@james.apache.org
> Betreff: How to reference customized projects in pom.xml files?
>
> [...]

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to