> On Jun 11, 2020, at 1:14 PM, Jonathan Gallimore 
> <[email protected]> wrote:
> 
> If what you're downloading from the website is
> called apache-tomee-webprofile-9.0.0-M1-SNAPSHOT, then if you're using
> Arquillian, in my mind it makes sense that your pom is referencing
> org.apache.tomee:apache-tomee:9.0.0-M1-SNAPSHOT:webprofile, as opposed to a
> version 8.0.3-SNAPSHOT with a jakartaee9-webprofile classifier.

Ok, I see what you mean.  Yes, that would definitely impact the testing 
negatively.

> Hope that makes sense. I think a lack of consistency between what we put up
> for download, and what's in Maven will potentially be confusing. I think we
> probably could get 9.0.0-M1 artifacts into Maven, but I think there are
> some constraints in Maven central like you have to have source jars and
> javadoc, so we can just attach 9.0.0-M1 zip artifacts to the apache-tomee
> module and upload them. I'm not sure if -SNAPSHOTs have the same
> constraints or not. I think its worth a couple of hours of looking at.
> Being able to have 8.0.3 and 9.0.0-M1 artifacts both from master is
> friendlier than 8.0.3 and 8.0.3-jakartaee9.

On source jars and javadoc, that's not a Central requirement, just something we 
do.  In terms of Central I think the only minimum requirement are the hashes 
and signatures.  I know there's NPM and other crazy stuff floating around up 
there.

We should definitely investigate some way to do it automatically, but if all 
else fails we could do one of these:

    mvn deploy:deploy-file -DgroupId=org.apache.tomee \
      -DartifactId=apache-tomee \
      -Dversion=9.0.0-M1 \
      -Dclassifier=webprofile \
      -Dpackaging=zip \
      -DgeneratePom=false \
      -Dfile=apache-tomee-webprofile-jakartaee9-8.0.3.zip

Not fancy, but would get the job done.  We would just make the directory 
structure in apache-tomee-webprofile-jakartaee9-8.0.3.zip reflect how we'd 
intend to upload it.  We could leave the 
apache-tomee-webprofile-jakartaee9-8.0.3.zip attached, or just have the Eclipse 
Transformer Plugin not attach them.

Heck, I bet we could even create a maven profile that is aware of the -Prelease 
flag and runs those commands.

Thinking out loud at this point.


-David

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to