Class ProductConfig


  • class ProductConfig
    extends java.lang.Object
    Effective product configuration for this Maven plug-in. This is the configuration provided by the user (in the section), or the product file in the root directory of the module if no user configuration is provided.

    Note: Since the attachId defaults to null, explicit configuration must be provided if there is more than one product file.

    • Field Detail

      • products

        private java.util.List<Product> products
    • Constructor Detail

      • ProductConfig

        public ProductConfig​(java.util.List<Product> userConfig,
                             java.util.Collection<DependencySeed> projectSeeds)
                      throws org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoFailureException
    • Method Detail

      • checkConfiguredProductsExist

        private static void checkConfiguredProductsExist​(Product configuredProduct,
                                                         java.util.Collection<DependencySeed> projectSeeds)
                                                  throws org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoFailureException
      • getPublishedProduct

        private static java.util.List<Product> getPublishedProduct​(java.util.Collection<DependencySeed> projectSeeds)
      • fillInInstallationRoots

        private void fillInInstallationRoots​(java.util.List<Product> products,
                                             java.util.Collection<DependencySeed> projectSeeds)
      • uniqueAttachIds

        public boolean uniqueAttachIds()
      • getProducts

        public java.util.List<Product> getProducts()