diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-19 02:20:45 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-24 01:14:07 +0300 |
commit | 6b5035087075113699015583fd4d76b75bf36894 (patch) | |
tree | 97a3a3ef3be082d68db071405f7aab50d4963a19 /sonar-batch-maven-compat | |
parent | a1fca497333231931a3df3e3973918ade12ab6bc (diff) | |
download | sonarqube-6b5035087075113699015583fd4d76b75bf36894.tar.gz sonarqube-6b5035087075113699015583fd4d76b75bf36894.zip |
SONAR-2106: New Java library to bootstrap project analysis
* Add BatchResourcesServlet to allow downloading libraries from server
* Create in memory POM for non-maven environments
* Provide fake MavenPluginExecutor for non-maven environments
* Add new module sonar-batch-maven-compat with shaded maven-project
Diffstat (limited to 'sonar-batch-maven-compat')
-rw-r--r-- | sonar-batch-maven-compat/pom.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sonar-batch-maven-compat/pom.xml b/sonar-batch-maven-compat/pom.xml new file mode 100644 index 00000000000..1ebefa3e077 --- /dev/null +++ b/sonar-batch-maven-compat/pom.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar</artifactId> + <version>2.6-SNAPSHOT</version> + </parent> + + <artifactId>sonar-batch-maven-compat</artifactId> + <name>Sonar :: Batch Maven Compat</name> + <description>Compatibility layer, which provides MavenProject for non-Maven environments.</description> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-project</artifactId> + <version>2.0.7</version> + <scope>compile</scope> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-container-default</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |