Re: Maven release plugin fail during javadoc generation

2014-09-06 Thread Robert Scholte

Hi,

the plugin causing this problem must be  the maven-javadoc-plugin :)

the release:perform isn't that magic, you can do the same steps by hand:
- check out the code from tag (created by release:prepare)
- go to target/checkout
- execute mvn deploy site-deploy (site-deploy depends on the  
availability of a site under distributionManagement)


If you still have the target/checkout folder, run 'mvn site' and you'll  
see your project failing for the same reason as you mentioned.


There's a small difference between calling javadoc:javadoc and site. The  
first one will only get its configuration from the javadoc-plugin as  
specified in the build-section.
However, if the javadoc generation is generated as part of the site phase,  
the configuration is picked up from the reporting-section in the pom.xml.  
This can lead to different results.


Hope this helps you figuring out the real problem.

thanks,
Robert

Op Wed, 03 Sep 2014 09:22:33 +0200 schreef Sylvain Roulet  
sylvain.rou...@eloquant.com:



Hello all,


I've a project since several years and I had not problem to build it.

I recently installed JDK1.7 on my Windows 7 and now my build fail during  
mvn

release:perform !


The build fail saying unmappable character for encoding utf-8.

That's true as my source file are encoded in ISO-8859-1.


So I've added encoding ISO-8859-1/encoding = no change

I try to use env variable : JAVA_TOOL_OPTIONS =  
-Dfile.encoding=ISO-8859-1

= no change

skiptrue/skip to not generate javadoc = no change...

...

and a lot of other tests


I finally realized that the option file generated in the folder
/target/checkout/target/apidocs

contains options saying that encoding is UTF-8 !


I don't think it is a maven javadoc plugin problem as if I run mvn
javadoc:javadoc, I runs successfully !


Finnaly if I use JDK 1.6 it runs perfectly... But that's not what I want  
to

do.


Does any one have any idea why options are not taking into account when
maven release:perform is executed


Thanks


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



[ANN] Apache Maven ACR Plugin Version 1.1 Released

2014-09-06 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the 
Apache Maven ACR Plugin, Version 1.1

This plugin generates J2EE Application Client file.

http://maven.apache.org/plugins/maven-acr-plugin

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-acr-plugin/artifactId
  version1.1/version
/plugin

Release Notes - Apache Maven ACR Version 1.1

Bug:

 * [MACR-5] - Usage page is wrong: Maven 3.0.4 does not include ACR plugin

Tasks:

 * [MACR-6] - use maven-plugin-tools' java 5 annotations
 * [MACR-7] - Removed warnings during build
 * [MACR-9] - Upgrade plexus-archiver to 2.4.4
 * [MACR-10] - Upgrade maven-filtering to 1.2
 * [MACR-11] - Using maven-plugins parent version 25.

Enjoy,

-The Apache Maven team

Karl-Heinz Marbaise

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



tomcat deployment plugin issue

2014-09-06 Thread Érico
Hello

I am trying to deploy a war into my tomcat

when I run mvn:tomcat deploy

I am getting the following error:

[ERROR] Failed to execute goal
org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project
jsfOS: Cannot invoke Tomcat manager: Server returned HTTP response code:
401 for URL: http://localhost:8080/manager/deploy?path=%2FjsfOSwar= -
[Help 1]

my pom.xml is the following :

  plugin
  artifactIdmaven-war-plugin/artifactId
  version2.1.1/version
  configuration
 packagingExcludesWEB-INF/web.xml/packagingExcludes

  /configuration
  /plugin

  plugin
groupIdorg.apache.tomcat/groupId
artifactIdtomcat6-maven-plugin/artifactId
version1.1/version
configuration

warFile${project.build.directory}/${project.build.finalName}.war/warFile
urlhttp://localhost:8080/manager/url
servertomcat/server
pathjsfOS/path
/configuration
 /plugin

my settings.xml :
...
servers
 server
idtomcat/id
usernameericomtx/username
passwordkernel26/password
/server
  /servers
...

my maven :
mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
2014-08-11T17:58:10-03:00)
Maven home: /Users/ericomtx/development/apache/apache-maven-3.2.3
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: mac os x, version: 10.6.8, arch: x86_64, family: mac


I am using a macos 10.6.8

my tomcat dir :

/Users/ericomtx/development/apache
mac:apache ericomtx$ ls -la
total 32
drwxr-x---@  6 ericomtx  staff204 Aug 31 12:38 .
drwxrwxrwx  27 ericomtx  staff918 Aug 31 11:32 ..
-rw-r-@  1 ericomtx  staff  15364 Aug 31 16:39 .DS_Store
drwxr-xr-x@ 14 ericomtx  staff476 Aug 31 11:11 apache-ant-1.9.4
drwxr-xr-x@ 10 ericomtx  staff340 Aug 31 13:12 apache-maven-3.2.3
drwxrwxrwx@ 13 ericomtx  staff442 Aug 31 17:21 apache-tomcat-6.0.41



mac:apache-tomcat-6.0.41 ericomtx$ ls -la webapps/
total 16
drwxrwxrwx@  8 ericomtx  staff   272 Aug 31 16:22 .
drwxrwxrwx@ 13 ericomtx  staff   442 Aug 31 17:21 ..
-rw-r--r--@  1 ericomtx  staff  6148 Aug 31 16:39 .DS_Store
drwxr-xr-x@ 13 ericomtx  staff   442 Aug 31 16:29 ROOT
drwxr-xr-x@ 45 ericomtx  staff  1530 May 19 07:50 docs
drwxr-xr-x@  6 ericomtx  staff   204 May 19 07:50 examples
drwxrwxrwx@  6 ericomtx  staff   204 May 19 07:50 host-manager
drwxrwxrwx@  8 ericomtx  staff   272 Aug 31 16:27 manager

please can someone help me out on this ?


Re: release plug in not committing the release version anymore

2014-09-06 Thread Stefano Fornari
Hi Baptiste,
thanks for the replay and sorry for my late one. That solved the issue
indeed! thanks a lot.
Ste


On Sun, Aug 31, 2014 at 8:10 AM, Baptiste Mathus m...@batmat.net wrote:

 Hi,
 This description seems to match a known issue.
 I see you're using maven release plugin 2.3.2. Upgrade to 2.5 and check if
 it gifts better (see https://jira.codehaus.org/browse/MRELEASE-812 for
 example).

[...]


js-sequence-diagrams would make a really cool addition to doxia...

2014-09-06 Thread Kevin Burton
I just got this working with doxia:

http://bramp.github.io/js-sequence-diagrams/

Sequence diagrams are great for documenting protocol interaction.

I use them very often but one of the problems is updating the document when
the protocol changes.

With text sequence diagrams you can do that easily…

Here’s an example:

Andrew-China: Says Hello
Note right of China: China thinks\nabout it
China--Andrew: How are you?
Andrew-China: I am good thanks!

… and that can be rendered into an image for every page load.

I have it working in my doxia by just updating head and then using a div
class=‘diagram’

and then:

$( document ).ready(function() {
$(.diagram).sequenceDiagram({theme: 'hand'});
} );


-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


AUTO: Warren Cook is out of the office (returning 09/09/2014)

2014-09-06 Thread wcook


I am out of the office until 09/09/2014.

Hello,

I am on vaction.  Please refer any Sonic or  Actional questions to  Patrick
Ho or Derek Ward.

thx,
Warren


Note: This is an automated response to your message  Re: packaging
site/doxia content into another multi-module? sent on 9/4/2014 7:30:21 PM.


This is the only notification you will receive while this person is away.