You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@googlemail.com> on 2009/11/26 09:15:01 UTC

Re: [OSS Bamboo] Struts 2 SVN - Main Build build 1260 has FAILED (0 tests failed). Change made by lukaszlenart

What is the problem with those missing dependencies?


Regards
-- 
Lukasz
http://www.lenart.org.pl/


2009/11/26 Atlassian Open Source Bamboo <ba...@apache.org>

>      STRUTS-MAIN-1260<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/>
> failed.
> Code has been updated by lukaszlenart<http://opensource.bamboo.atlassian.com/browse/author/lukaszlenart>.
>
> No failed tests found, a possible compilation error.
>   Code Changes<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/commit>  See
> full change details<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/commit>
> lukaszlenart<http://opensource.bamboo.atlassian.com/browse/author/lukaszlenart>
> Removed javassist exclusion from ognl  (884452)
>   Error Summary<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/log>  See
> full build log<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/log>    [INFO]
> ------------------------------------------------------------------------
>   [ERROR] BUILD ERROR
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Failed to resolve artifact.
>
>   Missing:
>   ----------
>   1) org.apache.struts:struts2-osgi-admin-bundle:jar:2.2.0-SNAPSHOT
>
>     Try downloading the file manually from the project website.
>
>     Then, install it using the command:
>         mvn install:install-file -DgroupId=org.apache.struts
> -DartifactId=struts2-osgi-admin-bundle -Dversion=2.2.0-SNAPSHOT
> -Dpackaging=jar -Dfile=/path/to/file
>
>     Alternatively, if you host your own repository you can deploy the file
> there:
>         mvn deploy:deploy-file -DgroupId=org.apache.struts
> -DartifactId=struts2-osgi-admin-bundle -Dversion=2.2.0-SNAPSHOT
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>     Path to dependency:
>             1) org.apache.struts:struts2-assembly:pom:2.2.0-SNAPSHOT
>             2)
> org.apache.struts:struts2-osgi-admin-bundle:jar:2.2.0-SNAPSHOT
>
>   2) org.apache.struts:struts2-osgi-demo-bundle:jar:2.2.0-SNAPSHOT
>
>     Try downloading the file manually from the project website.
>
>     Then, install it using the command:
>         mvn install:install-file -DgroupId=org.apache.struts
> -DartifactId=struts2-osgi-demo-bundle -Dversion=2.2.0-SNAPSHOT
> -Dpackaging=jar -Dfile=/path/to/file
>
>     Alternatively, if you host your own repository you can deploy the file
> there:
>         mvn deploy:deploy-file -DgroupId=org.apache.struts
> -DartifactId=struts2-osgi-demo-bundle -Dversion=2.2.0-SNAPSHOT
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>     Path to dependency:
>             1) org.apache.struts:struts2-assembly:pom:2.2.0-SNAPSHOT
>             2)
> org.apache.struts:struts2-osgi-demo-bundle:jar:2.2.0-SNAPSHOT
>
>   ----------
>   2 required artifacts are missing.
>
>   for artifact:
>     org.apache.struts:struts2-assembly:pom:2.2.0-SNAPSHOT
>
>   from the specified remote repositories:
>     apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
>     central (https://m2proxy.atlassian.com/repository/public)
>
>
>
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] For more information, run Maven with the -e switch
>
>  Email generated by Atlassian Bamboo<http://opensource.bamboo.atlassian.com>- if you wish to stop receiving these emails edit your user
> profile<http://opensource.bamboo.atlassian.com/profile/userNotifications.action>or notify
> your administrator<http://opensource.bamboo.atlassian.com/viewAdministrators.action>  Want
> this information in your IDE?<http://www.atlassian.com/software/ideconnector/>    Actions
>    View Online<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/>
> Add Comments<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/comment>
> View Artifacts<http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1260/artifact>
> Download Logs<http://opensource.bamboo.atlassian.com/download/STRUTS-MAIN/build_logs/STRUTS-MAIN-1260.log>
>

Using model or action's hashcode as ETag in REST plugin

Posted by Unmesh joshi <un...@hotmail.com>.
Hi,
Rest plugin's DefaultHttpHeaders class uses hashCode of the model object (if the action is model driven) or hascode of the action object.I guess its a wrong assumption to make that two different objects will have different hashcodes. So we can have same hashcode even if model objects are not equal and that will wrongly send 304 response even if resource is changed. Is this a known bug in REST plugin?
Thanks,Unmesh 		 	   		  
_________________________________________________________________
Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop