Install the Maven artifacts

The ArcGIS Enterprise SDK contains the install-maven-artifacts tool (install-maven-artifacts.bat for Windows and install-maven-artifacts.sh for Linux) which can be executed from the command line. This tool installs the Maven dependencies, archetypes, and plug-ins required by the SDK at the Maven local repository.

Before executing the install-maven-artifacts tool, be sure you set up Java and Maven properly on your development environment. Visit install ArcGIS Enterprise SDK and install Java and Maven for more details. Failure to install Java or Maven will result in issues running the install-maven-artifacts tool.

Linux

  1. Open the terminal and go to the /java/maven directory under Enterprise SDK:

    1
    [ags@linuxmachine ~]$ cd /home/ags/arcgis/enterprisesdk/java/maven/
  2. Use the sh command to run the install-maven-artifacts.sh Bash file:

    1
    [ags@linuxmachine maven]$ sh install-maven-artifacts.sh
  3. The following six items, arcgis-enterprise-sdk, sdk-plugin, rest-soe-archetype, soap-soe-archetype, rest-soap-soe-archetype, and soi-archetype, should be installed successfully with the Build Success status for each of them.

Windows

  1. Open the command prompt, and go to the /java/maven directory under Enterprise SDK:

    1
    C:\Users>cd "C:\Program Files\ArcGIS\EnterpriseSDK\Java\maven"
  2. Run the install-maven-artifacts.bat file.

    1
    C:\Program Files\ArcGIS\EnterpriseSDK\Java\maven>install-maven-artifacts.bat
  3. The following six items, arcgis-enterprise-sdk, sdk-plugin, rest-soe-archetype, soap-soe-archetype, rest-soap-soe-archetype, and soi-archetype, should be installed successfully with the Build Success status for each of them.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close