Maven Upload Requests

Add scripts to sync AppFuse release repository

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Resolution: Fixed
  • Labels:
    None

Description

Contegix manages the static.appfuse.org and they've confirmed the public key is in place.

AppFuse Core:
-------------------------

#!/bin/sh

CONTACTS="mraible@dev.java.net"
MODE=rsync_ssh

FROM=mavensync@static.appfuse.org:/var/www/appfuse-releases
GROUP_DIR=org/appfuse/

AppFuse Maven Plugin:
-------------------------

#!/bin/sh

CONTACTS="mraible@dev.java.net"
MODE=rsync_ssh

FROM=mavensync@static.appfuse.org:/var/www/appfuse-releases
GROUP_DIR=org/codehaus/mojo/

Activity

Hide
Carlos Sanchez added a comment -
you can't sync org.codehaus group, your plugin must be in in your group, or hosted in the codehaus mojo project
Show
Carlos Sanchez added a comment - you can't sync org.codehaus group, your plugin must be in in your group, or hosted in the codehaus mojo project
Hide
Matt Raible added a comment -
The reason we're in the org.codehaus group is because 1) we were hosted there and there were too many problems managing development at the SVN level and publishing code and 2) because if we're in this group, users don't have to type the full path to the plugin, they can simply use the "appfuse" prefix. If this is a deal-breaker, we're more than happy to keep hosting it at http://static.appfuse.org/repository. We're just trying to make things easier for our users.
Show
Matt Raible added a comment - The reason we're in the org.codehaus group is because 1) we were hosted there and there were too many problems managing development at the SVN level and publishing code and 2) because if we're in this group, users don't have to type the full path to the plugin, they can simply use the "appfuse" prefix. If this is a deal-breaker, we're more than happy to keep hosting it at http://static.appfuse.org/repository. We're just trying to make things easier for our users.
Hide
Carlos Sanchez added a comment -
definitely you can't publish to org.codehaus.mojo. You don't want other people to post to org.appfuse, right? ;)
Show
Carlos Sanchez added a comment - definitely you can't publish to org.codehaus.mojo. You don't want other people to post to org.appfuse, right? ;)
Hide
Matt Raible added a comment -
Is it possible to get the "appfuse" prefix working w/o the plugin having a org.codehaus.mojo groupId?
Show
Matt Raible added a comment - Is it possible to get the "appfuse" prefix working w/o the plugin having a org.codehaus.mojo groupId?
Hide
Carlos Sanchez added a comment -
what are you exactly trying to do? in the pom you can put the groupId you want

For goals that can run without poms you can use pluginGroups in the settings.xml http://maven.apache.org/settings.html or the commandline
mvn groupId:artifactId:version:goal
Show
Carlos Sanchez added a comment - what are you exactly trying to do? in the pom you can put the groupId you want For goals that can run without poms you can use pluginGroups in the settings.xml http://maven.apache.org/settings.html or the commandline mvn groupId:artifactId:version:goal
Hide
Matt Raible added a comment -
I'm trying to make it possible to allow end users to run "appfuse:*" without further modifying their system. Modifying their settings.xml is a pain and I don't want to make them do that. If they're new to Maven, that's an overwhelming step for newbies. Also, using "org.appfuse.plugins:appfuse:gen" is way too verbose.

So I guess my options are 1) Move the plugin to codehaus or 2) continue hosting the plugin in AppFuse's repo?

Thanks,

Matt
Show
Matt Raible added a comment - I'm trying to make it possible to allow end users to run "appfuse:*" without further modifying their system. Modifying their settings.xml is a pain and I don't want to make them do that. If they're new to Maven, that's an overwhelming step for newbies. Also, using "org.appfuse.plugins:appfuse:gen" is way too verbose. So I guess my options are 1) Move the plugin to codehaus or 2) continue hosting the plugin in AppFuse's repo? Thanks, Matt
Hide
Carlos Sanchez added a comment -
they can use appfuse:* in any project that has a pom
if it doesn't it's likely gonna be only once and I don't see a big deal on copying and pasting the command line

but definitely yes, you can only deploy to org.codehaus.mojo from the mojo project
Show
Carlos Sanchez added a comment - they can use appfuse:* in any project that has a pom if it doesn't it's likely gonna be only once and I don't see a big deal on copying and pasting the command line but definitely yes, you can only deploy to org.codehaus.mojo from the mojo project
Hide
Matt Raible added a comment -
In a project (or archetype's) pom.xml, can I specify a <pluginGroup>? AFAIK, it's only possible to do this in settings.xml. Therefore, if this plugin has an org.appfuse.plugins groupId, users will have to 1) modify settings.xml or 2) use the fully-qualified command. Correct?
Show
Matt Raible added a comment - In a project (or archetype's) pom.xml, can I specify a <pluginGroup>? AFAIK, it's only possible to do this in settings.xml. Therefore, if this plugin has an org.appfuse.plugins groupId, users will have to 1) modify settings.xml or 2) use the fully-qualified command. Correct?
Hide
Carlos Sanchez added a comment -
AFAIK if you have a plugin in the <plugins> section of the pom you can use it the short way
Show
Carlos Sanchez added a comment - AFAIK if you have a plugin in the <plugins> section of the pom you can use it the short way
Hide
Matt Raible added a comment -
Nope, that's not how it works - at least not on my machine with Maven 2.0.7. I tried changing the appfuse-maven-plugin to have a groupId of org.appfuse.mojo and then installed it locally. I then tried changing an appfuse-generated project from using org.codehaus.mojo as the groupId (for the plugin). The result is that it doesn't find the plugin:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:appfuse-maven-plugin' does not exist or no valid version could be found

Conclusion: If I want to publish the appfuse-maven-plugin in the central repo, I need to move the code to Codehaus.
Show
Matt Raible added a comment - Nope, that's not how it works - at least not on my machine with Maven 2.0.7. I tried changing the appfuse-maven-plugin to have a groupId of org.appfuse.mojo and then installed it locally. I then tried changing an appfuse-generated project from using org.codehaus.mojo as the groupId (for the plugin). The result is that it doesn't find the plugin: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.codehaus.mojo:appfuse-maven-plugin' does not exist or no valid version could be found Conclusion: If I want to publish the appfuse-maven-plugin in the central repo, I need to move the code to Codehaus.
Hide
Matt Raible added a comment -
After blowing away my local repository, I was able to get this to work. I suspect I wasn't able to get it to work in the past because of the http://jira.codehaus.org/browse/MNG-2432? Who knows.
Show
Matt Raible added a comment - After blowing away my local repository, I was able to get this to work. I suspect I wasn't able to get it to work in the past because of the http://jira.codehaus.org/browse/MNG-2432? Who knows.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: