
                         >   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  \R                  \R                  " \R                  R                  \R                  R                  \R                  R                   5       " S S	\R"                  5      5       5       rg
)>Print a snippet to add a Maven repository to the pom.xml file.    )absolute_import)division)unicode_literals)base)flags)settings_utilc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Maven   r   z{description}ak      To print a snippet for the repository set in the `artifacts/repository`
    property in the default location:

      $ {command}

    To print a snippet for repository `my-repository` in the default location:

      $ {command} --repository="my-repository"

    To print a snippet using service account key:

      $ {command} --json-key=path/to/key.json
    )DESCRIPTIONEXAMPLESc                     [         R                  " 5       R                  U 5        [         R                  " S5      R                  U 5        U R                  R                  S5        g )Nmavenz
value(mvn))r   GetRepoFlagAddToParserGetJsonKeyFlagdisplay_info	AddFormat)parsers    +lib/surface/artifacts/print_settings/mvn.pyArgs
Maven.Args4   sF    	##F+	!--f5
!!,/    c                 2    S[         R                  " U5      0$ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  A maven pom snippet.
mvn)r	   GetMavenSnippet)selfargss     r   Run	Maven.Run:   s     =00677r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r    __static_attributes__r"   r   r   r   r      s2     G 	-( 0 0

8r   r   N)r'   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.artifactsr   3googlecloudsdk.command_lib.artifacts.print_settingsr	   DefaultUniverseOnlyReleaseTracksReleaseTrackALPHABETAGACommandr   r"   r   r   <module>r6      s    E &  ' ( 6 M D%%++T->->-C-C%%((*'8DLL '8* '8r   