mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-06-02 17:35:25 +00:00
Merge pull request #354 from michaeljmuller/chmod
make run.sh executable during the "validation" phase of the build
This commit is contained in:
commit
a4711142e6
@ -104,5 +104,35 @@
|
|||||||
<maven.alfresco.includeWebResources>false</maven.alfresco.includeWebResources>
|
<maven.alfresco.includeWebResources>false</maven.alfresco.includeWebResources>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<!-- if we're on a unix machine, chmod run.sh to be executable -->
|
||||||
|
<profile>
|
||||||
|
<id>chmod</id>
|
||||||
|
<activation><os><family>unix</family></os></activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>1.2.1</version>
|
||||||
|
<inherited>false</inherited>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>chmod</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals><goal>exec</goal></goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<executable>chmod</executable>
|
||||||
|
<arguments>
|
||||||
|
<argument>+x</argument>
|
||||||
|
<argument>${basedir}/run.sh</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user