Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-528

Archetype:generate from repos besides central does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 3.0.1
    • None
    • None
    • None

    Description

      mvn -X -P camunda -DarchetypeCatalog=remote  org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate -Dfilter=org.camunda.bpm.archetype:
      

      Results in the following:

      [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate' with basic configurator -->
      [DEBUG]   (f) archetypeCatalog = remote
      [DEBUG]   (f) basedir = C:\Users\joao.cabrita\projects\bpm
      [DEBUG]   (f) filter = org.camunda.bpm.archetype:
      [DEBUG]   (f) interactiveMode = true
      [DEBUG]   (f) localRepository =       id: local
            url: file:///C:/Users/joao.cabrita/.m2/repository/
         layout: default
      snapshots: [enabled => true, update => always]
       releases: [enabled => true, update => always]
      
      [DEBUG]   (f) remoteArtifactRepositories = [      id: central
            url: https://app.camunda.com/nexus/content/repositories/camunda-bpm
         layout: default
          proxy: proxy.brisa.pt:3128
      snapshots: [enabled => true, update => daily]
       releases: [enabled => true, update => daily]
      ,       id: archetype
            url: https://app.camunda.com/nexus/content/repositories/camunda-bpm
         layout: default
          proxy: proxy.brisa.pt:3128
      snapshots: [enabled => true, update => daily]
       releases: [enabled => true, update => daily]
      ]
      [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@325f7fa9
      [DEBUG] -- end configuration --
      [INFO] Generating project in Interactive mode
      [DEBUG] Searching for remote catalog: https://repo.maven.apache.org/maven2/archetype-catalog.xml
      [WARNING] No archetype found in remote catalog. Defaulting to internal catalog
      [INFO] Your filter doesn't match any archetype, so try again with another value.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      

      I've attached my settings.xml file.

      Attachments

        1. settings.xml
          0.8 kB
          João Cabrita

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kewne João Cabrita
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: