jagame opened a new issue, #259:
URL: https://github.com/apache/maven-archetype/issues/259

   ### New feature, improvement proposal
   
   Given current settings.xml:
   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 
https://maven.apache.org/xsd/settings-1.0.0.xsd";>
       <profiles>
           <profile>
               <id>ibm</id>
               <repositories>
                   <repository>
                       <id>was-archetype</id>
                       
<url>https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/maven/repository/</url>
                   </repository>
               </repositories>
           </profile>
       </profiles>
       <activeProfiles>
           <activeProfile>ibm</activeProfile>
       </activeProfiles>
   </settings>
   ```
   when run
   ```bash
   mvn archetype:generate -Dfilter=ibm
   ```
   the archetypes resolution respond with:
   ```
   [INFO] Generating project in Interactive mode
   [INFO] Your filter doesn't match any archetype, so try again with another 
value.
   ```
   
   When you use a repository with id "archetype", this works... but it stops 
searching in central. ¿Why is the archetypes search done in only one 
repository? In my opinion, at least an "id pattern" should be used instead of a 
static and single one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to