[ 
https://issues.apache.org/jira/browse/ARCHETYPE-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

João Cabrita updated ARCHETYPE-528:
-----------------------------------
    Description: 
{noformat}
mvn -X -P camunda -DarchetypeCatalog=remote  
org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate 
-Dfilter=org.camunda.bpm.archetype:
{noformat}

Results in the following:
{noformat}
[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] ------------------------------------------------------------------------
{noformat}

I've attached my settings.xml file.

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

Results in the following:
{noformat}
[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://repo.maven.apache.org/maven2
   layout: default
    proxy: proxy.brisa.pt:3128
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@408613cc
[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] ------------------------------------------------------------------------
{noformat}

I've attached my settings.xml file.


> Archetype:generate from repos besides central does not work
> -----------------------------------------------------------
>
>                 Key: ARCHETYPE-528
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-528
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: João Cabrita
>            Priority: Critical
>         Attachments: settings.xml
>
>
> {noformat}
> mvn -X -P camunda -DarchetypeCatalog=remote  
> org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate 
> -Dfilter=org.camunda.bpm.archetype:
> {noformat}
> Results in the following:
> {noformat}
> [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] 
> ------------------------------------------------------------------------
> {noformat}
> I've attached my settings.xml file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to