maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dorin Brage (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARCHETYPE-547) triple underline
Date Tue, 24 Apr 2018 09:06:00 GMT
Dorin Brage created ARCHETYPE-547:
-------------------------------------

             Summary: triple underline
                 Key: ARCHETYPE-547
                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-547
             Project: Maven Archetype
          Issue Type: Bug
          Components: Archetypes
    Affects Versions: 3.0.1
            Reporter: Dorin Brage


Let's say you have the next path
{code:java}
/src/main/resources/50____rootArtifactId__.ui/
|---local___rootArtifactId__.properties
|---prod___rootArtifactId__.properties  {code}
I want to achieve 

 
{code:java}
/src/main/resources/50_demoApp.ui/
|---local_demoApp.ui.properties
|---prod_demoApp.ui.properties  
{code}
The console output

 
{code:java}
[WARNING] Property '_rootArtifactId' was not specified, so the token in 'src/main/resources/////50___rootArtifactId__.ui/local___rootArtifactId__.properties
{code}
 

Workaround 

Avoid adding as a prefix/suffix extra underlines
{code:java}
50.__rootArtifactId__.ui
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message