Set-R1Library
Set-R1Library
SYNOPSIS
Replaces the file of an existing library.
SYNTAX
Set-R1Library [-groupId] <String> [-artifactId] <String> [-version] <String> [-Path] <String> [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
Replaces the jar held at the given Maven coordinates with the file supplied.
EXAMPLES
Example 1
Set-R1Library -groupId 'com.example' -artifactId 'acs' -version '1.0' -Path .\acs-1.0.jar
Replaces the jar of an existing library.
PARAMETERS
-groupId
The Maven group identifier of the library.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-artifactId
The Maven artifact identifier of the library.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-version
The version of the library.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Path
The path of the local file to upload.
Type: String
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.