diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-09 16:09:54 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-09 16:09:54 +0300 |
commit | 43a0e91b11bd5b846526eed648127cc417462603 (patch) | |
tree | 37861e4697aa0bf78786443568984c063e29f586 | |
parent | 2645159df7cd98fa3577eb8e729b1ed085ca87bd (diff) | |
download | vaadin-framework-43a0e91b11bd5b846526eed648127cc417462603.tar.gz vaadin-framework-43a0e91b11bd5b846526eed648127cc417462603.zip |
Fix passing repo id to archetype generation function
Change-Id: Ida6871265aa3ca313960b0bca9c451f9f5f19151
-rw-r--r-- | scripts/BuildArchetypes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/BuildArchetypes.py b/scripts/BuildArchetypes.py index 1e787c25f7..cc8dfef66c 100644 --- a/scripts/BuildArchetypes.py +++ b/scripts/BuildArchetypes.py @@ -36,7 +36,7 @@ args = None ## BUILDING METHODS ## # Generates and modifies a maven pom file -def generateArchetype(archetype, artifactId): +def generateArchetype(archetype, artifactId, repo): # Generate the required command line for archetype generation cmd = [mavenCmd, "archetype:generate"] cmd.append("-DarchetypeGroupId=%s" % (archetypeGroup)) @@ -75,7 +75,7 @@ if __name__ == "__main__": artifactId = "test-%s-%s" % (archetype, args.version.replace(".", "-")) try: log = getLogFile(archetype) - generateArchetype(archetype, artifactId) + generateArchetype(archetype, artifactId, args.repo) updateRepositories(artifactId) mavenValidate(artifactId, logFile=log) warFiles = copyWarFiles(artifactId, name=archetype) |