maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <l...@toolazydogs.com>
Subject Re: Maven GPG Plugin "double singing" artifacts
Date Wed, 02 Jun 2010 17:49:37 GMT
No forking.  You can look at my setup:

git://github.com/maguro/papoose-http.git


Regards,
Alan

On Jun 2, 2010, at 10:08 AM, Brian Fox wrote:

> Is there some plugin in your build that is forking the whole build?
> 
> On Wed, Jun 2, 2010 at 10:29 AM, Alan D. Cabrera <list@toolazydogs.com> wrote:
>> I have a root POM that defines are deploy profile that generates source, javadoc,
and signing.
>> 
>> When I use this profile:
>> 
>> mvn clean install -P deploy
>> 
>> My artifacts get doubly signed, e.g.
>> 
>> http://oss.sonatype.org/content/repositories/papoose-snapshots/org/papoose/cmpn/papoose-http/1.0-SNAPSHOT/papoose-http-1.0-20100602.142421-2-javadoc.jar.asc.asc
>> 
>> Does anyone know what I am doing wrong?
>> 
>> 
>> Regards,
>> Alan
>> 
>>    <profiles>
>> 
>>        <profile>
>>            <id>deploy</id>
>>            <activation>
>>                <activeByDefault>false</activeByDefault>
>>            </activation>
>> 
>>            <build>
>>                <plugins>
>>                    <plugin>
>>                        <groupId>org.apache.maven.plugins</groupId>
>>                        <artifactId>maven-gpg-plugin</artifactId>
>>                        <executions>
>>                            <execution>
>>                                <id>sign-artifacts</id>
>>                                <phase>verify</phase>
>>                                <goals>
>>                                    <goal>sign</goal>
>>                                </goals>
>>                            </execution>
>>                        </executions>
>>                    </plugin>
>>                    <plugin>
>>                        <groupId>org.apache.maven.plugins</groupId>
>>                        <artifactId>maven-javadoc-plugin</artifactId>
>>                        <executions>
>>                            <execution>
>>                                <id>attach-javadocs</id>
>>                                <goals>
>>                                    <goal>jar</goal>
>>                                </goals>
>>                            </execution>
>>                        </executions>
>>                    </plugin>
>>                    <plugin>
>>                        <groupId>org.apache.maven.plugins</groupId>
>>                        <artifactId>maven-source-plugin</artifactId>
>>                        <version>2.0.4</version>
>>                        <executions>
>>                            <execution>
>>                                <id>attach-sources</id>
>>                                <goals>
>>                                    <goal>jar</goal>
>>                                </goals>
>>                            </execution>
>>                        </executions>
>>                    </plugin>
>>                </plugins>
>> 
>>            </build>
>>        </profile>
>> 
>>    </profiles>
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message