You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2023/04/03 00:57:46 UTC

[GitHub] [maven-archetype] elharo commented on a diff in pull request #130: [ARCHETYPE-639] properties value startsWith packageName should be replaced

elharo commented on code in PR #130:
URL: https://github.com/apache/maven-archetype/pull/130#discussion_r1155408095


##########
archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java:
##########
@@ -1130,6 +1130,24 @@ private void createModulePom( Model pom, String rootArtifactId, File archetypeFi
                 pom.setVersion( "${" + Constants.VERSION + "}" );
             }
 
+            final String pomPackage = pomReversedProperties.getProperty( Constants.PACKAGE );
+            final String varPackage = "${" + Constants.PACKAGE + "}";
+            final Properties properties = pom.getProperties();
+            final Properties modiedProperties = new Properties();

Review Comment:
   modifiedProperties



-- 
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-unsubscribe@maven.apache.org

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