Build failed in Jenkins: Struts-examples-JDK7-develop #2

2014-07-10 Thread Apache Jenkins Server
See 

Changes:

[Lukasz Lenart] WW-3764 WW-1832 Adds small demo app to demonstrate possible 
usage of struts.ui.templateDir

[Lukasz Lenart] Upgrade Struts to 2.3.18-SNAPSHOT

--
[...truncated 39 lines...]
[INFO] Coding Struts 2 Action
[INFO] Form Processing
[INFO] Form validation
[INFO] Message resource
[INFO] Exception handling
[INFO] Debugging Struts
[INFO] form_tags
[INFO] form_xml_validation
[INFO] Control Tags
[INFO] wildcard method selection
[INFO] Struts 2 Themes
[INFO] spring_struts
[INFO] annotations
[INFO] Struts 2 Interceptors
[INFO] Unit Testing
[INFO] http_session
[INFO] Preparable Interface
[INFO] exclude_parameters
[INFO] REST to Action Mapper Example Application
[INFO] Bean Validation
[INFO] Struts 2 Themes Override
[INFO] 
[INFO] 
[INFO] Building Struts 2 Examples 1.0.0
[INFO] 
[INFO] 
[INFO] 
[INFO] Building basic_struts 1.0.0
[INFO] 
[WARNING] The POM for org.apache.struts:struts2-core:jar:2.3.18-SNAPSHOT is 
missing, no dependency information available
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Struts 2 Examples . SUCCESS [0.327s]
[INFO] basic_struts .. FAILURE [1.111s]
[INFO] Hello World Struts 2 Example Application .. SKIPPED
[INFO] using_tags  SKIPPED
[INFO] Coding Struts 2 Action  SKIPPED
[INFO] Form Processing ... SKIPPED
[INFO] Form validation ... SKIPPED
[INFO] Message resource .. SKIPPED
[INFO] Exception handling  SKIPPED
[INFO] Debugging Struts .. SKIPPED
[INFO] form_tags . SKIPPED
[INFO] form_xml_validation ... SKIPPED
[INFO] Control Tags .. SKIPPED
[INFO] wildcard method selection . SKIPPED
[INFO] Struts 2 Themes ... SKIPPED
[INFO] spring_struts . SKIPPED
[INFO] annotations ... SKIPPED
[INFO] Struts 2 Interceptors . SKIPPED
[INFO] Unit Testing .. SKIPPED
[INFO] http_session .. SKIPPED
[INFO] Preparable Interface .. SKIPPED
[INFO] exclude_parameters  SKIPPED
[INFO] REST to Action Mapper Example Application . SKIPPED
[INFO] Bean Validation ... SKIPPED
[INFO] Struts 2 Themes Override .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 22.649s
[INFO] Finished at: Thu Jul 10 08:09:14 UTC 2014
[INFO] Final Memory: 7M/122M
[INFO] 
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal on 
project basic_struts: Could not resolve dependencies for project 
struts.apache.org:basic_struts:war:1.0.0: Could not find artifact 
org.apache.struts:struts2-core:jar:2.3.18-SNAPSHOT -> [Help 1]

[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :basic_struts
[JENKINS] Archiving 

 to struts.apache.org/using_tags/1.0.0/using_tags-1.0.0.pom
Sending artifact delta relative to Struts-examples-JDK7-develop ? using_tags #1
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 755 bytes
Compression is 0.0%
Took 0.23 sec
[JENKINS] Archiving 
 
to struts.apache.org/themes/1.0.0/themes-1.0.0.pom
Sending a

Re: Sitemesh 3

2014-07-10 Thread Miguel Almeida
Thanks Lukasz! And I hadn't realised that Sitemesh 3 was so recent.

On Wed, 2014-07-09 at 20:32 +0200, Lukasz Lenart wrote:

> https://issues.apache.org/jira/browse/WW-4356
> 
> but as always any help is welcome!
> 
> 2014-07-09 20:30 GMT+02:00 Miguel Almeida :
> > As I was starting a new project I realised that struts2-sitemesh-plugin
> > uses sitemesh 2 and that sitemesh 3 is already available.
> >
> > I didn't find any discussion on this topic, but are there any plans to
> > update the plugin in a future release?
> >
> > To be honest I've always balanced between sitemesh and tiles - maybe
> > tiles has a configuration overhead (tiles.xml) which makes sitemesh a
> > bit more simple.
> >
> >
> > Cheers,
> >
> > Miguel
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
> 


Re: Sitemesh 3

2014-07-10 Thread Lukasz Lenart
2014-07-10 11:06 GMT+02:00 Miguel Almeida :
> Thanks Lukasz! And I hadn't realised that Sitemesh 3 was so recent.

Yes, it's quite fresh but unofficially was available few months ago


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Jenkins build is back to normal : Struts-examples-JDK7-develop #3

2014-07-10 Thread Apache Jenkins Server
See 


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



Re: dynamic interceptor insertion

2014-07-10 Thread Lukasz Lenart
2014-07-09 20:01 GMT+02:00 Gildas de Cadoudal :
> thanks Lukasz, but ActionProxy#getConfig()#getInterceptors() lists the
> interceptors but not the name of the stack used by the action

You can always @Inject Configuration and traverse over it, anyway
without large changes inside S2 it isn't possible to simple inject
interceptor. I think the simplest option is to mark action with
interface to activate given interceptor. In the same way as
ServletConfigInterceptor injects request (RequestAware), session
(SessionAware) and so on.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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