|
16 | 16 | <parent> |
17 | 17 | <groupId>com.ibm.sbt</groupId> |
18 | 18 | <artifactId>com.ibm.sbt</artifactId> |
19 | | - <version>1.1.11-SNAPSHOT</version> |
| 19 | + <version>1.1.11.20151208-1200</version> |
20 | 20 | </parent> |
21 | 21 |
|
22 | 22 | <build> |
|
96 | 96 | --> |
97 | 97 | <execution> |
98 | 98 | <id>download-sources</id> |
99 | | - <phase>generate-resources</phase> |
| 99 | + <!-- generate-resources was the original --> |
| 100 | + <phase>deploy</phase> |
100 | 101 | <goals> |
101 | 102 | <goal>wget</goal> |
102 | 103 | </goals> |
|
110 | 111 | </execution> |
111 | 112 | <execution> |
112 | 113 | <id>download-sources-ios</id> |
113 | | - <phase>generate-resources</phase> |
| 114 | + <!-- generate-resources was the original --> |
| 115 | + <phase>deploy</phase> |
114 | 116 | <goals> |
115 | 117 | <goal>wget</goal> |
116 | 118 | </goals> |
|
299 | 301 | --> |
300 | 302 | <plugin> |
301 | 303 | <artifactId>maven-antrun-plugin</artifactId> |
302 | | - <version>1.7</version> |
| 304 | + <version>1.8</version> |
303 | 305 | <executions> |
| 306 | + <!-- Automates the movement of the js files to the approved assembly |
| 307 | + location --> |
304 | 308 | <execution> |
| 309 | + <id>move-cdnjs</id> |
| 310 | + |
| 311 | + <!-- phase selected is deploy - ONLY EXECUTED WHEN DEPLOY/INSTALL to Nexus. to debug use clean --> |
| 312 | + <phase>deploy</phase> |
| 313 | + <goals> |
| 314 | + <goal>run</goal> |
| 315 | + </goals> |
| 316 | + <configuration> |
| 317 | + <target> |
| 318 | + <ant antfile="deploy-cdnjs.xml" /> |
| 319 | + <echo message="Finished Calling Target" /> |
| 320 | + </target> |
| 321 | + |
| 322 | + </configuration> |
| 323 | + </execution> |
| 324 | + <!-- Optimization for Deploy only downloads - generates dummy files and directories for the assembly portion --> |
| 325 | + <!--execution> |
| 326 | + <id>make-source-directory</id> |
| 327 | + <phase>generate-sources</phase> |
| 328 | + <configuration> |
| 329 | + <target> |
| 330 | + <mkdir dir="${project.build.directory}/sources/SocialSDK-iOS"/> |
| 331 | + <touch file="${project.build.directory}/sources/SocialSDK-iOS/blank"/> |
| 332 | + <mkdir dir="${project.build.directory}/sources/SocialSDK"/> |
| 333 | + <touch file="${project.build.directory}/sources/SocialSDK/blank"/> |
| 334 | + </target> |
| 335 | + </configuration> |
| 336 | + </execution--> |
| 337 | + <!-- Set the Execution to Ignore --> |
| 338 | + <!-- Remove Other Sources --> |
| 339 | + <!--execution> |
| 340 | + |
305 | 341 | <id>removedownloads</id> |
306 | 342 | <phase>generate-sources</phase> |
307 | 343 | <configuration> |
308 | 344 | <target> |
309 | | - <!-- Remove Tomcat --> |
310 | | - <!-- Not Used - |
311 | | - <delete dir="${project.build.directory}/tomcat/unzip" /> |
312 | | - --> |
313 | | - <!-- Remove Other Sources --> |
314 | 345 | <delete dir="${project.build.directory}/sources" /> |
315 | 346 |
|
316 | 347 | </target> |
317 | 348 | </configuration> |
318 | 349 | </execution> |
| 350 | + --> |
319 | 351 | <execution> |
320 | 352 | <id>tomcat</id> |
321 | 353 | <phase>package</phase> |
|
350 | 382 | <copy |
351 | 383 | file="./../assembly/platform/tomcat/server.xml" |
352 | 384 | todir="${project.build.directory}/tomcat/unzip/apache-tomcat-7.0.61/conf" overwrite="true" /> |
| 385 | + |
353 | 386 | --> |
| 387 | + |
| 388 | + <!-- Creates an Empty Directory --> |
| 389 | + <!-- Package Only Execution |
354 | 390 | <path id="source_folder_name"> |
355 | 391 | <dirset dir="${project.build.directory}/sources/SocialSDK"> |
356 | 392 | <include name="SocialSDK*" /> |
357 | 393 | </dirset> |
358 | 394 | </path> |
359 | 395 | <property name="psource_folder_name" refid="source_folder_name" /> |
| 396 | + |
| 397 | + |
| 398 | + <mkdir dir="/assembly/target/sources/SocialSDK"/> |
| 399 | + <mkdir dir="/assembly/target/sources/SocialSDK-iOS"/> |
| 400 | + <touch file="/assembly/target/sources/SocialSDK-iOS/dummy"/> |
| 401 | + <touch file="/assembly/target/sources/SocialSDK/dummy"/> |
| 402 | + <touch file="/assembly/target/sources/SocialSDK-iOS/SocialSDK-dummy"/> |
| 403 | + <touch file="/assembly/target/sources/SocialSDK/SocialSDK-dummy"/> |
| 404 | + |
| 405 | + |
360 | 406 | <move todir="${project.build.directory}/sources/SocialSDK"> |
361 | 407 | <fileset dir="${psource_folder_name}"> |
362 | 408 | <include name="**/*" /> |
|
376 | 422 | </fileset> |
377 | 423 | </move> |
378 | 424 | <delete dir="${psource_folder_name_ios}" /> |
379 | | - |
| 425 | + --> |
| 426 | + |
380 | 427 | <!-- PBastide - Removed Tomcat --> |
381 | 428 | <!-- |
382 | 429 | <zip basedir="${project.build.directory}/tomcat/unzip" |
383 | 430 | destfile="${project.build.directory}/tomcat/apache-tomcat-7.0.61-sbt.zip" |
384 | 431 | compress="true" /> |
385 | 432 | --> |
386 | 433 | <!-- PBastide: Changed the Zip File to Kit --> |
387 | | - <zip basedir="${project.build.directory}/sources/SocialSDK" |
| 434 | + <!--zip basedir="${project.build.directory}/sources/SocialSDK" |
388 | 435 | destfile="${workingDir}/kit/SocialSDK-${project.version}.zip" |
389 | 436 | compress="true" /> |
390 | 437 | <zip basedir="${project.build.directory}/sources/SocialSDK-iOS" |
391 | 438 | destfile="${workingDir}/kit/SocialSDK-iOS-${project.version}.zip" |
392 | | - compress="true" /> |
| 439 | + compress="true" /--> |
| 440 | + |
| 441 | + <move file="${project.build.directory}/sources/SocialSDK-iOS/SocialSDK-iOS.zip" tofile="${workingDir}/kit/SocialSDK-iOS-${project.version}.zip" quiet="true" failonerror="false"/> |
| 442 | + <move file="${project.build.directory}/sources/SocialSDK/SocialSDK.zip" tofile="${workingDir}/kit/SocialSDK-${project.version}.zip" quiet="true" failonerror="false"/> |
393 | 443 | </target> |
394 | 444 | </configuration> |
395 | 445 | <goals> |
|
430 | 480 | <groupId>com.ibm.sbt</groupId> |
431 | 481 | <artifactId>sbt.dojo180</artifactId> |
432 | 482 |
|
433 | | - <version>1.1.11-SNAPSHOT</version> |
| 483 | + <version>1.1.11.20151208-1200</version> |
434 | 484 | <type>war</type> |
435 | 485 | </dependency> |
436 | 486 | <dependency> |
437 | 487 | <groupId>com.ibm.sbt</groupId> |
438 | 488 | <artifactId>sbt.jquery182</artifactId> |
439 | 489 |
|
440 | | - <version>1.1.11-SNAPSHOT</version> |
| 490 | + <version>1.1.11.20151208-1200</version> |
441 | 491 | <type>war</type> |
442 | 492 | </dependency> |
443 | 493 | <dependency> |
444 | 494 | <groupId>com.ibm.sbt</groupId> |
445 | 495 | <artifactId>sbt.bootstrap211</artifactId> |
446 | 496 |
|
447 | | - <version>1.1.11-SNAPSHOT</version> |
| 497 | + <version>1.1.11.20151208-1200</version> |
448 | 498 | <type>war</type> |
449 | 499 | </dependency> |
450 | 500 | <dependency> |
451 | 501 | <groupId>com.ibm.sbt</groupId> |
452 | 502 | <artifactId>sbt.sample.web</artifactId> |
453 | 503 |
|
454 | | - <version>1.1.11-SNAPSHOT</version> |
| 504 | + <version>1.1.11.20151208-1200</version> |
455 | 505 | <type>war</type> |
456 | 506 | </dependency> |
457 | 507 |
|
|
520 | 570 | <groupId>com.ibm.sbt</groupId> |
521 | 571 | <artifactId>com.ibm.sbt.web</artifactId> |
522 | 572 |
|
523 | | - <version>1.1.11-SNAPSHOT</version> |
| 573 | + <version>1.1.11.20151208-1200</version> |
524 | 574 | <type>war</type> |
525 | 575 | </dependency> |
526 | 576 |
|
527 | 577 | <dependency> |
528 | 578 | <groupId>com.ibm.sbt</groupId> |
529 | 579 | <artifactId>com.ibm.commons</artifactId> |
530 | | - <version>1.1.11-SNAPSHOT</version> |
| 580 | + <version>1.1.11.20151208-1200</version> |
531 | 581 | </dependency> |
532 | 582 | <dependency> |
533 | 583 | <groupId>com.ibm.sbt</groupId> |
534 | 584 | <artifactId>com.ibm.commons.runtime</artifactId> |
535 | | - <version>1.1.11-SNAPSHOT</version> |
| 585 | + <version>1.1.11.20151208-1200</version> |
536 | 586 | </dependency> |
537 | 587 | <dependency> |
538 | 588 | <groupId>com.ibm.sbt</groupId> |
539 | 589 | <artifactId>com.ibm.commons.xml</artifactId> |
540 | | - <version>1.1.11-SNAPSHOT</version> |
| 590 | + <version>1.1.11.20151208-1200</version> |
541 | 591 | </dependency> |
542 | 592 |
|
543 | 593 | <!-- |
|
553 | 603 | <dependency> |
554 | 604 | <groupId>com.ibm.sbt</groupId> |
555 | 605 | <artifactId>com.ibm.sbt.php.wordpress</artifactId> |
556 | | - <version>1.1.11-SNAPSHOT</version> |
| 606 | + <version>1.1.11.20151208-1200</version> |
557 | 607 | <type>zip</type> |
558 | 608 | </dependency> |
559 | 609 | <dependency> |
560 | 610 | <groupId>com.ibm.sbt</groupId> |
561 | 611 | <artifactId>com.ibm.sbt.php.core</artifactId> |
562 | | - <version>1.1.11-SNAPSHOT</version> |
| 612 | + <version>1.1.11.20151208-1200</version> |
563 | 613 | <type>zip</type> |
564 | 614 | </dependency> |
565 | 615 | <dependency> |
566 | 616 | <groupId>com.ibm.sbt</groupId> |
567 | 617 | <artifactId>com.ibm.sbt.php.moodle</artifactId> |
568 | | - <version>1.1.11-SNAPSHOT</version> |
| 618 | + <version>1.1.11.20151208-1200</version> |
569 | 619 | <type>zip</type> |
570 | 620 | </dependency> |
571 | 621 | </dependencies> |
|
0 commit comments