Browse Source

disable unique version in snapshot repo, so as we can upload multiple classifier

tags/release-1.3.2
Manolo Carrasco 13 years ago
parent
commit
1478ca2cd8
2 changed files with 55 additions and 16 deletions
  1. 47
    16
      gwtquery-core-2.2.0/pom.xml
  2. 8
    0
      pom.xml

+ 47
- 16
gwtquery-core-2.2.0/pom.xml View File

<build> <build>
<finalName>gwtquery-${version}-${artifactId}</finalName> <finalName>gwtquery-${version}-${artifactId}</finalName>
<plugins> <plugins>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<file>${project.build.directory}/gwtquery-${version}-${artifactId}.jar</file>
<repositoryId>sonatype-nexus-snapshots</repositoryId>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<packaging>jar</packaging>
<artifactId>gwtquery</artifactId>
<groupId>${groupId}</groupId>
<version>${version}</version>
<classifier>${artifactId}</classifier>
<generatePom>true</generatePom>
<uniqueVersion>false</uniqueVersion>
</configuration>
</execution>
</executions>
<configuration>
<skip>true </skip>
</configuration>
</plugin>

<plugin> <plugin>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<executions> <executions>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-resources</source>
</sources>
</configuration>
</execution>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-resources</source>
</sources>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>

<resources> <resources>
<resource> <resource>
<directory>${project.build.directory}/generated-resources/</directory> <directory>${project.build.directory}/generated-resources/</directory>
</resource> </resource>
</resources> </resources>

</build> </build>
</project> </project>

+ 8
- 0
pom.xml View File

<version>3</version> <version>3</version>
</parent> </parent>


<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>

<developers> <developers>
<developer> <developer>
<id>ray</id> <id>ray</id>

Loading…
Cancel
Save