3939 <plugin >
4040 <artifactId >maven-antrun-plugin</artifactId >
4141 <executions >
42- <execution >
43- <id >run-ant-installer-target</id >
44- <phase >package</phase >
45- <goals >
46- <goal >run</goal >
47- </goals >
48- <configuration >
49- <target >
50- <property name =" home" value =" ${main.basedir}" />
51- <property name =" version" value =" ${project.version}" />
52- <property name =" revision" value =" ${git.commitsCount}" />
53- <property name =" skip" value =" ${skipSign}" />
54- <ant antfile =" ${project.basedir}/build.xml" target =" package" dir =" ." />
55- </target >
56- </configuration >
57- </execution >
58- <execution >
59- <id >run-ant-deploy-target</id >
60- <phase >deploy</phase >
61- <goals >
62- <goal >run</goal >
63- </goals >
64- <configuration >
65- <target >
66- <property name =" home" value =" ${main.basedir}" />
67- <property name =" version" value =" ${project.version}" />
68- <property name =" revision" value =" ${git.commitsCount}" />
69- <property name =" hash" value =" ${git.revision}" />
70- <property name =" sparkle.feed" value =" ${sparkle.feed}" />
71- <ant antfile =" ${project.basedir}/build.xml" target =" deploy" dir =" ." />
72- </target >
73- </configuration >
74- </execution >
7542 <execution >
7643 <id >pack-nupkg</id >
7744 <phase >none</phase >
11784 </dependency >
11885 </dependencies >
11986 </profile >
87+ <profile >
88+ <id >installer</id >
89+ <activation >
90+ <property >
91+ <name >env.JENKINS_HOME</name >
92+ </property >
93+ <os >
94+ <family >Windows</family >
95+ </os >
96+ </activation >
97+ <build >
98+ <plugins >
99+ <plugin >
100+ <artifactId >maven-antrun-plugin</artifactId >
101+ <executions >
102+ <execution >
103+ <id >run-ant-installer-target</id >
104+ <phase >package</phase >
105+ <goals >
106+ <goal >run</goal >
107+ </goals >
108+ <configuration >
109+ <target >
110+ <property name =" home" value =" ${main.basedir}" />
111+ <property name =" version" value =" ${project.version}" />
112+ <property name =" revision" value =" ${git.commitsCount}" />
113+ <property name =" skip" value =" ${skipSign}" />
114+ <ant antfile =" ${project.basedir}/build.xml" target =" package" dir =" ." />
115+ </target >
116+ </configuration >
117+ </execution >
118+ <execution >
119+ <id >run-ant-deploy-target</id >
120+ <phase >deploy</phase >
121+ <goals >
122+ <goal >run</goal >
123+ </goals >
124+ <configuration >
125+ <target >
126+ <property name =" home" value =" ${main.basedir}" />
127+ <property name =" version" value =" ${project.version}" />
128+ <property name =" revision" value =" ${git.commitsCount}" />
129+ <property name =" hash" value =" ${git.revision}" />
130+ <property name =" sparkle.feed" value =" ${sparkle.feed}" />
131+ <ant antfile =" ${project.basedir}/build.xml" target =" deploy" dir =" ." />
132+ </target >
133+ </configuration >
134+ </execution >
135+ </executions >
136+ </plugin >
137+ </plugins >
138+ </build >
139+ </profile >
120140 </profiles >
121141</project >
0 commit comments