You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Paul McMahan <pa...@gmail.com> on 2006/12/04 18:06:23 UTC

publishing snapshots

I created two new modules in specs/trunk:
geronimo-el_1.0_spec
geronimo-jsp_2.1_spec

Can someone help publish those to the snapshot repo?  I have a nice
fruit cake I can regift if necessary (it's from last Christmas but
still looks exactly the same).   Or I don't mind doing this myself if
someone can point me in the right direction.

Best wishes,
Paul

Re: offlist:Re: publishing snapshots

Posted by Apparao Kalimireddy <ap...@gmail.com>.
I have got the latest code from SVN. My build fails with following error
trace:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1)
org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.geronimo.specs-DartifactId
geronimo-j2ee-management_1.1_spec \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-management:jar:2.0-SNAPSHOT
        2)
org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0-
NAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.apache.geronimo.modules:geronimo-management:jar:2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)


On 12/6/06, Paul McMahan <pa...@gmail.com> wrote:
>
> That will be sweet!!
>
> On 12/6/06, Jason Dillon <ja...@planet57.com> wrote:
> > FYI... soon we will have our automated build system deploying
> > nightly, as well as on demand.
> >
> > This will help reduce issues caused by deployment w/bad umasks and a
> > few other issues (like accidentally using the wrong jdk,
> > accidentially deploying uncommitted changes, etc).
> >
> > --jason
>

Re: offlist:Re: publishing snapshots

Posted by Paul McMahan <pa...@gmail.com>.
That will be sweet!!

On 12/6/06, Jason Dillon <ja...@planet57.com> wrote:
> FYI... soon we will have our automated build system deploying
> nightly, as well as on demand.
>
> This will help reduce issues caused by deployment w/bad umasks and a
> few other issues (like accidentally using the wrong jdk,
> accidentially deploying uncommitted changes, etc).
>
> --jason

Re: offlist:Re: publishing snapshots

Posted by Jason Dillon <ja...@planet57.com>.
FYI... soon we will have our automated build system deploying  
nightly, as well as on demand.

This will help reduce issues caused by deployment w/bad umasks and a  
few other issues (like accidentally using the wrong jdk,  
accidentially deploying uncommitted changes, etc).

--jason


On Dec 6, 2006, at 8:57 AM, David Jencks wrote:

> That guide isn't too specific.  Do you have a server entry similar to:
>
>     <server>
>       <id>apache.snapshots</id>
>       <username>djencks</username>
>       <passphrase>*******</passphrase>
>       <directoryPermissions>775</directoryPermissions>
>        <filePermissions>664</filePermissions>
>     </server>
>
>
> Also before uploading please be sure that umask on  
> people.apache.org is set to 2, not any otherwise normal value such  
> as 22, or no one will be able to update anything you deploy.  If  
> it's not already 2 you will need to update a file, I  
> think .bash_profile so that non-shells get it set properly.  Kevan  
> and probably lots of other people know the actual file.
>
> If this doesn't help.... what's the error you get?
>
> thanks
> david jencks
>
> On Dec 6, 2006, at 8:42 AM, anita kulshreshtha wrote:
>
>> Paul,
>>    I can offer an antique fruitcake..., if you could publish the
>> management 1.1 specs. I am trying to figure out why my mvn deploy did
>> not go through. Without the SNAPSHOTs, the build is broken :(.
>>
>> Thanks
>> Anita
>>
>> Got some help on irc (thanks djencks).  Just add the server to
>> ~/.m2/settings.xml as described here
>> http://maven.apache.org/settings.html and then type "mvn deploy".
>>
>> Best wishes,
>> Paul
>>
>> On 12/4/06, Paul McMahan <pa...@...> wrote:
>>> I created two new modules in specs/trunk:
>>> geronimo-el_1.0_spec
>>> geronimo-jsp_2.1_spec
>>>
>>> Can someone help publish those to the snapshot repo?  I have a nice
>>> fruit cake I can regift if necessary (it's from last Christmas but
>>> still looks exactly the same).   Or I don't mind doing this  
>>> myself if
>>> someone can point me in the right direction.
>>>
>>> Best wishes,
>>> Paul
>>>
>>
>>
>>
>>
>> _____________________________________________________________________ 
>> _______________
>> Have a burning question?
>> Go to www.Answers.yahoo.com and get answers from real people who  
>> know.
>


Re: offlist:Re: publishing snapshots

Posted by David Jencks <da...@yahoo.com>.
That guide isn't too specific.  Do you have a server entry similar to:

     <server>
       <id>apache.snapshots</id>
       <username>djencks</username>
       <passphrase>*******</passphrase>
       <directoryPermissions>775</directoryPermissions>
        <filePermissions>664</filePermissions>
     </server>


Also before uploading please be sure that umask on people.apache.org  
is set to 2, not any otherwise normal value such as 22, or no one  
will be able to update anything you deploy.  If it's not already 2  
you will need to update a file, I think .bash_profile so that non- 
shells get it set properly.  Kevan and probably lots of other people  
know the actual file.

If this doesn't help.... what's the error you get?

thanks
david jencks

On Dec 6, 2006, at 8:42 AM, anita kulshreshtha wrote:

> Paul,
>    I can offer an antique fruitcake..., if you could publish the
> management 1.1 specs. I am trying to figure out why my mvn deploy did
> not go through. Without the SNAPSHOTs, the build is broken :(.
>
> Thanks
> Anita
>
> Got some help on irc (thanks djencks).  Just add the server to
> ~/.m2/settings.xml as described here
> http://maven.apache.org/settings.html and then type "mvn deploy".
>
> Best wishes,
> Paul
>
> On 12/4/06, Paul McMahan <pa...@...> wrote:
>> I created two new modules in specs/trunk:
>> geronimo-el_1.0_spec
>> geronimo-jsp_2.1_spec
>>
>> Can someone help publish those to the snapshot repo?  I have a nice
>> fruit cake I can regift if necessary (it's from last Christmas but
>> still looks exactly the same).   Or I don't mind doing this myself if
>> someone can point me in the right direction.
>>
>> Best wishes,
>> Paul
>>
>
>
>
>
> ______________________________________________________________________ 
> ______________
> Have a burning question?
> Go to www.Answers.yahoo.com and get answers from real people who know.


Re: publishing snapshots

Posted by anita kulshreshtha <a_...@yahoo.com>.
Thanks Chris!
   
Anita

--- "Christopher M. Cardona" <ch...@gmail.com> wrote:

> Anita,
> 
> I already published the management 1.1 spec for you. Please verify
> and 
> let me know if you get any problems.
> 
> Best wishes,
> chris
> 
> anita kulshreshtha wrote:
> > Paul,
> >    I can offer an antique fruitcake..., if you could publish the
> > management 1.1 specs. I am trying to figure out why my mvn deploy
> did
> > not go through. Without the SNAPSHOTs, the build is broken :(.
> >
> > Thanks
> > Anita
> >
> > Got some help on irc (thanks djencks).  Just add the server to
> > ~/.m2/settings.xml as described here
> > http://maven.apache.org/settings.html and then type "mvn deploy".
> >
> > Best wishes,
> > Paul
> >
> > On 12/4/06, Paul McMahan <pa...@...> wrote:
> >   
> >> I created two new modules in specs/trunk:
> >> geronimo-el_1.0_spec
> >> geronimo-jsp_2.1_spec
> >>
> >> Can someone help publish those to the snapshot repo?  I have a
> nice
> >> fruit cake I can regift if necessary (it's from last Christmas but
> >> still looks exactly the same).   Or I don't mind doing this myself
> if
> >> someone can point me in the right direction.
> >>
> >> Best wishes,
> >> Paul
> >>
> >>     
> >
> >
> >
> >  
> >
>
____________________________________________________________________________________
> > Have a burning question?  
> > Go to www.Answers.yahoo.com and get answers from real people who
> know.
> >
> >   
> 
> 



 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

Re: offlist:Re: publishing snapshots

Posted by "Christopher M. Cardona" <ch...@gmail.com>.
Anita,

I already published the management 1.1 spec for you. Please verify and 
let me know if you get any problems.

Best wishes,
chris

anita kulshreshtha wrote:
> Paul,
>    I can offer an antique fruitcake..., if you could publish the
> management 1.1 specs. I am trying to figure out why my mvn deploy did
> not go through. Without the SNAPSHOTs, the build is broken :(.
>
> Thanks
> Anita
>
> Got some help on irc (thanks djencks).  Just add the server to
> ~/.m2/settings.xml as described here
> http://maven.apache.org/settings.html and then type "mvn deploy".
>
> Best wishes,
> Paul
>
> On 12/4/06, Paul McMahan <pa...@...> wrote:
>   
>> I created two new modules in specs/trunk:
>> geronimo-el_1.0_spec
>> geronimo-jsp_2.1_spec
>>
>> Can someone help publish those to the snapshot repo?  I have a nice
>> fruit cake I can regift if necessary (it's from last Christmas but
>> still looks exactly the same).   Or I don't mind doing this myself if
>> someone can point me in the right direction.
>>
>> Best wishes,
>> Paul
>>
>>     
>
>
>
>  
> ____________________________________________________________________________________
> Have a burning question?  
> Go to www.Answers.yahoo.com and get answers from real people who know.
>
>   


offlist:Re: publishing snapshots

Posted by anita kulshreshtha <a_...@yahoo.com>.
Paul,
   I can offer an antique fruitcake..., if you could publish the
management 1.1 specs. I am trying to figure out why my mvn deploy did
not go through. Without the SNAPSHOTs, the build is broken :(.

Thanks
Anita

Got some help on irc (thanks djencks).  Just add the server to
~/.m2/settings.xml as described here
http://maven.apache.org/settings.html and then type "mvn deploy".

Best wishes,
Paul

On 12/4/06, Paul McMahan <pa...@...> wrote:
> I created two new modules in specs/trunk:
> geronimo-el_1.0_spec
> geronimo-jsp_2.1_spec
>
> Can someone help publish those to the snapshot repo?  I have a nice
> fruit cake I can regift if necessary (it's from last Christmas but
> still looks exactly the same).   Or I don't mind doing this myself if
> someone can point me in the right direction.
>
> Best wishes,
> Paul
> 



 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

Re: publishing snapshots

Posted by Paul McMahan <pa...@gmail.com>.
On 12/4/06, Jason Dillon <ja...@planet57.com> wrote:
> Seem fairly obvious to me if you are creating a new module, copied
> from another or not, that you should always change the version, name,
> artifactId of the module.

thanks for the peer review.

> Anyways... if these were only published as snaps, then I would remove
> the artifacts from the m2-snapshot-repository, update the poms with
> 1.0-SNAPSHOT, update deps, and then redeploy.

done.  glad you caught this in time for an easy redeploy.

> I still recommend using one version for all specs though... then all
> this version muck basically goes away.  This may be more and more
> important as I get more stuff automated, as its not really easy to
> ensure that code put into specs will actually be used by a dependency
> project.  So its hard to say if specs/trunk is compatible with server/
> trunk with any degree of certainty... I would normally expect that
> they would be compatible... but Maven's remote repo/dependency muck
> (plague in disguise) really does more to promote build instability
> than to allow codeline consistency.

I definitely see your point.  I think we'll have a new opportunity to
address these issues in geronimo 2.0.  As I recall don't we already
have the votes in hand to reversion the specs tree as you prefer?.  (I
hope I'm not accidentally whacking a hornet's nest)

Best wishes,
Paul

Re: publishing snapshots

Posted by Jason Dillon <ja...@planet57.com>.
On Dec 4, 2006, at 1:57 PM, Paul McMahan wrote:
> Yes they are new specs.  I used 1.1-SNAPSHOT because the spec I was
> using as a template (geronimo-servlet_2.5_spec) started with that
> version number.  Wish I had poked around a little more and I would
> have realized.

No worries... not picking on you, just happened to notice this in  
your change.


>> Really, if we are going to version these modules separately, then
>> they should start at 1.0-SNAPSHOT.  If we version the entire project
>> together, then its obviously fine to add new modules when the version
>> is not 1.0*
>>
>> But until we collectively see that light... :-P... lets use
>> consistent and logical versioning for these modules.  Skipping
>> versions is just going to confuse people.
>
> I agree but unfortunately I have already published to the snapshot
> repo using 1.1-SNAPSHOT.  Should I address your concern by manually
> deleting them from the repo and republishing them as 1.0-SNAPSHOT?  Or
> would that be overkill?  I'm fine either way.
>
> BTW, there are some other specs in there that also did not start at
> 1.0-SNAPSHOT (at least not published in this repo):
> -  geronimo-corba_3.0_spec
> -  geronimo-servlet_2.5_spec
> -  geronimo-spec-corba
> -  geronimo-ws-metadata_2.0_spec
> Maybe its too late for those(?)

Well, this is going to be an ongoing problem with using per-module  
versions for these.

Seem fairly obvious to me if you are creating a new module, copied  
from another or not, that you should always change the version, name,  
artifactId of the module.

Anyways... if these were only published as snaps, then I would remove  
the artifacts from the m2-snapshot-repository, update the poms with  
1.0-SNAPSHOT, update deps, and then redeploy.

  * * *

I still recommend using one version for all specs though... then all  
this version muck basically goes away.  This may be more and more  
important as I get more stuff automated, as its not really easy to  
ensure that code put into specs will actually be used by a dependency  
project.  So its hard to say if specs/trunk is compatible with server/ 
trunk with any degree of certainty... I would normally expect that  
they would be compatible... but Maven's remote repo/dependency muck  
(plague in disguise) really does more to promote build instability  
than to allow codeline consistency.

--jason




Re: publishing snapshots

Posted by Paul McMahan <pa...@gmail.com>.
On 12/4/06, Jason Dillon <ja...@planet57.com> wrote:
> These are both new specs right?  Why are they starting with 1.1-
> SNAPSHOT?

Yes they are new specs.  I used 1.1-SNAPSHOT because the spec I was
using as a template (geronimo-servlet_2.5_spec) started with that
version number.  Wish I had poked around a little more and I would
have realized.

> Really, if we are going to version these modules separately, then
> they should start at 1.0-SNAPSHOT.  If we version the entire project
> together, then its obviously fine to add new modules when the version
> is not 1.0*
>
> But until we collectively see that light... :-P... lets use
> consistent and logical versioning for these modules.  Skipping
> versions is just going to confuse people.

I agree but unfortunately I have already published to the snapshot
repo using 1.1-SNAPSHOT.  Should I address your concern by manually
deleting them from the repo and republishing them as 1.0-SNAPSHOT?  Or
would that be overkill?  I'm fine either way.

BTW, there are some other specs in there that also did not start at
1.0-SNAPSHOT (at least not published in this repo):
-  geronimo-corba_3.0_spec
-  geronimo-servlet_2.5_spec
-  geronimo-spec-corba
-  geronimo-ws-metadata_2.0_spec
Maybe its too late for those(?)

Best wishes,
Paul

Re: publishing snapshots

Posted by Jason Dillon <ja...@planet57.com>.
These are both new specs right?  Why are they starting with 1.1- 
SNAPSHOT?

Really, if we are going to version these modules separately, then  
they should start at 1.0-SNAPSHOT.  If we version the entire project  
together, then its obviously fine to add new modules when the version  
is not 1.0*

But until we collectively see that light... :-P... lets use  
consistent and logical versioning for these modules.  Skipping  
versions is just going to confuse people.

--jason


On Dec 4, 2006, at 9:06 AM, Paul McMahan wrote:

> I created two new modules in specs/trunk:
> geronimo-el_1.0_spec
> geronimo-jsp_2.1_spec
>
> Can someone help publish those to the snapshot repo?  I have a nice
> fruit cake I can regift if necessary (it's from last Christmas but
> still looks exactly the same).   Or I don't mind doing this myself if
> someone can point me in the right direction.
>
> Best wishes,
> Paul


Re: publishing snapshots

Posted by Paul McMahan <pa...@gmail.com>.
Got some help on irc (thanks djencks).  Just add the server to
~/.m2/settings.xml as described here
http://maven.apache.org/settings.html and then type "mvn deploy".

Best wishes,
Paul

On 12/4/06, Paul McMahan <pa...@gmail.com> wrote:
> I created two new modules in specs/trunk:
> geronimo-el_1.0_spec
> geronimo-jsp_2.1_spec
>
> Can someone help publish those to the snapshot repo?  I have a nice
> fruit cake I can regift if necessary (it's from last Christmas but
> still looks exactly the same).   Or I don't mind doing this myself if
> someone can point me in the right direction.
>
> Best wishes,
> Paul
>