Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. $> tree
  2. .
  3. ├── pom.xml
  4. ├── symbolic-link-to-sources -> ../src
  5. └── target
  6. ├── maven-archiver
  7. │   └── pom.properties
  8. ├── project-1.0-SNAPSHOT-sources.jar
  9. ├── project-1.0-SNAPSHOT.jar
  10. └── surefire
  11.  
  12. <plugin>
  13. <groupId>org.apache.maven.plugins</groupId>
  14. <artifactId>maven-source-plugin</artifactId>
  15. <version>2.2.1</version>
  16. <configuration>
  17. <includePom>true</includePom>
  18. <includes>
  19. <include>symbolic-link-to-sources/**</include>
  20. </includes>
  21. </configuration>
  22. </plugin>
  23.  
  24. <plugin>
  25. <groupId>org.codehaus.mojo</groupId>
  26. <artifactId>build-helper-maven-plugin</artifactId>
  27. <executions>
  28. <execution>
  29. <phase>generate-sources</phase>
  30. <goals>
  31. <goal>add-source</goal>
  32. </goals>
  33. <configuration>
  34. <sources>
  35. <source>../common/src/main/java</source>
  36. </sources>
  37. </configuration>
  38. </execution>
  39. </executions>
  40. </plugin>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-source-plugin</artifactId>
  44. </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement