java.lang.IllegalArgumentException: Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd]

Atlassian JIRA | Krzysztof Skoropada [InTENSO] | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Not sure in which project I should create this bug. atlas-create-jira-plugin A new plugin structure is required for JIRA 5 plugins due to significant changes in the APIs. Create a plugin for? 1) JIRA 5 2) JIRA 4 (or earlier) 2 Executing: /usr/share/atlassian-plugin-sdk-4.2.0/apache-maven/bin/mvn com.atlassian.maven.plugins:maven-jira-plugin:4.2.0:create_v4 -gs /usr/share/atlassian-plugin-sdk-4.2.0/apache-maven/conf/settings.xml [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [com.atlassian.maven.plugins:maven-jira-plugin:4.2.0:create_v4] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [jira:create_v4 {execution: default-cli}] [INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics. [INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml [INFO] Sending event to Google Analytics: AMPS:jira4 - SDK First Run - 4.2.0 [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd] [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException: Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd] at com.atlassian.maven.plugins.amps.product.ProductHandlerFactory.create(ProductHandlerFactory.java:102) at com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.createProductContexts(AbstractProductHandlerMojo.java:677) at com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.getProductContexts(AbstractProductHandlerMojo.java:705) at com.atlassian.maven.plugins.amps.CreateMojo.doExecute(CreateMojo.java:33)

    Atlassian JIRA | 4 years ago | Krzysztof Skoropada [InTENSO]
    java.lang.IllegalArgumentException: Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd]
  2. 0

    Not sure in which project I should create this bug. atlas-create-jira-plugin A new plugin structure is required for JIRA 5 plugins due to significant changes in the APIs. Create a plugin for? 1) JIRA 5 2) JIRA 4 (or earlier) 2 Executing: /usr/share/atlassian-plugin-sdk-4.2.0/apache-maven/bin/mvn com.atlassian.maven.plugins:maven-jira-plugin:4.2.0:create_v4 -gs /usr/share/atlassian-plugin-sdk-4.2.0/apache-maven/conf/settings.xml [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [com.atlassian.maven.plugins:maven-jira-plugin:4.2.0:create_v4] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [jira:create_v4 {execution: default-cli}] [INFO] Google Analytics Tracking is enabled to collect AMPS usage statistics. [INFO] Although no personal information is sent, you may disable tracking by adding <allowGoogleTracking>false</allowGoogleTracking> to the amps plugin configuration in your pom.xml [INFO] Sending event to Google Analytics: AMPS:jira4 - SDK First Run - 4.2.0 [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd] [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException: Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd] at com.atlassian.maven.plugins.amps.product.ProductHandlerFactory.create(ProductHandlerFactory.java:102) at com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.createProductContexts(AbstractProductHandlerMojo.java:677) at com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.getProductContexts(AbstractProductHandlerMojo.java:705) at com.atlassian.maven.plugins.amps.CreateMojo.doExecute(CreateMojo.java:33)

    Atlassian JIRA | 4 years ago | Krzysztof Skoropada [InTENSO]
    java.lang.IllegalArgumentException: Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown product id: 'jira4' Valid values: [refapp, confluence, jira, bamboo, fecru, crowd, stash, ctk-server, studio, studio-confluence, studio-jira, studio-bamboo, studio-fecru, studio-crowd]

      at com.atlassian.maven.plugins.amps.product.ProductHandlerFactory.create()
    2. com.atlassian.maven
      CreateMojo.doExecute
      1. com.atlassian.maven.plugins.amps.product.ProductHandlerFactory.create(ProductHandlerFactory.java:102)
      2. com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.createProductContexts(AbstractProductHandlerMojo.java:677)
      3. com.atlassian.maven.plugins.amps.AbstractProductHandlerMojo.getProductContexts(AbstractProductHandlerMojo.java:705)
      4. com.atlassian.maven.plugins.amps.CreateMojo.doExecute(CreateMojo.java:33)
      4 frames