randombits-org / gwt-dispatch

Implements a reusable 'command pattern' API for GWT.
10 stars 1 forks source link

Deploy gwt-dispatch on Maven Central #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GWT-dispatch is not present on Maven Central. I have made all changes
needed to get the jars on Central in a clone -
http://code.google.com/r/robertmunteanu-central/source/browse .

I finish the process of getting the build artefacts on Central but I need
approval from one of the developers so that I can do this on behalf of the
project. Once this is done, additional developers can be added to the
deployers list ( see
http://nexus.sonatype.org/oss-repository-hosting.html#12 ).

Original issue reported on code.google.com by robert.munteanu on 25 Apr 2010 at 2:44

GoogleCodeExporter commented 9 years ago
Hi Robert,

Can you point me towards the sonatype documentation for the deployment process, 
as well as 'deployers list'? I 
couldn't spot it on that link...

I'll work on getting your changes pulled back in shortly.

Original comment by Bitmei...@gmail.com on 26 Apr 2010 at 1:00

GoogleCodeExporter commented 9 years ago
I've pulled in your changes. Let me know if I missed anything.

Also, could you check out the equivalent changes for gwt-presenter:

http://code.google.com/p/gwt-presenter/source/detail?r=9a2bd19fcf

Let me know if I've missed anything.

Original comment by Bitmei...@gmail.com on 26 Apr 2010 at 1:37

GoogleCodeExporter commented 9 years ago
The Sonatype documentation you're looking for is

- http://nexus.sonatype.org/oss-repository-hosting.html#1 ( Sign Up)
- http://nexus.sonatype.org/oss-repository-hosting.html#2 ( Create a Jira 
Ticket )

The extra deploying users list faq is http://nexus.sonatype.org/oss-repository-
hosting.html#12 ( Q. Can I get additional nexus accounts for the CI server and 
other 
team members of my project? ), and says:

"A. Yes, you can. First sign up these accounts on http://oss.sonatype.org, then 
leave 
a comment on you JIRA ticket with these usernames. We will assign appropriate 
roles 
for them."

Original comment by robert.munteanu on 26 Apr 2010 at 6:23

GoogleCodeExporter commented 9 years ago
I've created a request to get gwt-dispatch added at Sonatype. Request is logged 
here:

https://issues.sonatype.org/browse/OSSRH-437

Original comment by Bitmei...@gmail.com on 27 Apr 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Repository has been created at Sonatype. Required change for the group ID to 
'net.customware.gwt'.

Original comment by Bitmei...@gmail.com on 27 Apr 2010 at 10:54

GoogleCodeExporter commented 9 years ago
Never mind - groupId is back to 'net.customware.gwt.dispatch'.

Original comment by Bitmei...@gmail.com on 27 Apr 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Are -sources jars deployed as well? Searching ( 
http://oss.sonatype.org/index.html#nexus-search;quick~gwt-dispatch ) seems to 
suggest 
that only the classes jars are included. 

Original comment by robert.munteanu on 27 Apr 2010 at 11:11

GoogleCodeExporter commented 9 years ago
I just ran 'mvn deploy', which seems to only do jars by default. A full 
'release' would deploy sources and javadocs 
also.

Do you know what is required to deploy sources as well?

Original comment by Bitmei...@gmail.com on 27 Apr 2010 at 11:22

GoogleCodeExporter commented 9 years ago
Either run mvn source:jar deploy or add the following to the pom.xml

 <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <executions>
        <execution>
            <id>attach-sources</id>
            <goals>
                <goal>jar</goal>
            </goals>
         </execution>
     </executions>
 </plugin>

Original comment by robert.munteanu on 27 Apr 2010 at 11:29

GoogleCodeExporter commented 9 years ago
Ok, done for both projects.

Original comment by Bitmei...@gmail.com on 27 Apr 2010 at 12:22