James Wennmacher <jwennmacher <at> unicon.net> writes:

> 
> 
>     As background, I found that the issue
>       is with a change to the HTTP client after Maven 2.2 timeframe that
>       doesn't follow HTTP redirects to HTTPS.A  So any repos that are
>       HTTP may generate a redirect to an HTTPS URL, and Maven poorly
>       interprets that as a response.
>       See the many issues, duplicates, cross-linked issues, etc. 
athttp://jira.codehaus.org/browse/WAGON-
314http://jira.codehaus.org/browse/MNG-4838
>       etc.
>       If you can provide the segment of the console output of the build
>       that deals with the artifact, we might be able to find out if
>       there are changes we can make to not use (or fix the use of) the
>       specific repos causing trouble.
>       From Drew's original post, I'm still a proponent of removing the
>       snapshot repos from the build.A  I am not sure if it would
>       permanently solve the issue though.A  I'll submit a pull request
>       for it.James Wennmacher - Unicon
> 480.558.2420
>       On 06/17/2014 01:08 PM, Joe Novalany wrote:
> 
>     
>       Not sure if this is helpful or not but here's what I found.
> 
> My POM file located at: C:\Documents and 
Settings\novalajo\.m2\repository\net\sf\ehcache\ehcache-web-
parent\2.0.4\ehcache-web-parent-2.0.4.pom
> 
> contained the following:
> 
> <html>
> <head><title>301 Moved Permanently</title></head>
> <body bgcolor="white">
> <center><h1>301 Moved Permanently</h1></center>
> <hr><center>nginx/1.4.1</center>
> </body>
> </html>
> 
> 
> I found what I believe it should have contained over at: 
http://svn.terracotta.org/svn/ehcache/tags/ehcache-web-2.0.4/pom.xml
> 
> I then copied the XML from the URL above to the POM file on my machine and 
then the build seem to complete successfully.
> 
> I'm not sure where in I need to change the location so Maven knows where 
to look for the correct POM file but it seems the URL has been moved which 
is causing the build issues.
> 
> Hope this helps!
> 
>     
>     -- 
> You are currently subscribed to uportal-dev <at> lists.ja-sig.org as: 
gcjjud-jasig-dev <at> m.gmane.orgTo unsubscribe, change settings or access 
archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
> 

Here ya go:

     [echo] Artifact 'D:\portal\uPortal\uportal-search-api\target/uportal-
search
-api-4.1.0-SNAPSHOT.jar' is up-to-date
[artifact:install] [INFO] Installing D:\portal\uPortal\uportal-search-
api\target
\uportal-search-api-4.1.0-SNAPSHOT.jar to C:\Documents and 
Settings\novalajo\.m2
\repository\org\jasig\portal\uportal-search-api\4.1.0-SNAPSHOT\uportal-
search-ap
i-4.1.0-SNAPSHOT.jar
[artifact:dependencies] [INFO] artifact org.codehaus.woodstox:stax2-api: 
checkin
g for updates from codehaus
[artifact:dependencies] [INFO] artifact org.codehaus.woodstox:stax2-api: 
checkin
g for updates from maven
[artifact:dependencies] [INFO] artifact org.codehaus.woodstox:stax2-api: 
checkin
g for updates from central
[artifact:dependencies] An error has occurred while processing the Maven 
artifac
t tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get dependency 
inf
ormation: Unable to read the metadata file for artifact 
'net.sf.ehcache:ehcache-
web:jar': Cannot find parent: net.sf.ehcache:ehcache-web-parent for project: 
nul
l:ehcache-web:jar:null for project null:ehcache-web:jar:null
[artifact:dependencies]   net.sf.ehcache:ehcache-web:jar:2.0.4
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   sonatype-nexus-snapshots 
(https://oss.sonatype.org/con
tent/repositories/snapshots),
[artifact:dependencies]   apache-snapshots 
(http://repository.apache.org/snapsho
ts)
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies]         1) org.jasig.portal:uportal-war:war:4.1.0-
SNAPSH
OT
[artifact:dependencies]         2) org.jasig.resourceserver:resource-server-
util
s:jar:1.0.38
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies] Not a v4.0.0 POM. for project 
net.sf.ehcache:ehcache-web
-parent at C:\Documents and 
Settings\novalajo\.m2\repository\net\sf\ehcache\ehca
che-web-parent\2.0.4\ehcache-web-parent-2.0.4.pom
[artifact:dependencies]

BUILD FAILED
D:\portal\uPortal\build.xml:140: The following error occurred while 
executing th
is line:
D:\portal\uPortal\build.xml:635: The following error occurred while 
executing th
is line:
D:\portal\uPortal\build.xml:1437: The following error occurred while 
executing t
his line:
D:\portal\uPortal\build.xml:1372: The following error occurred while 
executing t
his line:
D:\portal\uPortal\build.xml:1315: The following error occurred while 
executing t
his line:
D:\portal\uPortal\build.xml:1318: The following error occurred while 
executing t
his line:
D:\portal\uPortal\build.xml:1375: The following error occurred while 
executing t
his line:
D:\portal\uPortal\build.xml:1227: Unable to resolve artifact: Unable to get 
depe
ndency information: Unable to read the metadata file for artifact 
'net.sf.ehcach
e:ehcache-web:jar': Cannot find parent: net.sf.ehcache:ehcache-web-parent 
for pr
oject: null:ehcache-web:jar:null for project null:ehcache-web:jar:null
  net.sf.ehcache:ehcache-web:jar:2.0.4

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapsh
ots),
  apache-snapshots (http://repository.apache.org/snapshots)

Path to dependency:
        1) org.jasig.portal:uportal-war:war:4.1.0-SNAPSHOT
        2) org.jasig.resourceserver:resource-server-utils:jar:1.0.38



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to