[uportal-dev] maven dependency failure (was Re: [uportal-user] Another day... another dependency build failure)

2014-04-02 Thread James Wennmacher
Hi Tim.  I noticed http was changed to https on sonatype, but not 
apache.  Should it be for both?

Also does anyone know why the snapshot repositories are listed in the 
main pom.xml?  Is it required for some process such as bamboo builds or 
publishing artifacts to maven central or something?  I can't think of 
why uPortal would need to have snapshots published since we typically do 
not rely on shared snapshot builds.

I do see that snapshots were built periodically ( 
https://oss.sonatype.org/content/repositories/snapshots/org/jasig/) 
including 4.1.0-snapshot fairly recently ( 
https://oss.sonatype.org/content/repositories/snapshots/org/jasig/portal/uportal-platform-api/).
 
I suspect it is from the bamboo deploy snapshot process; e.g. 
https://developer.jasig.org/bamboo/browse/UP-TRUNKMVNDEPLOY. Is this 
deploy snapshot process needed for releasing uPortal?

James Wennmacher - Unicon
480.558.2420

On 04/02/2014 07:05 AM, Tim Levett wrote:
 I can confirm that this does fix the problem you were experiencing. 
 There is an issue with maven not following redirects correctly. By 
 changing from http to https it avoids the redirect.

 - Tim Levett

 On 04/01/2014 05:54 PM, Drew Wills wrote:
 Tim et al.,

 I think this commit fixes what you reported and many of us started 
 experiencing...

   - 
 https://github.com/Jasig/uPortal/commit/5e197f3712c987294873a2d65ae9a894142f4b7d

 drew

 On 04/01/2014 02:02 PM, James Wennmacher wrote:
 Tim.? This is a systemic issue (it affected Drew and me anyway).? To 
 get
 around it I changed the snapshots property to false for the sonatype 
 and
 apache repository entries in the main pom.xml.?
 https://github.com/Jasig/uPortal/blob/master/pom.xml#L57

 Not sure why these repositories are present. I'll take that one to the
 uportal-dev list.

 James Wennmacher - Unicon
 480.558.2420

 On 04/01/2014 01:45 PM, Drew Wills wrote:
 Tim,

 First thing I would try is...

 ? $mvn clean install

 and then try your ant command again.

 You may simply be stuck in one of the dark corners of the ant/maven
 fusion.

 drew

 On 04/01/2014 01:11 PM, Tim Raymond wrote:
 All I did was point to tomcat 7.0.52 folder and clean deploy-ear?

 Tim Raymond
 Director, Central Applications
 Instructional and Information Technologies
 California State Polytechnic University, Pomona
 Phone: 909.869.6851
 Cell: 909.260.3200
 Fax: 909.979.6406

 PGP Public Key:
 https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0x2FDBD1EADDC19329 



 ??? --

 You are currently subscribed to uportal-u...@lists.ja-sig.org as:
 awi...@unicon.net
 To unsubscribe, change settings or access archives, see
 http://www.ja-sig.org/wiki/display/JSG/uportal-user


 --- You are currently subscribed to uportal-u...@lists.jasig.org as:
 jwennmac...@unicon.net
 To unsubscribe, change settings or access archives, see
 http://www.ja-sig.org/wiki/display/JSG/uportal-user

 --

 You are currently subscribed to uportal-u...@lists.ja-sig.org as: 
 awi...@unicon.net
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-user


 --- You are currently subscribed to uportal-u...@lists.jasig.org as: 
 lev...@wisc.edu
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-user




-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] maven dependency failure (was Re: [uportal-user] Another day... another dependency build failure)

2014-04-02 Thread Tim Levett
Going to http://repository.apache.org/snapshots via your browser you will see 
they don't redirect to https so we should leave it. 


Even further if you try going to https it redirects you to http, so we could 
run into the same problem if that were the case.


- Tim

On 04-02-14, James Wennmacher  wrote:
 
 
 
 Hi Tim. I noticed http was changed to https on sonatype, but not apache. 
 Should it be for both?
 
 Also does anyone know why the snapshot repositories are listed in the main 
 pom.xml? Is it required for some process such as bamboo builds or publishing 
 artifacts to maven central or something? I can't think of why uPortal would 
 need to have snapshots published since we typically do not rely on shared 
 snapshot builds. 
 
 I do see that snapshots were built periodically ( 
 https://oss.sonatype.org/content/repositories/snapshots/org/jasig/) including 
 4.1.0-snapshot fairly recently ( 
 https://oss.sonatype.org/content/repositories/snapshots/org/jasig/portal/uportal-platform-api/).
  I suspect it is from the bamboo deploy snapshot process; e.g. 
 https://developer.jasig.org/bamboo/browse/UP-TRUNKMVNDEPLOY. Is this deploy 
 snapshot process needed for releasing uPortal?
 
 
 James Wennmacher - Unicon 480.558.2420
 On 04/02/2014 07:05 AM, Tim Levett wrote:
 
 
  I can confirm that this does fix the problem you were experiencing. There 
  is an issue with maven not following redirects correctly. By changing from 
  http to https it avoids the redirect. 
  
  - Tim Levett 
  
  On 04/01/2014 05:54 PM, Drew Wills wrote: 
  
   Tim et al., 
   
   I think this commit fixes what you reported and many of us started 
   experiencing... 
   
   - 
   https://github.com/Jasig/uPortal/commit/5e197f3712c987294873a2d65ae9a894142f4b7d
   
   drew 
   
   On 04/01/2014 02:02 PM, James Wennmacher wrote: 
   
Tim.? This is a systemic issue (it affected Drew and me anyway).? To 
get 
around it I changed the snapshots property to false for the sonatype 
and 
apache repository entries in the main pom.xml.? 
https://github.com/Jasig/uPortal/blob/master/pom.xml#L57 

Not sure why these repositories are present. I'll take that one to the 
uportal-dev list. 

James Wennmacher - Unicon 
480.558.2420 

On 04/01/2014 01:45 PM, Drew Wills wrote: 

 Tim, 
 
 First thing I would try is... 
 
 ? $mvn clean install 
 
 and then try your ant command again. 
 
 You may simply be stuck in one of the dark corners of the ant/maven 
 fusion. 
 
 drew 
 
 On 04/01/2014 01:11 PM, Tim Raymond wrote: 
 
  All I did was point to tomcat 7.0.52 folder and clean deploy-ear? 
  
  Tim Raymond 
  Director, Central Applications 
  Instructional and Information Technologies 
  California State Polytechnic University, Pomona 
  Phone: 909.869.6851 
  Cell: 909.260.3200 
  Fax: 909.979.6406 
  
  PGP Public Key: 
  https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0x2FDBD1EADDC19329
   
  
  
  ??? -- 
  
  You are currently subscribed to uportal-u...@lists.ja-sig.org 
  uportal-u...@lists.ja-sig.org as: 
  awi...@unicon.net awi...@unicon.net 
  To unsubscribe, change settings or access archives, see 
  http://www.ja-sig.org/wiki/display/JSG/uportal-user 
  
  
 
 --- You are currently subscribed to uportal-u...@lists.jasig.org 
 uportal-u...@lists.jasig.org as: 
 jwennmac...@unicon.net jwennmac...@unicon.net 
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-user 
 

-- 

You are currently subscribed to uportal-u...@lists.ja-sig.org 
uportal-u...@lists.ja-sig.org as: awi...@unicon.net 
awi...@unicon.net 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-user 


   
   --- You are currently subscribed to uportal-u...@lists.jasig.org 
   uportal-u...@lists.jasig.org as: lev...@wisc.edu lev...@wisc.edu 
   To unsubscribe, change settings or access archives, see 
   http://www.ja-sig.org/wiki/display/JSG/uportal-user 
   
  
  
  
 
 
 -- 
 You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
 lev...@wisc.edu
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/uportal-dev

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] maven dependency failure (was Re: [uportal-user] Another day... another dependency build failure)

2014-04-02 Thread James Wennmacher

I guess I should have checked before I posted. :-)

Any thoughts on the 2nd part (do we need to publish snapshots)?

James Wennmacher - Unicon
480.558.2420

On 04/02/2014 10:15 AM, Tim Levett wrote:

Going to http://repository.apache.org/snapshots via your browser you will see 
they don't redirect to https so we should leave it.


Even further if you try going to https it redirects you to http, so we could 
run into the same problem if that were the case.


- Tim

On 04-02-14, James Wennmacher  wrote:



Hi Tim. I noticed http was changed to https on sonatype, but not apache. Should 
it be for both?

Also does anyone know why the snapshot repositories are listed in the main 
pom.xml? Is it required for some process such as bamboo builds or publishing 
artifacts to maven central or something? I can't think of why uPortal would 
need to have snapshots published since we typically do not rely on shared 
snapshot builds.

I do see that snapshots were built periodically ( 
https://oss.sonatype.org/content/repositories/snapshots/org/jasig/) including 
4.1.0-snapshot fairly recently ( 
https://oss.sonatype.org/content/repositories/snapshots/org/jasig/portal/uportal-platform-api/).
 I suspect it is from the bamboo deploy snapshot process; e.g. 
https://developer.jasig.org/bamboo/browse/UP-TRUNKMVNDEPLOY. Is this deploy 
snapshot process needed for releasing uPortal?


James Wennmacher - Unicon 480.558.2420
On 04/02/2014 07:05 AM, Tim Levett wrote:



I can confirm that this does fix the problem you were experiencing. There is an 
issue with maven not following redirects correctly. By changing from http to 
https it avoids the redirect.

- Tim Levett

On 04/01/2014 05:54 PM, Drew Wills wrote:


Tim et al.,

I think this commit fixes what you reported and many of us started 
experiencing...

- 
https://github.com/Jasig/uPortal/commit/5e197f3712c987294873a2d65ae9a894142f4b7d

drew

On 04/01/2014 02:02 PM, James Wennmacher wrote:


Tim.? This is a systemic issue (it affected Drew and me anyway).? To get
around it I changed the snapshots property to false for the sonatype and
apache repository entries in the main pom.xml.?
https://github.com/Jasig/uPortal/blob/master/pom.xml#L57

Not sure why these repositories are present. I'll take that one to the
uportal-dev list.

James Wennmacher - Unicon
480.558.2420

On 04/01/2014 01:45 PM, Drew Wills wrote:


Tim,

First thing I would try is...

? $mvn clean install

and then try your ant command again.

You may simply be stuck in one of the dark corners of the ant/maven
fusion.

drew

On 04/01/2014 01:11 PM, Tim Raymond wrote:


All I did was point to tomcat 7.0.52 folder and clean deploy-ear?

Tim Raymond
Director, Central Applications
Instructional and Information Technologies
California State Polytechnic University, Pomona
Phone: 909.869.6851
Cell: 909.260.3200
Fax: 909.979.6406

PGP Public Key:
https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0x2FDBD1EADDC19329


??? --

You are currently subscribed to uportal-u...@lists.ja-sig.org 
uportal-u...@lists.ja-sig.org as:
awi...@unicon.net awi...@unicon.net
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-user



--- You are currently subscribed to uportal-u...@lists.jasig.org 
uportal-u...@lists.jasig.org as:
jwennmac...@unicon.net jwennmac...@unicon.net
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-user


--

You are currently subscribed to uportal-u...@lists.ja-sig.org 
uportal-u...@lists.ja-sig.org as: awi...@unicon.net awi...@unicon.net
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-user



--- You are currently subscribed to uportal-u...@lists.jasig.org 
uportal-u...@lists.jasig.org as: lev...@wisc.edu lev...@wisc.edu
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-user






--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: lev...@wisc.edu
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev



--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] maven dependency failure (was Re: [uportal-user] Another day... another dependency build failure)

2014-04-02 Thread James Wennmacher
Ahh thanks.

If I interpret your statement, we can eliminate the snapshot 
repositories. That sounds good to me.

James Wennmacher - Unicon
480.558.2420

On 04/02/2014 11:05 AM, Eric Dalquist wrote:
 FYI these repos are places deps get pulled from, 
 the distributionManagement block defines where stuff gets pushed to. 
 That said released code versions of uPortal should never depend on 
 -SNAPSHOTs and so should never hit those repos. Non-snapshot 
 repositories should be avoided at all costs in favor of getting 100% 
 of dependencies from central.

 https://maven.apache.org/pom.html


 On Wed, Apr 2, 2014 at 10:57 AM, James Wennmacher 
 jwennmac...@unicon.net mailto:jwennmac...@unicon.net wrote:

 I guess I should have checked before I posted. :-)

 Any thoughts on the 2nd part (do we need to publish snapshots)?

 James Wennmacher - Unicon
 480.558.2420 tel:480.558.2420

 On 04/02/2014 10:15 AM, Tim Levett wrote:

 Going to http://repository.apache.org/snapshots via your
 browser you will see they don't redirect to https so we should
 leave it.


 Even further if you try going to https it redirects you to
 http, so we could run into the same problem if that were the case.


 - Tim

 On 04-02-14, James Wennmacher  wrote:



 Hi Tim. I noticed http was changed to https on sonatype,
 but not apache. Should it be for both?

 Also does anyone know why the snapshot repositories are
 listed in the main pom.xml? Is it required for some
 process such as bamboo builds or publishing artifacts to
 maven central or something? I can't think of why uPortal
 would need to have snapshots published since we typically
 do not rely on shared snapshot builds.

 I do see that snapshots were built periodically (
 
 https://oss.sonatype.org/content/repositories/snapshots/org/jasig/)
 including 4.1.0-snapshot fairly recently (
 
 https://oss.sonatype.org/content/repositories/snapshots/org/jasig/portal/uportal-platform-api/).
 I suspect it is from the bamboo deploy snapshot process;
 e.g.
 https://developer.jasig.org/bamboo/browse/UP-TRUNKMVNDEPLOY.
 Is this deploy snapshot process needed for releasing uPortal?


 James Wennmacher - Unicon 480.558.2420 tel:480.558.2420
 On 04/02/2014 07:05 AM, Tim Levett wrote:


 I can confirm that this does fix the problem you were
 experiencing. There is an issue with maven not
 following redirects correctly. By changing from http
 to https it avoids the redirect.

 - Tim Levett

 On 04/01/2014 05:54 PM, Drew Wills wrote:

 Tim et al.,

 I think this commit fixes what you reported and
 many of us started experiencing...

 -
 
 https://github.com/Jasig/uPortal/commit/5e197f3712c987294873a2d65ae9a894142f4b7d

 drew

 On 04/01/2014 02:02 PM, James Wennmacher wrote:

 Tim.? This is a systemic issue (it affected
 Drew and me anyway).? To get
 around it I changed the snapshots property to
 false for the sonatype and
 apache repository entries in the main pom.xml.?
 
 https://github.com/Jasig/uPortal/blob/master/pom.xml#L57

 Not sure why these repositories are present.
 I'll take that one to the
 uportal-dev list.

 James Wennmacher - Unicon
 480.558.2420 tel:480.558.2420

 On 04/01/2014 01:45 PM, Drew Wills wrote:

 Tim,

 First thing I would try is...

 ? $mvn clean install

 and then try your ant command again.

 You may simply be stuck in one of the dark
 corners of the ant/maven
 fusion.

 drew

 On 04/01/2014 01:11 PM, Tim Raymond wrote:

 All I did was point to tomcat 7.0.52
 folder and clean deploy-ear?

 Tim Raymond
 Director, Central Applications
 Instructional and Information Technologies
 California State Polytechnic
 University, Pomona
 Phone: 909.869.6851 tel:909.869.6851