]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added logging for generateArchetype in BuildHelpers (#11999) 7.7.21
authorOlli Tietäväinen <ollit@vaadin.com>
Wed, 13 May 2020 03:41:11 +0000 (06:41 +0300)
committerGitHub <noreply@github.com>
Wed, 13 May 2020 03:41:11 +0000 (06:41 +0300)
scripts/BuildHelpers.py

index 216f8e1646c5197bee6f25884243e8ae0888f0d1..ad6422396c00f166b39ca332cb8f5c7c76cece94 100644 (file)
@@ -106,12 +106,17 @@ def copyWarFiles(artifactId, resultDir = resultPath, name = None):
 def generateArchetype(archetype, artifactId, repo, logFile, group="testpkg", archetypeGroup="com.vaadin"):
        # Generate the required command line for archetype generation
        args = getArgs()
+       print("Parameters for archetype %s:" % (archetype))
+       print("using version %s" % (args.version))
        cmd = [mavenCmd, "archetype:generate"]
        cmd.append("-DarchetypeGroupId=%s" % (archetypeGroup))
        cmd.append("-DarchetypeArtifactId=%s" % (archetype))
        cmd.append("-DarchetypeVersion=%s" % (args.version))
        if repo is not None:
                cmd.append("-DarchetypeRepository=%s" % repo)
+               print("using repository %s" % (repo))
+       else:
+           print("using no repository")
        cmd.append("-DgroupId=%s" % (group))
        cmd.append("-DartifactId=%s" % (artifactId))
        cmd.append("-Dversion=1.0-SNAPSHOT")