Skip to content

Commit

Permalink
mgmt, update codegen and script (#26488)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Jan 14, 2022
1 parent fac63f1 commit 0da1679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/mgmt/automation/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def generate(
def compile_package(sdk_root, service) -> bool:
module = ARTIFACT_FORMAT.format(service)
if os.system(
'mvn --no-transfer-progress clean verify package -f {0}/pom.xml -Dgpg.skip -Drevapi.skip -pl {1}:{2} -am'.format(
'mvn --no-transfer-progress clean verify package -f {0}/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -Drevapi.skip -pl {1}:{2} -am'.format(
sdk_root, GROUP_ID, module)) != 0:
logging.error('[COMPILE] Maven build fail')
return False
Expand Down
2 changes: 1 addition & 1 deletion eng/mgmt/automation/generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def generate(


def compile_package(sdk_root: str, group_id: str, module: str) -> bool:
command = 'mvn --no-transfer-progress clean verify package -f {0}/pom.xml -Dgpg.skip -Drevapi.skip -pl {1}:{2} -am'.format(
command = 'mvn --no-transfer-progress clean verify package -f {0}/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -Drevapi.skip -pl {1}:{2} -am'.format(
sdk_root, group_id, module)
logging.info(command)
if os.system(command) != 0:
Expand Down
2 changes: 1 addition & 1 deletion eng/mgmt/automation/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

SDK_ROOT = '../../../' # related to file dir
AUTOREST_CORE_VERSION = '3.6.6'
AUTOREST_JAVA = '@autorest/[email protected].46'
AUTOREST_JAVA = '@autorest/[email protected].47'
DEFAULT_VERSION = '1.0.0-beta.1'
GROUP_ID = 'com.azure.resourcemanager'
API_SPECS_FILE = 'api-specs.yaml'
Expand Down

0 comments on commit 0da1679

Please sign in to comment.