juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Bognar <james.bog...@salesforce.com>
Subject Re: [DISCUSS] Maven naming conventions
Date Tue, 09 Aug 2016 01:55:17 GMT
Hi John,

Can you open a task and I'll take a look at these tomorrow.

Thanks!

On Monday, August 8, 2016, John D. Ament <johndament@apache.org> wrote:

> We should also consider whether or not we want to leverage something like
> maven release plugin to do releases.  We should make sure it takes care of
> both the source and binary releases.
>
> John
>
> On Mon, Aug 8, 2016 at 9:22 PM John D. Ament <johndament@apache.org
> <javascript:;>> wrote:
>
> > Hey,
> >
> > Looking at our project, it seems we skip many of the maven norms.  I'd
> > like to propose:
> >
> > - Directory names match artifact ID's.  E.g. instead of
> > "org.apache.juneau" you would have a directory called "juneau-core" which
> > matches the pom's artifact ID.
> > - We don't have MANIFEST.MF files checked in, instead have proper maven
> > configuration so they get generated properly.  This would be in the
> > maven-jar-plugin.
> > - Files go in the standard directories.  Instead of
> > OSGI-INF/I10n/plugin.properties it should be under src/main/resources
> with
> > proper configuration.  This probably means changing the packaging from
> jar
> > to bundle and using the org.apache.felix:maven-bundle-plugin (or
> whatever
> > it might be called these days).  LIkewise, don't rely on a war/web.xml
> for
> > tests, instead use src/test/resources/war/web.xml
> > - Test class names should follow standard convention.  I still haven't
> > quite figured out what CT stands for, but most projects use "Test" as
> their
> > suffix for test classes.  We may want to categorize, e.g. UnitTest vs
> > IntegrationTest.
> >
> > Thoughts? My main goal is to make it easier to comprehend if you're
> > already a maven user.
> >
> > John
> >
>


-- 
James Bognar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message