Maven Upload Requests

AspectJ upload: 1.5.4 and beyond (raised by AspectJ Committer)

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Resolution: Fixed
  • Labels:
    None

Description

Hi - I am the lead committer on AspectJ. We've had various requests to upload artifacts to maven in the past and previously members of the community have kindly done it for us - but I'd like us to start doing it, and doing it as part of the build/release process so they are available as soon as possible after release. I have to admit I don't know a lot about maven - but I've been talking to the spring guys about how they do it. There is already a group in the maven repo called 'aspectj' with our 3 jars in it, but I think it ought to more properly be called org.aspectj. I've created an area in my eclipse CVS that represents the repository that I'd like to sync with maven, the root is here:

http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/releases/repo?root=Tools_Project

I then started writing an upload script but immediately i seem to have hit a snag as dev.eclipse.org is CVS and I couldn't (from the instructions and the few example scripts I looked at) identify whether CVS connections were supported or if I would have to use rsync. So I thought I would open this request to see if CVS was supported or if you already had a process for grabbing stuff from the eclipse servers?

The beginnings of my script are here:

http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/releases/org.aspectj.sh?root=Tools_Project&view=markup

And I've also asked the eclipse webmaster if other projects are doing this, and whether we support rsync on dev.eclipse.org.

If you can possibly let me know if there is anything I can do (or if I need to put the jars somewhere more easily accessible on a subversion repository) - and I'll get it done and hopefully reduce the number of future requests for AspectJ uploads.

cheers,
Andy

Activity

Hide
Carlos Sanchez added a comment -
rsync is the preferred way. I did some hacking for Spring svn but I'd rather not do it again

After a quick look at your repo:
- If you want to use org.aspectj then the poms need to have that as groupId
- please provide md5 and sha1 checksums for all files
- jars must have the version in the name (eg aspectjrt-1.5.3.jar)
- if you want you can also add sources and javadoc (eg aspectjrt-1.5.3-sources.jar and aspectjrt-1.5.3-javadoc.jar) in the same folder the binary jar is

Show
Carlos Sanchez added a comment - rsync is the preferred way. I did some hacking for Spring svn but I'd rather not do it again After a quick look at your repo: - If you want to use org.aspectj then the poms need to have that as groupId - please provide md5 and sha1 checksums for all files - jars must have the version in the name (eg aspectjrt-1.5.3.jar) - if you want you can also add sources and javadoc (eg aspectjrt-1.5.3-sources.jar and aspectjrt-1.5.3-javadoc.jar) in the same folder the binary jar is
Hide
Andy Clement added a comment -
Thanks for the fast reply Carlos!
Sorry! silly me - I had it written down on paper correctly then failed to commit it properly. I've:

- put the version numbers in the jar name
- uploaded the md5 and sha1 checksums for everything
- fixed the group id in the .poms

I plan to add the sources for all, and maybe the javadoc for aspectjrt but I wanted to try and get at least these runtime components in as the latest version of Spring depends on them and they are holding up some guys migrating to the latest version of spring-framework.

If we can automate it then I can add the other pieces later and they'll get picked up. I'm still waiting to hear from the eclipse guys about rsync connectivity to dev.eclipse.org.
Show
Andy Clement added a comment - Thanks for the fast reply Carlos! Sorry! silly me - I had it written down on paper correctly then failed to commit it properly. I've: - put the version numbers in the jar name - uploaded the md5 and sha1 checksums for everything - fixed the group id in the .poms I plan to add the sources for all, and maybe the javadoc for aspectjrt but I wanted to try and get at least these runtime components in as the latest version of Spring depends on them and they are holding up some guys migrating to the latest version of spring-framework. If we can automate it then I can add the other pieces later and they'll get picked up. I'm still waiting to hear from the eclipse guys about rsync connectivity to dev.eclipse.org.
Hide
Alberty Pascal added a comment -
Thanks to automate this (or at least post the version 1.5.4 manually for the last time ;-))!
http://jira.springframework.org/browse/SPR-4312
Show
Alberty Pascal added a comment - Thanks to automate this (or at least post the version 1.5.4 manually for the last time ;-))! http://jira.springframework.org/browse/SPR-4312
Hide
Andy Clement added a comment -
Still no reply from the eclipse webmaster. My own digging shows that rsync is possible - I can use it just fine with my own id/password, but there is no public id that maven could use. It looks like access is normally allowed by registering a well known IP address with eclipse.org, and then the rsync requests can get though. This is what they use to allow mirror sites. I don't suppose the machine where the maven scripts would run has a fixed IP address we could register?
Show
Andy Clement added a comment - Still no reply from the eclipse webmaster. My own digging shows that rsync is possible - I can use it just fine with my own id/password, but there is no public id that maven could use. It looks like access is normally allowed by registering a well known IP address with eclipse.org, and then the rsync requests can get though. This is what they use to allow mirror sites. I don't suppose the machine where the maven scripts would run has a fixed IP address we could register?
Hide
Carlos Sanchez added a comment -
Show
Carlos Sanchez added a comment - can you zip up this folder http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/releases/repo/org/aspectj/?root=Tools_Project and put it somewhere ?
Hide
Andy Clement added a comment -
Ok, zipped to: http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/dev/org.aspectj.repo.154.jar

I have been trying to get some space on our springsource servers which could be rsync_ssh'd too - but haven't managed it yet.
Show
Andy Clement added a comment - Ok, zipped to: http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/dev/org.aspectj.repo.154.jar I have been trying to get some space on our springsource servers which could be rsync_ssh'd too - but haven't managed it yet.
Hide
Alberty Pascal added a comment -
Andy, please note that it's preferable to NOT change the groupId for this release because these artifact are already used with 'aspectj' as groupId in the Spring 2.5.1 release !!

Thanks
Show
Alberty Pascal added a comment - Andy, please note that it's preferable to NOT change the groupId for this release because these artifact are already used with 'aspectj' as groupId in the Spring 2.5.1 release !! Thanks
Hide
Andy Clement added a comment -
group id was changed after discussion with the spring team about what it should be moving forward when the process is automated. I had heard it was straightforward for a forwarding system to be setup that redirected aspectj -> org.aspectj so that the change would be picked up and nothing would break.
Show
Andy Clement added a comment - group id was changed after discussion with the spring team about what it should be moving forward when the process is automated. I had heard it was straightforward for a forwarding system to be setup that redirected aspectj -> org.aspectj so that the change would be picked up and nothing would break.
Hide
Carlos Sanchez added a comment -
uploaded and put relocation poms in old aspectj groupId
Show
Carlos Sanchez added a comment - uploaded and put relocation poms in old aspectj groupId
Hide
Alberty Pascal added a comment -
Thanks !
Show
Alberty Pascal added a comment - Thanks !

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: