You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.codehaus.sonar</groupId>
  6. <artifactId>sonar</artifactId>
  7. <version>3.5-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>sonar-batch-maven-compat</artifactId>
  10. <name>Sonar :: Batch Maven Compat</name>
  11. <description>Compatibility layer, which provides MavenProject for non-Maven environments.</description>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.apache.maven</groupId>
  15. <artifactId>maven-project</artifactId>
  16. <version>2.0.7</version>
  17. <scope>compile</scope>
  18. <exclusions>
  19. <exclusion>
  20. <groupId>org.codehaus.plexus</groupId>
  21. <artifactId>plexus-container-default</artifactId>
  22. </exclusion>
  23. </exclusions>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-shade-plugin</artifactId>
  31. <executions>
  32. <execution>
  33. <phase>package</phase>
  34. <goals>
  35. <goal>shade</goal>
  36. </goals>
  37. </execution>
  38. </executions>
  39. </plugin>
  40. </plugins>
  41. </build>
  42. <profiles>
  43. <profile>
  44. <id>release</id>
  45. <build>
  46. <plugins>
  47. <plugin>
  48. <artifactId>maven-deploy-plugin</artifactId>
  49. <configuration>
  50. <skip>true</skip>
  51. </configuration>
  52. </plugin>
  53. </plugins>
  54. </build>
  55. </profile>
  56. </profiles>
  57. </project>