Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakarta.ee-spec.committee] Pushing EFTL and EFSL binaries to Maven Central

> On Jul 12, 2019, at 4:03 PM, Scott Stark <sstark@xxxxxxxxxx> wrote:
> 
> Oh, I did not catch this was about the spec pdf. We don’t publish MP specs so I would not expect publishing the Jakarta EE specs either.
> 
>> On Jul 12, 2019, at 3:44 PM, Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:
>> 
>> I'm not expecting that specs will be published to Maven.  I don't see any reason to do so.  No software is going to download and use them from there.  They exist for humans to read.  They'll be published on jakarta.ee.  That seems like enough.

At first glance doing a 'mvn clean deploy' inside the spec dir does appear to be pushing to oss.sonatype.org.

I don't see any profiles that attempt to change the <distributionManagement>, so it appears we have some tweaking to do.

We should be able to change the distribution for the spec pom.xml specifically with something like this:

  <distributionManagement>
    <repository>
      <id>localhost</id>
      <url>file://${basedir}/target/staging/</url>
    </repository>
    <snapshotRepository>
      <id>localhost</id>
      <url>file://${basedir}/target/snapshot-staging/</url>
    </snapshotRepository>
  </distributionManagement>

From there, someone would have to copy the `staging` directory where it needs to go.

There are perhaps better techniques, just trying to offer something a step better than "we have work to do."


-David



Back to the top