Class MavenHelper
java.lang.Object
com.aeontronix.enhancedmule.tools.util.MavenHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Stringstatic @NotNull StringmavenMetaPath(ApplicationIdentifier appId, String orgId, String file) static @NotNull StringpomPath(ApplicationIdentifier appId, String orgId) static voidpublishArchive(com.aeontronix.anypointsdk.exchange.ExchangeClient exchangeClient, ApplicationIdentifier appId, Organization org, File appArchFile) static voidupdateMavenSettings(@NotNull File mavenSettingsFile, String activeProfileId, String bearerToken) static ApplicationIdentifieruploadToMaven(com.aeontronix.anypointsdk.exchange.ExchangeClient exchangeClient, ApplicationIdentifier appId, Organization org, ApplicationSource applicationSource, String newVersion, String buildNumber)
-
Field Details
-
SETTINGS_NS
- See Also:
-
-
Constructor Details
-
MavenHelper
public MavenHelper()
-
-
Method Details
-
uploadToMaven
public static ApplicationIdentifier uploadToMaven(com.aeontronix.anypointsdk.exchange.ExchangeClient exchangeClient, ApplicationIdentifier appId, Organization org, ApplicationSource applicationSource, String newVersion, String buildNumber) throws IOException, com.aeontronix.unpack.UnpackException, com.aeontronix.restclient.RESTException - Throws:
IOExceptioncom.aeontronix.unpack.UnpackExceptioncom.aeontronix.restclient.RESTException
-
publishArchive
public static void publishArchive(com.aeontronix.anypointsdk.exchange.ExchangeClient exchangeClient, ApplicationIdentifier appId, Organization org, File appArchFile) throws IOException, com.aeontronix.restclient.RESTException - Throws:
IOExceptioncom.aeontronix.restclient.RESTException
-
pomPath
-
mavenMetaPath
@NotNull public static @NotNull String mavenMetaPath(ApplicationIdentifier appId, String orgId, String file) -
generateTimestampString
-
updateMavenSettings
public static void updateMavenSettings(@NotNull @NotNull File mavenSettingsFile, String activeProfileId, String bearerToken) throws SAXException, IOException - Throws:
SAXExceptionIOException
-