Просмотр исходного кода

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

tags/release-1.3.2
Manolo Carrasco 13 лет назад
Родитель
Сommit
1478ca2cd8
2 измененных файлов: 55 добавлений и 16 удалений
  1. 47
    16
      gwtquery-core-2.2.0/pom.xml
  2. 8
    0
      pom.xml

+ 47
- 16
gwtquery-core-2.2.0/pom.xml Просмотреть файл

@@ -36,6 +36,34 @@
<build>
<finalName>gwtquery-${version}-${artifactId}</finalName>
<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>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
@@ -52,29 +80,32 @@
</execution>
</executions>
</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>
</plugin>
</plugins>

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

</build>
</project>

+ 8
- 0
pom.xml Просмотреть файл

@@ -19,6 +19,14 @@
<version>3</version>
</parent>

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

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

Загрузка…
Отмена
Сохранить