Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] Maven profiles

Hi,

As for the oss-release profile I've used that in the shell script that the job used to deploy the artefacts.

The relevant fragment is this:

echo '-[ Deploy artifacts to staging repository ]-------------------------------------'
mvn -U -C -s /home/jenkins/.m2/settings.xml \
    -DskipTests -Ddoclint=none -Poss-release \
    clean package source:jar javadoc:jar gpg:sign install:install ${MVN_DEPLOY_ARGS}

I have no idea what the other profiles are for. I just ignored them and seemingly I didn't need them.


 

On Fri, Oct 12, 2018 at 9:42 PM Bill Shannon <bill.shannon@xxxxxxxxxx> wrote:
The EE4J parent pom defines three profiles:

- oss-release
- snapshots
- staging

When should each of these be used?

Many of our existing projects define profiles that were used to release
artifacts at maven.java.net.  Should these profiles all be renamed to
extend one of the profiles above to benefit from the shared configuration
in the parent pom?
_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ee4j-build

Back to the top