That sounds like a great idea if we can avoid two separate uploads (i.e., make a process that can discern what's needed for a maven artifact from the omod).
-Burke On Thu, Sep 22, 2011 at 2:09 PM, Michael Seaton <[email protected]> wrote: > What about requiring developers who want to upload their modules to the > module repository to upload both a jar file and an omod when they add a new > release? And then have a process that automatically publishes the jar file > to the maven repository? > > Wouldn't this be easiest, and also backwards compatible with > non-maven-based modules? > > > ________________________________________ > From: [email protected] [[email protected]] On Behalf Of Burke Mamlin [ > [email protected]] > Sent: Thursday, September 22, 2011 12:45 PM > To: [email protected] > Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo > > I think we should err on the side of making it easy for people (anyone with > an OpenMRS ID) to contribute to the maven repository until/unless it becomes > a problem that needs more oversight (e.g., special privileges, which could > be manually or auto-magically assigned based on merit/karma). > > Ideally, we'd adopt a convention of any modules in the repository using > tagged releases, since unversioned dependencies (i.e., unversioned artifacts > in maven) will cause a lot more headaches downstream than it will for the > module author to do up front.[1] > > -Burke > > [1] "Module Branching" https://wiki.openmrs.org/x/TRIz > > On Thu, Sep 22, 2011 at 10:23 AM, Mark Goodrich <[email protected]<mailto: > [email protected]>> wrote: > I downloaded and built the proper jars for 3 of the 4 modules I asked > Saptarshi to commit to the repository. Sorry Saptarshi, but I created > another ticket with these three jars. > > Unfortunately, the htmlwidgets module does not have tagged releases, so > hopefully we can live with a jar that is simply renamed omod. > > This was a little annoying to have go back and do, so it would definitely > be great if we can use the release plugin to automate this. > > Mark > > > > From: [email protected]<mailto:[email protected]> [mailto:[email protected] > <mailto:[email protected]>] On Behalf Of Mark Goodrich > Sent: Tuesday, September 20, 2011 12:36 PM > > To: [email protected]<mailto: > [email protected]> > Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo > > I will take a look in svn and see what I can find in terms of tagged > releases. > > Mark > > From: [email protected]<mailto:[email protected]> [mailto:[email protected] > <mailto:[email protected]>] On Behalf Of Darius Jazayeri > Sent: Tuesday, September 20, 2011 10:44 AM > To: [email protected]<mailto: > [email protected]> > Subject: Re: [OPENMRS-DEV] FW: Installing modules to Openmrs Maven Repo > > 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]<mailto: > [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]> [mailto:[email protected] > <mailto:[email protected]>] On Behalf Of Ben Wolfe > Sent: Tuesday, September 20, 2011 2:42 AM > > To: [email protected]<mailto: > [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]<mailto: > [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]> [mailto:[email protected] > <mailto:[email protected]>] On Behalf Of Saptarshi Purkayastha > Sent: Friday, September 16, 2011 6:19 PM > > To: [email protected]<mailto: > [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]<mailto: > [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]> [mailto:[email protected] > <mailto:[email protected]>] On Behalf Of Michael Downey > Sent: Thursday, September 15, 2011 3:38 PM > To: [email protected]<mailto: > [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]<mailto: > [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]<mailto:[email protected]> - http://openmrs.org/ > > _________________________________________ > -----Original Message----- > From: Mark Goodrich > Sent: Thursday, September 15, 2011 3:40 PM > To: '[email protected]<mailto:[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 > > _________________________________________ 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]

