How to change .soe file name using maven pom.xml

269
1
09-01-2023 11:13 AM
IakovMelnikov
New Contributor

I've created an SOI. Maven "install" goal creates .soe file (MySOI.soe). Is there a way to modify .soe file name ( i.e. append version number) in pom.xml so that the name MySOI.soe becomes MySOIv1.0.soe?

Here is an extract from pom.xml:

<plugin>
    <groupId>com.esri.arcgis.enterprise.sdk</groupId>
    <artifactId>sdk-plugin</artifactId>
    <version>10.9.1</version>
    <dependencies>
        <!-- Include any additional plugin dependencies here if needed -->
    </dependencies>
    <configuration>
        <configProp>
            <Version>1.0</Version>
            <Author>AuthorName</Author>
            <Company>CompanyName</Company>
            <TARGETS>10.9</TARGETS> <!-- Required -->
        </configProp>
    </configuration>
    <executions>
        <execution>
            <id>package-soe-goal</id>
            <phase>package</phase>
            <goals>
                <goal>package-soe</goal>
            </goals>
        </execution>
    </executions>
</plugin>

0 Kudos
1 Reply
Amir-Sarrafzadeh-Arasi
Occasional Contributor

Dear IakovMelnikov,

I hope you are doing well,

 

If you want to change the name of the .soe file you should change the value inside "artifactId".

For example you should do that: <artifactId>MySOIv1.0</artifactId>.

After changing the value you should reload project from the .pom file.

If you need more clarification please let me know.

 

Sincerely yours,

Amir Sarrafzadeh Arasi

Amir Sarrafzadeh Arasi