THANKS!!!  That was it.

I misunderstood the docs regarding when I should use the 'rpm' vs.
'attached-rpm' goal.

On Fri, May 25, 2012 at 2:30 PM, Matt Walsh
<[email protected]>wrote:

>  (I've never used this plugin, but you piqued my curiosity, so I took a
> quick look at it.)
>
> Looks to me like you're running the "rpm" goal which just generates the
> rpm, correct? Have you tried running the "attached-rpm" goal?
>
> I didn't glean anything from the docs about deploying by default, unless
> your primary artifact packaging is "rpm", maybe. But it sounds like your
> primary artifact is a "war", so unless the rpm file is somehow attached to
> the project, I don't think it would get deployed.
>
> > -----Original Message-----
> > From: Jeff [mailto:[email protected]]
> > Sent: Friday, May 25, 2012 2:06 PM
> > To: Maven Users List
> > Subject: Re: help: rpm-maven-plugin not 'deploy'-ing RPM to repository
> >
> > This is my first RPM ever AND first time using the rpm-maven-plugin so
> > it
> > could very well be something I'm doing. I don't think MRPM-107 is my
> > issue
> > since the RPM is getting built. It just doesn't upload to our internal
> > Maven repository during the deploy phase.
> >  Here is the log section that includes the 'rpm' and 'deploy' goals.
> > Do I
> > have to do something explicitly in the rpm-maven-plugin to bind it to
> > the
> > deploy phase?
> >
> >
> > [INFO] --- rpm-maven-plugin:2.1-alpha-1:rpm (default) @ Domain ---
> > [WARNING] rpm version string truncated to 2012.05.30.001
> > [INFO] Creating directory
> > /var/lib/go-agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/BUILD
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/RPMS
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/SOURCES
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/SPECS
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/SRPMS
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/tmp-buildroot
> > [INFO] Creating directory
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/buildroot
> > [INFO] Copying 1 files to
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/tmp-
> > buildroot/usr/local/acom
> > [INFO] Creating spec file
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/SPECS/Domain.sp
> > ec
> > [INFO] Building target platforms: noarch-CentOS-linux
> > [INFO] Building for target noarch-CentOS-linux
> > [INFO] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.K1ICyi
> > [WARNING] + umask 022
> > [WARNING] + cd
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/BUILD
> > [WARNING] + '[' -e
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/buildroot
> > ']'
> > [WARNING] + mv
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/tmp-
> > buildroot/usr
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/buildroot
> > [WARNING] + /usr/lib/rpm/brp-compress
> > [WARNING] + /usr/lib/rpm/brp-strip
> > [WARNING] + /usr/lib/rpm/brp-strip-static-archive
> > [WARNING] + /usr/lib/rpm/brp-strip-comment-note
> > [INFO] Processing files: Domain-2012.05.30.001-1.0.31.153932.noarch
> > [INFO] Requires(interp): /bin/sh
> > [INFO] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> > rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> > [INFO] Requires(post): /bin/sh
> > [INFO] Checking for unpackaged file(s): /usr/lib/rpm/check-files
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/buildroot
> > [INFO] Wrote:
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/RPMS/noarch/Dom
> > ain-2012.05.30.001-1.0.31.153932.noarch.rpm
> > [INFO] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HcRNjr
> > [WARNING] + umask 022
> > [WARNING] + cd
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/BUILD
> > [WARNING] + /bin/rm -rf
> > /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/target/rpm/Domain/buildroot
> > [WARNING] + exit 0
> > [INFO]
> > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> > Domain ---
> > [INFO] Installing
> > /var/lib/go-agent/pipelines/DOM_PKG/DomainService/target/Domain-
> > 2012.05.30.001-SNAPSHOT-1.0.31.153932.war
> > to
> > /var/go/.m2/repository/myproject/services/Domain/2012.05.30.001-
> > SNAPSHOT/Domain-2012.05.30.001-SNAPSHOT.war
> > [INFO] Installing /var/lib/go-
> > agent/pipelines/DOM_PKG/DomainService/pom.xml
> > to
> > /var/go/.m2/repository/myproject/services/Domain/2012.05.30.001-
> > SNAPSHOT/Domain-2012.05.30.001-SNAPSHOT.pom
> > [INFO]
> > [INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ Domain ---
> > Downloading:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/maven-metadata.xml
> > 811 B
> > Downloaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/maven-metadata.xml(811
> > B at 52.8 KB/sec)
> > Uploading:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/Domain-2012.05.30.001-20120525.185526-29.war
> > 4 KB
> > Uploaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/Domain-2012.05.30.001-20120525.185526-29.war(12677
> > KB at 6826.5 KB/sec)
> > Uploading:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/Domain-2012.05.30.001-20120525.185526-29.pom
> > 4 KB
> > Uploaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/Domain-2012.05.30.001-20120525.185526-29.pom(5
> > KB at 86.4 KB/sec)
> > Downloading:
> > http://archiva/repository/snapshots/myproject/services/Domain/maven-
> > metadata.xml
> > 300 B
> > Downloaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/maven-
> > metadata.xml(300
> > B at 14.0 KB/sec)
> > Uploading:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/maven-metadata.xml
> > 811 B
> > Uploaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/2012.05.3
> > 0.001-SNAPSHOT/maven-metadata.xml(811
> > B at 72.0 KB/sec)
> > Uploading:
> > http://archiva/repository/snapshots/myproject/services/Domain/maven-
> > metadata.xml
> > 300 B
> > Uploaded:
> > http://archiva/repository/snapshots/myproject/services/Domain/maven-
> > metadata.xml(300
> > B at 26.6 KB/sec)
> > [INFO]
> > -----------------------------------------------------------------------
> > -
> > [INFO] BUILD SUCCESS
> > [INFO]
> > -----------------------------------------------------------------------
> > -
> > [INFO] Total time: 25.896s
> > [INFO] Finished at: Fri May 25 12:55:28 MDT 2012
> > [INFO] Final Memory: 17M/61M
> > [INFO]
> > -----------------------------------------------------------------------
> > -
> >
> > [cruise] Start to create properties DOM_PKG/1.0.31.153932/Build/1/Build
> > on
> > BUISLVLCDGGBA82 [/var/lib/go-agent] at Fri May 25 12:55:29 MDT 2012
> > [cruise] Start to upload DOM_PKG/1.0.31.153932/Build/1/Build on
> > BUISLVLCDGGBA82 [/var/lib/go-agent] at Fri May 25 12:55:29 MDT 2012
> > [cruise] Job completed DOM_PKG/1.0.31.153932/Build/1/Build on
> > BUISLVLCDGGBA82 [/var/lib/go-agent] at Fri May 25 12:55:29 MDT 2012
> >
> >
> >
> > On Fri, May 25, 2012 at 1:24 PM, Anders Hammar <[email protected]>
> > wrote:
> >
> >
> > > Depending on what os you're on, you might have hit MRPM-107. I would
> > > love any input on how to solve this.
> > >
> > > /Anders
> > >
> > > On Fri, May 25, 2012 at 8:28 PM, Jeff <[email protected]> wrote:
> > > > Everything I read is that the RPM will deploy to the repo, but only
> > the
> > > WAR
> > > > is getting deployed.  What do I need to do to get the RPM as well?
> > > >
> > > > Thanks!!
> > > >
> > > > --
> > > > Jeff Vincent
> > > > [email protected]
> > > > See my LinkedIn profile at:
> > > > http://www.linkedin.com/in/rjeffreyvincent
> > >
> > > > I ♥ DropBox <http://db.tt/9O6LfBX> !!
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> > >
> >
> >
> > --
> >
> > Jeff Vincent
> > [email protected]
> > See my LinkedIn profile at:
> > http://www.linkedin.com/in/rjeffreyvincent
> > I ♥ DropBox <http://db.tt/9O6LfBX> !!
>
> ______________________________________________________________________
> This message, including any attachments, is confidential and contains
> information intended only for the person(s) named above. Any other
> distribution, copying or disclosure is strictly prohibited. If you are not
> the intended recipient or have received this message in error, please
> notify us immediately by reply email and permanently delete the original
> transmission from all of your systems and hard drives, including any
> attachments, without making a copy.
>



-- 
Jeff Vincent
[email protected]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox <http://db.tt/9O6LfBX> !!

Reply via email to