Hi,

On Thu, Jan 21, 2010 at 6:05 AM,  <[email protected]> wrote:
> Hi,
>
> As I understand it, there is a process of renaming packages for Fedora 3.4 
> (from what I can see from http://fedora-commons.org/jira/browse/FCREPO-622)

Yes, the initial renaming is done in trunk.  It switches package names
from "fedora.*" to "org.fcrepo.*".

> I am currently using fedora client and fedora client messaging in a Maven 
> project - targeted against Fedora Commons 3.3
> What should I put in the Maven 2's POM file for now?  That is, what are the 
> values for things like `groupId` and `artifactId`?

When linking to any dependencies produced by the core repository
project (e.g. fcrepo-client...jar), you should reference groupId
"org.fcrepo", and whatever artifactId is declared in the pom of the
sub-module.  By convention, artifactIds produced by this project start
with "fcrepo-".  For example, fcrepo-client-messaging for the
messaging client.  It's unlikely that we will change the groupId any
time soon.  But it's quite possible that some artifactIds may change
over time with newer releases, as things are modularized differently
in the code base.  The more significant change to look out for with
3.4+ vs 3.3 will be in your import statements...these should be fairly
easy to update, but it will require re-compiling your code to make it
work with the newer versions of the artifacts.

I hope this is what you were asking... if, on the other hand, you were
just asking about your own project's groupId and artifactIds, you can
make those whatever you want, but the convention is generally to make
the groupId match, or at least begin with, a domain or subdomain your
project has control over.

- Chris

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to