AnsweredAssumed Answered

How to use custom WAR with Maven SDK 2.0

Question asked by iblanco on Mar 23, 2015
Latest reply on Mar 31, 2015 by iblanco
Hello everyone,

I'm investing some time in reading and making some tests with the newish development approach introduced with Maven SDK 2.0.

I have created a new customization project using the all-in-one archetype and it works ok but I can't figure out how to use my own Alfresco 5.0.c WAR file instead of the vanilla one.

I've seen this excerpt in repo-amp's pom file:


    <properties>
        <!– Defines the target WAR artifactId to run this amp, only used with the -Pamp-to-war switch
        .    | Allowed values: alfresco | share. Defaults to a repository AMP, but could point to your custom corporate Alfresco WAR –>
        <alfresco.client.war>alfresco</alfresco.client.war>
    </properties>


So it seems to be possible but not sure how to achieve it, I've tried changing that value for a random text to see if it made any change in the run process but to no avail.

Is it possible at all?

Outcomes