What does it take to get credentials for the Maven repo? Mark
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ben Wolfe Sent: Tuesday, September 20, 2011 2:29 PM To: [email protected] Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo Darius, the "release plugin" is what I wrote about on the page you're referring to: https://wiki.openmrs.org/display/docs/Module+Tagging+and+Releasing Looks like the "deploy" plugin Saptarshi mentioned is a part of it by default, so if you have the credentials set up for the maven repository it will be pushed there as well. http://maven.apache.org/plugins/maven-release-plugin/ Ben On Tue, Sep 20, 2011 at 8:20 PM, Saptarshi Purkayastha <[email protected]> wrote: > The normal process is one would do "mvn deploy" and the things would go to > the repository at the right places... > This would go to the releases, unless the artifact is a snapshot, where it > will go the snapshots repository... > In this case, because I didn't know... and possibly others didn't know the > revision and didn't have a pom from the developer, it was added to 3rd > party. > --- > Regards, > Saptarshi PURKAYASTHA > > My Tech Blog: http://sunnytalkstech.blogspot.com > You Live by CHOICE, Not by CHANCE > > > On 20 September 2011 20:13, Darius Jazayeri <[email protected]> wrote: >> >> So...those are not necessarily the right jars... >> If a module developer is following good practices, they'll have the >> releases tagged in svn. So in those cases we should be able to check out the >> tags, build the jars from those, and add those to nexus. >> Ben, can the maven release plugin help with this? >> -Darius >> >> On Tue, Sep 20, 2011 at 7:35 AM, Mark Goodrich <[email protected]> wrote: >>> >>> Is there is a way to get a certain version of a jar for a module, short >>> of figuring out what rev the released omod was built from, checking out that >>> revision, and compiling the jar? >>> >>> >>> >>> FWIW, for the modules that Saptarshi installed to Maven repo, I simply >>> downloaded the omods from the repository, renamed them to .jar, and posted >>> them to the ticket. >>> >>> >>> >>> We should change the wiki once we figure out what the correct procedure >>> should be: >>> >>> >>> >>> >>> https://wiki.openmrs.org/display/docs/Requiring+another+module+in+your+module >>> >>> >>> >>> Mark >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> From: [email protected] [mailto:[email protected]] On Behalf Of Ben Wolfe >>> Sent: Tuesday, September 20, 2011 2:42 AM >>> >>> To: [email protected] >>> Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo >>> >>> >>> >>> We need a project in jira where these types of requests can go. I've >>> requested one here: https://tickets.openmrs.org/browse/ITSM-1853 >>> >>> Omods are jar files, yes, but a jar file for a module is different. The >>> jar file does not contain the config, jsp, images, etc files that are >>> necessary for the web layer that the omod does (as Mark points out). >>> >>> It is possible to compile a module as a jar instead of an omod, and that >>> is what should be in the maven repo. >>> >>> Ben >>> >>> On Mon, Sep 19, 2011 at 5:08 PM, Mark Goodrich <[email protected]> wrote: >>> >>> Saptashi- >>> >>> >>> >>> I went and created a ticket for this. thanks for offering to do this! >>> >>> >>> >>> https://tickets.openmrs.org/browse/TODO-19 >>> >>> >>> >>> Mark >>> >>> >>> >>> >>> >>> >>> >>> From: [email protected] [mailto:[email protected]] On Behalf Of Saptarshi >>> Purkayastha >>> Sent: Friday, September 16, 2011 6:19 PM >>> >>> To: [email protected] >>> >>> Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo >>> >>> >>> >>> Is there a ticket to claim?? >>> >>> I can upload it to the maven repo and have the necessary permissions >>> >>> --- >>> Regards, >>> Saptarshi PURKAYASTHA >>> >>> My Tech Blog: http://sunnytalkstech.blogspot.com >>> You Live by CHOICE, Not by CHANCE >>> >>> On 17 September 2011 03:15, Mark Goodrich <[email protected]> wrote: >>> >>> Bumping this up. What are people's thoughts on this? I'd be willing to >>> upload the needed jars to the Openmrs Maven Repo if someone can give me an >>> account... >>> >>> Mark >>> >>> >>> -----Original Message----- >>> From: [email protected] [mailto:[email protected]] On Behalf Of Michael >>> Downey >>> Sent: Thursday, September 15, 2011 3:38 PM >>> To: [email protected] >>> Subject: Re: [OPENMRS-DEV] Installing modules to Openmrs Maven Repo >>> >>> Hi Mark, >>> >>> On Thu, Sep 15, 2011 at 3:40 PM, Mark Goodrich <[email protected]> wrote: >>> > In the wiki, it says that I should open a ITSM ticket in jira to >>> > request new modules be added to the Maven repo. I can do this but does >>> > anyone have any insight or preference as to what versions of the jars we >>> > should install? >>> >>> The development team handles all the content in Nexus -- we only keep it >>> running. :-) >>> >>> Michael Downey >>> OpenMRS Community Infrastructure Team >>> [email protected] - http://openmrs.org/ >>> >>> _________________________________________ >>> >>> -----Original Message----- >>> From: Mark Goodrich >>> Sent: Thursday, September 15, 2011 3:40 PM >>> To: '[email protected]' >>> Subject: Installing modules to Openmrs Maven Repo >>> >>> I'm going through the process of mavenizing the MDR-TB module, and the >>> module depends on both the logic module and the reporting module. I've >>> installed these two modules to my local repository, but the next step is to >>> install these modules to the Openmrs Maven Repo. >>> >>> In the wiki, it says that I should open a ITSM ticket in jira to request >>> new modules be added to the Maven repo. I can do this but does anyone have >>> any insight or preference as to what versions of the jars we should >>> install? >>> >>> Mark >>> >>> >>> >>> ________________________________ >>> >>> Click here to unsubscribe from OpenMRS Developers' mailing list >>> >>> >>> >>> ________________________________ >>> >>> Click here to unsubscribe from OpenMRS Developers' mailing list >>> >>> ________________________________ >>> Click here to unsubscribe from OpenMRS Developers' mailing list > > ________________________________ > Click here to unsubscribe from OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

