Skip to content

Commit

Permalink
Sources on GitHub, Distribution via Bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed Oct 17, 2014
1 parent 7ce4cf9 commit d773df8
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 109 deletions.
28 changes: 3 additions & 25 deletions agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,6 @@
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>aprof-src-assembly</id>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.build.finalName}</finalName>
<descriptors>
<descriptor>src/assembly/src.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>aprof-bin-assembly</id>
<phase>package</phase>
Expand All @@ -132,6 +119,7 @@
<goal>run</goal>
</goals>
<configuration>
<skip>${skipTests}</skip>
<target>
<!-- default configuration -->
<java fork="true" dir="${project.build.directory}" jar="${project.build.directory}/aprof.jar" failonerror="true">
Expand All @@ -147,26 +135,16 @@
<arg value="selftest" />
<arg value="all" />
</java>
<!-- with allocation elimination checking instrumentation -->
<java fork="true" dir="${project.build.directory}" jar="${project.build.directory}/aprof.jar" failonerror="true">
<jvmarg value="-ea" />
<jvmarg value="-XX:+UnlockDiagnosticVMOptions" />
<jvmarg value="-XX:+LogCompilation" />
<jvmarg value="-javaagent:aprof.jar=+check.eliminate.allocation" />
<arg value="selftest" />
<arg value="all" />
</java>
</target>
</configuration>

</execution>
</executions>
</plugin>

<!-- Deploy to temporary staging directory -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>false</skip>
<skip>${deploy.skip}</skip>
</configuration>
</plugin>
</plugins>
Expand Down
42 changes: 0 additions & 42 deletions agent/src/assembly/src.xml

This file was deleted.

95 changes: 53 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses />.
--><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">
-->
<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>

<groupId>com.devexperts.aprof</groupId>
Expand All @@ -24,6 +26,8 @@
<packaging>pom</packaging>

<name>Aprof</name>
<description>Java Memory Allocation Profiler</description>

<url>http://code.devexperts.com/display/Aprof</url>

<properties>
Expand All @@ -32,10 +36,18 @@
</properties>

<scm>
<connection>scm:svn:http://svn-code.devexperts.com/code/aprof/trunk</connection>
<developerConnection>scm:svn:http://svn-code.devexperts.com/coderw/aprof/trunk</developerConnection>
<connection>scm:git:https://github.com/Devexperts/aprof.git</connection>
<developerConnection>scm:git:ssh://git.in.devexperts.com/aprof</developerConnection>
</scm>

<distributionManagement>
<repository>
<id>bintray-devexperts</id>
<name>devexperts-maven-aprof</name>
<url>https://api.bintray.com/maven/devexperts/Maven/aprof</url>
</repository>
</distributionManagement>

<modules>
<module>transformer</module>
<module>core</module>
Expand All @@ -44,6 +56,32 @@
<module>benchmark</module>
</modules>

<profiles>
<!-- No deployment for SNAPSHOT -->
<profile>
<id>snapshot-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<deploy.skip>true</deploy.skip>
</properties>
</profile>
<!-- Deployment for release only -->
<profile>
<id>release-profile</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<deploy.skip>false</deploy.skip>
</properties>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>junit</groupId>
Expand All @@ -66,38 +104,14 @@
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagBase>http://svn-code.devexperts.com/coderw/aprof/tags</tagBase>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<skip>true</skip>
<skip>true</skip> <!-- will deploy only agent module and only during release -->
</configuration>
<!-- deploy to SVN does via wagon not work without explicitly declared dependencies -->
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -110,15 +124,16 @@
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-maven-plugin</artifactId>
<extensions>true</extensions>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<DependencyConvergence />
<DependencyConvergence/>
<requireMavenVersion>
<version>3.0.4</version>
</requireMavenVersion>
Expand All @@ -137,8 +152,8 @@
</execution>
</executions>
</plugin>

</plugins>

<pluginManagement>
<plugins>
<plugin>
Expand Down Expand Up @@ -169,6 +184,10 @@
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
Expand All @@ -185,12 +204,4 @@
</plugins>
</pluginManagement>
</build>

<distributionManagement>
<repository>
<id>remote-repository</id>
<name>Subversion Repository</name>
<url>scm:svn:http://svn-code.devexperts.com/coderw/aprof/releases</url>
</repository>
</distributionManagement>
</project>
</project>

0 comments on commit d773df8

Please sign in to comment.