Thanks Wayne and Stephen for the information - that artifacts with classifiers 
don't get poms deployed.
What is the maven way to do this then? Branching and have one pom for per jdk?

Thanks,
--Duncan
----
Duncan McNaught
Release Engineer, Managed Hosting Services
CyberSource Corporation
dmcnau...@cybersource.com
Office: 303 248 2410
Cell: 303 887 0730
The information contained herein is confidential. It is intended only for the 
individual or entity to whom it is addressed. If you are not the recipient or 
an authorized agent of the recipient, you are hereby notified that any use, 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this message in error, please contact 
CyberSource immediately at 303.248.2410 Thank you.
From    Wayne Fay <wayne...@gmail.com>
Subject Re: Pom not deployed to repo when using profiles to build with 2 jdks
Date    Fri, 11 Feb 2011 15:20:47 GMT
> I hope your realise that what you are doing is not the naven way... ie there
> be dragons

Stephen's dragons comments (which I agree with) aside... I am pretty
sure you'll need to deploy something that doesn't have a classifier to
get the pom deployed. Classified artifacts do not upload pom files
along with the classified artifact because they don't have their own
dependency lists etc.

You'll need to construct a non-classified artifact (even if its just a
dummy) and "mvn install" or "mvn deploy" that to get the pom deployed.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
From    Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Pom not deployed to repo when using profiles to build with 2 jdks
Date    Thu, 10 Feb 2011 21:37:42 GMT
I hope your realise that what you are doing is not the naven way... ie there
be dragons

I hope you do not have dependencies in these profiles you have... if you do,
then they are  the fire breathing and hungry for human flesh kind of dragons

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
-----Original Message-----
From: Duncan McNaught [mailto:dmcnau...@cybersource.com] 
Sent: Thursday, February 10, 2011 12:29 PM
To: users@maven.apache.org
Subject: Pom not deployed to repo when using profiles to build with 2 jdks

Dear Maven Users,
  I have an issue that I adapted a pom to deploy with two profiles - one for 
jdk15 and one for jdk16 and now it doesn't deploy the pom to our local 
repository.
The instructions were on this page 
(http://stackoverflow.com/questions/3092085/building-same-project-in-maven-with-different-artifactid-based-on-jdk-used)
Since I made that change, the pom is no longer getting deployed to my maven 
respository. Does anyone know if this is this a maven bug, or am I missing 
something?
Thanks,
--Duncan
----
Duncan McNaught
Release Engineer, Managed Hosting Services
The information contained herein is confidential. It is intended only for the 
individual or entity to whom it is addressed. If you are not the recipient or 
an authorized agent of the recipient, you are hereby notified that any use, 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this message in error, please contact 
CyberSource immediately at 303.248.2410 Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to