|
279 | 279 |
|
280 | 280 | <dependency>
|
281 | 281 | <groupId>net.sf.smc</groupId>
|
282 |
| - <artifactId>statemap</artifactId> |
| 282 | + <artifactId>library</artifactId> |
| 283 | + <version>${version.smc}</version> |
283 | 284 | </dependency>
|
284 | 285 |
|
285 | 286 | <dependency>
|
|
384 | 385 | </dependencies>
|
385 | 386 |
|
386 | 387 | <build>
|
| 388 | + <resources> |
| 389 | + <resource> |
| 390 | + <directory>${project.build.directory}/generated-resources/smc-graphs</directory> |
| 391 | + <includes> |
| 392 | + <include>**/*.dot</include> |
| 393 | + </includes> |
| 394 | + </resource> |
| 395 | + </resources> |
387 | 396 | <plugins>
|
388 | 397 | <plugin>
|
389 |
| - <groupId>org.codehaus.mojo</groupId> |
| 398 | + <groupId>net.sf.smc</groupId> |
390 | 399 | <artifactId>smc-maven-plugin</artifactId>
|
391 |
| - <version>1.0-alpha-1</version> |
| 400 | + <version>${version.smc}</version> |
392 | 401 | <executions>
|
393 | 402 | <execution>
|
| 403 | + <id>src-build</id> |
| 404 | + <phase>generate-sources</phase> |
| 405 | + <goals> |
| 406 | + <goal>smc</goal> |
| 407 | + </goals> |
| 408 | + <configuration> |
| 409 | + <sources> |
| 410 | + <source>org/dcache/pool/migration/Task.sm</source> |
| 411 | + <source>org/dcache/pool/p2p/Companion.sm</source> |
| 412 | + </sources> |
| 413 | + <targetLanguage>java7</targetLanguage> |
| 414 | + </configuration> |
| 415 | + </execution> |
| 416 | + <execution> |
| 417 | + <id>graphviz-build</id> |
| 418 | + <phase>generate-resources</phase> |
394 | 419 | <goals>
|
395 | 420 | <goal>smc</goal>
|
396 | 421 | </goals>
|
| 422 | + <configuration> |
| 423 | + <sourceDirectory>${project.basedir}/src/main/smc</sourceDirectory> |
| 424 | + <targetDirectory>${project.build.directory}/generated-resources/smc-graphs</targetDirectory> |
| 425 | + <sources> |
| 426 | + <source>org/dcache/pool/migration/Task.sm</source> |
| 427 | + <source>org/dcache/pool/p2p/Companion.sm</source> |
| 428 | + </sources> |
| 429 | + <targetLanguage>graph</targetLanguage> |
| 430 | + <glevel>2</glevel> |
| 431 | + </configuration> |
397 | 432 | </execution>
|
398 | 433 | </executions>
|
399 | 434 | <configuration>
|
|
402 | 437 | <dependencies>
|
403 | 438 | <dependency>
|
404 | 439 | <groupId>net.sf.smc</groupId>
|
405 |
| - <artifactId>smc</artifactId> |
| 440 | + <artifactId>main</artifactId> |
406 | 441 | <version>${version.smc}</version>
|
407 | 442 | </dependency>
|
408 | 443 | </dependencies>
|
|
482 | 517 | </pluginExecution>
|
483 | 518 | <pluginExecution>
|
484 | 519 | <pluginExecutionFilter>
|
485 |
| - <groupId>org.codehaus.mojo</groupId> |
| 520 | + <groupId>net.sf.smc</groupId> |
486 | 521 | <artifactId>smc-maven-plugin</artifactId>
|
487 |
| - <versionRange>[1.0-alpha-1,)</versionRange> |
| 522 | + <versionRange>[${version.smc},)</versionRange> |
488 | 523 | <goals>
|
489 | 524 | <goal>smc</goal>
|
490 | 525 | </goals>
|
|
0 commit comments