Re: svn commit: r1465234 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src: main/java/org/apache/maven/doxia/module/apt/AptParser.java test/java/org/apache/maven/doxia/module/apt/AptPar

2013-04-07 Thread Lukas Theussl


Seems to be a good fix, thanks Robert!

I'm only missing some documentation, could you add an example to 
http://maven.apache.org/doxia/references/doxia-apt.html ?


Cheers,
-Lukas


rfscho...@apache.org wrote:

Author: rfscholte
Date: Sat Apr  6 12:21:13 2013
New Revision: 1465234

URL: http://svn.apache.org/r1465234
Log:
[DOXIA-397] Cannot link to javadoc methods

Modified:
 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.java

Modified: 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
URL: 
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?rev=1465234r1=1465233r2=1465234view=diff
==
--- 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
 (original)
+++ 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
 Sat Apr  6 12:21:13 2013
@@ -477,7 +477,12 @@ public class AptParser
  logMessage( ambiguousLink, msg );
  }

-if ( !DoxiaUtils.isValidId( hash ) )
+// link##anchor means literal
+if( hash.startsWith( # ) )
+{
+linkAnchor = linkAnchor.substring( 0, 
hashIndex ) + hash;
+}
+else if ( !DoxiaUtils.isValidId( hash ) )
  {
  linkAnchor =
  linkAnchor.substring( 0, hashIndex ) + 
#

Modified: 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.java
URL: 
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.java?rev=1465234r1=1465233r2=1465234view=diff
==
--- 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.java
 (original)
+++ 
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.java
 Sat Apr  6 12:21:13 2013
@@ -513,6 +513,26 @@ public class AptParserTest
  assertFalse( it.hasNext() );
  }

+public void testLiteralAnchor()
+throws Exception
+{
+// DOXIA-397
+String text =
+
{{{../apidocs/groovyx/net/http/ParserRegistry.html##parseText(org.apache.http.HttpResponse)}ParserRegistry}};
+
+SinkEventTestingSink sink = new SinkEventTestingSink();
+
+parser.parse( text, sink );
+
+IteratorSinkEventElement it = sink.getEventList().iterator();
+assertEquals( it, head, head_, body, section1, sectionTitle1 
);
+assertEquals( it.next(), link,
+  
../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.http.HttpResponse)
 );
+assertEquals( it.next(), text, ParserRegistry );
+assertEquals( it, link_, sectionTitle1_, section1_, body_ );
+assertFalse( it.hasNext() );
+}
+
  /** {@inheritDoc} */
  protected String outputExtension()
  {




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



Re: svn commit: r1465234 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src: main/java/org/apache/maven/doxia/module/apt/AptParser.java test/java/org/apache/maven/doxia/module/apt/AptPar

2013-04-07 Thread Hervé BOUTEMY
yes, I like this nice new markup idea too

Lukas, documentation was added in http://svn.apache.org/r1465238
did you overlooked it or do you have a more precise documentation idea?

Regards,

Hervé

Le dimanche 7 avril 2013 09:12:37 Lukas Theussl a écrit :
 Seems to be a good fix, thanks Robert!
 
 I'm only missing some documentation, could you add an example to
 http://maven.apache.org/doxia/references/doxia-apt.html ?
 
 Cheers,
 -Lukas
 
 rfscho...@apache.org wrote:
  Author: rfscholte
  Date: Sat Apr  6 12:21:13 2013
  New Revision: 1465234
  
  URL: http://svn.apache.org/r1465234
  Log:
  [DOXIA-397] Cannot link to javadoc methods
  
  Modified:
   maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/
   org/apache/maven/doxia/module/apt/AptParser.java
   maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java
   /org/apache/maven/doxia/module/apt/AptParserTest.java 
  Modified:
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
  apache/maven/doxia/module/apt/AptParser.java URL:
  http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
  module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?
  rev=1465234r1=1465233r2=1465234view=diff
  =
  = ---
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
  apache/maven/doxia/module/apt/AptParser.java (original) +++
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
  apache/maven/doxia/module/apt/AptParser.java Sat Apr  6 12:21:13 2013 @@
  -477,7 +477,12 @@ public class AptParser
  
logMessage( ambiguousLink, msg );

}
  
  -if ( !DoxiaUtils.isValidId( hash ) )
  +// link##anchor means literal
  +if( hash.startsWith( # ) )
  +{
  +linkAnchor = linkAnchor.substring( 0,
  hashIndex ) + hash; +}
  +else if ( !DoxiaUtils.isValidId( hash ) )
  
{

linkAnchor =

linkAnchor.substring( 0,
hashIndex ) + #
  
  Modified:
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
  apache/maven/doxia/module/apt/AptParserTest.java URL:
  http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
  module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.j
  ava?rev=1465234r1=1465233r2=1465234view=diff
  =
  = ---
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
  apache/maven/doxia/module/apt/AptParserTest.java (original) +++
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
  apache/maven/doxia/module/apt/AptParserTest.java Sat Apr  6 12:21:13 2013
  @@ -513,6 +513,26 @@ public class AptParserTest
  
assertFalse( it.hasNext() );

}
  
  +public void testLiteralAnchor()
  +throws Exception
  +{
  +// DOXIA-397
  +String text =
  +   
  {{{../apidocs/groovyx/net/http/ParserRegistry.html##parseText(org.apache
  .http.HttpResponse)}ParserRegistry}}; +
  +SinkEventTestingSink sink = new SinkEventTestingSink();
  +
  +parser.parse( text, sink );
  +
  +IteratorSinkEventElement it = sink.getEventList().iterator();
  +assertEquals( it, head, head_, body, section1,
  sectionTitle1 ); +assertEquals( it.next(), link,
  + 
  ../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.htt
  p.HttpResponse) ); +assertEquals( it.next(), text,
  ParserRegistry );
  +assertEquals( it, link_, sectionTitle1_, section1_, body_
  ); +assertFalse( it.hasNext() );
  +}
  +
  
/** {@inheritDoc} */
protected String outputExtension()
{
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org

Re: Desupport Maven 1

2013-04-07 Thread Hervé BOUTEMY
notice the recent EOL press release for Struts 1 [1]

we should probably use it as a basis for doing something similar

Regards,

Hervé

[1] http://struts.apache.org/struts1eol-press.html

Le mercredi 27 février 2013 10:33:53 Benson Margulies a écrit :
 I think it's long overtime for us to officially disclaim support for Maven
 1.
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org

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



Re: svn commit: r1465234 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src: main/java/org/apache/maven/doxia/module/apt/AptParser.java test/java/org/apache/maven/doxia/module/apt/AptPar

2013-04-07 Thread Lukas Theussl


Excellent, I didn't see that. Thanks!

-Lukas


Hervé BOUTEMY wrote:

yes, I like this nice new markup idea too

Lukas, documentation was added in http://svn.apache.org/r1465238
did you overlooked it or do you have a more precise documentation idea?

Regards,

Hervé

Le dimanche 7 avril 2013 09:12:37 Lukas Theussl a écrit :

Seems to be a good fix, thanks Robert!

I'm only missing some documentation, could you add an example to
http://maven.apache.org/doxia/references/doxia-apt.html ?

Cheers,
-Lukas

rfscho...@apache.org wrote:

Author: rfscholte
Date: Sat Apr  6 12:21:13 2013
New Revision: 1465234

URL: http://svn.apache.org/r1465234
Log:
[DOXIA-397] Cannot link to javadoc methods

Modified:
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/
  org/apache/maven/doxia/module/apt/AptParser.java
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java
  /org/apache/maven/doxia/module/apt/AptParserTest.java
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?
rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java Sat Apr  6 12:21:13 2013 @@
-477,7 +477,12 @@ public class AptParser

   logMessage( ambiguousLink, msg );

   }

-if ( !DoxiaUtils.isValidId( hash ) )
+// link##anchor means literal
+if( hash.startsWith( # ) )
+{
+linkAnchor = linkAnchor.substring( 0,
hashIndex ) + hash; +}
+else if ( !DoxiaUtils.isValidId( hash ) )

   {

   linkAnchor =

   linkAnchor.substring( 0,
   hashIndex ) + #

Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.j
ava?rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java Sat Apr  6 12:21:13 2013
@@ -513,6 +513,26 @@ public class AptParserTest

   assertFalse( it.hasNext() );

   }

+public void testLiteralAnchor()
+throws Exception
+{
+// DOXIA-397
+String text =
+
{{{../apidocs/groovyx/net/http/ParserRegistry.html##parseText(org.apache
.http.HttpResponse)}ParserRegistry}}; +
+SinkEventTestingSink sink = new SinkEventTestingSink();
+
+parser.parse( text, sink );
+
+IteratorSinkEventElement it = sink.getEventList().iterator();
+assertEquals( it, head, head_, body, section1,
sectionTitle1 ); +assertEquals( it.next(), link,
+
../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.htt
p.HttpResponse) ); +assertEquals( it.next(), text,
ParserRegistry );
+assertEquals( it, link_, sectionTitle1_, section1_, body_
); +assertFalse( it.hasNext() );
+}
+

   /** {@inheritDoc} */
   protected String outputExtension()
   {


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


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



Re: svn commit: r1465234 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src: main/java/org/apache/maven/doxia/module/apt/AptParser.java test/java/org/apache/maven/doxia/module/apt/AptPar

2013-04-07 Thread Robert Scholte

Thanks for the feedback.

I thought about discussing this solution first, but there are not that  
much options without breaking backwards compatibility. And since '##' is  
illegal, Doxia could very well make use that :)


The site documentation is decoupled from actual sources, it took some time  
to find it.

In the end it would have been easier to just use the ASF CMS shortcut.

It seems like I broke some tests according to Jenkins[1]
My IDE thinks its ok, cmdline doesn't :S
It has got to do with EOLs

I don't have much time today, but I'll try to fix it, unless someone beats  
me ;)


Robert

[1]  
https://builds.apache.org/job/doxia/jdk=JDK%201.5%20(latest),label=Windows/


Op Sun, 07 Apr 2013 09:47:13 +0200 schreef Lukas Theussl  
ltheu...@apache.org:




Excellent, I didn't see that. Thanks!

-Lukas


Hervé BOUTEMY wrote:

yes, I like this nice new markup idea too

Lukas, documentation was added in http://svn.apache.org/r1465238
did you overlooked it or do you have a more precise documentation idea?

Regards,

Hervé

Le dimanche 7 avril 2013 09:12:37 Lukas Theussl a écrit :

Seems to be a good fix, thanks Robert!

I'm only missing some documentation, could you add an example to
http://maven.apache.org/doxia/references/doxia-apt.html ?

Cheers,
-Lukas

rfscho...@apache.org wrote:

Author: rfscholte
Date: Sat Apr  6 12:21:13 2013
New Revision: 1465234

URL: http://svn.apache.org/r1465234
Log:
[DOXIA-397] Cannot link to javadoc methods

Modified:
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/
  org/apache/maven/doxia/module/apt/AptParser.java
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java
  /org/apache/maven/doxia/module/apt/AptParserTest.java
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?
rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java Sat Apr  6 12:21:13 2013  
@@

-477,7 +477,12 @@ public class AptParser

   logMessage( ambiguousLink,  
msg );


   }

-if ( !DoxiaUtils.isValidId( hash ) )
+// link##anchor means literal
+if( hash.startsWith( # ) )
+{
+linkAnchor =  
linkAnchor.substring( 0,

hashIndex ) + hash; +}
+else if ( !DoxiaUtils.isValidId(  
hash ) )


   {

   linkAnchor =

   linkAnchor.substring( 0,
   hashIndex ) + #

Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.j
ava?rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java Sat Apr  6 12:21:13  
2013

@@ -513,6 +513,26 @@ public class AptParserTest

   assertFalse( it.hasNext() );

   }

+public void testLiteralAnchor()
+throws Exception
+{
+// DOXIA-397
+String text =
+
{{{../apidocs/groovyx/net/http/ParserRegistry.html##parseText(org.apache
.http.HttpResponse)}ParserRegistry}}; +
+SinkEventTestingSink sink = new SinkEventTestingSink();
+
+parser.parse( text, sink );
+
+IteratorSinkEventElement it =  
sink.getEventList().iterator();

+assertEquals( it, head, head_, body, section1,
sectionTitle1 ); +assertEquals( it.next(), link,
+
../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.htt
p.HttpResponse) ); +assertEquals( it.next(), text,
ParserRegistry );
+assertEquals( it, link_, sectionTitle1_, section1_,  
body_

); +assertFalse( it.hasNext() );
+}
+

   /** {@inheritDoc} */
   protected String outputExtension()
   {



Re: Desupport Maven 1

2013-04-07 Thread Olivier Lamy
+1
Do you want to take care of that and send similar emails ?


2013/4/7 Hervé BOUTEMY herve.bout...@free.fr:
 notice the recent EOL press release for Struts 1 [1]

 we should probably use it as a basis for doing something similar

 Regards,

 Hervé

 [1] http://struts.apache.org/struts1eol-press.html

 Le mercredi 27 février 2013 10:33:53 Benson Margulies a écrit :
 I think it's long overtime for us to officially disclaim support for Maven
 1.

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

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




-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

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



Re: New world record ? Fwd: svn commit: r857615 - in /websites/production/maven/content/surefire-archives/maven-surefire-2.14.1: ./ css/ images/ images/logos/ images/profiles/ img/ js/ maven-failsafe-

2013-04-07 Thread Arnaud Héritier
Lol

Le dimanche 7 avril 2013, Kristian Rosenvold a écrit :

 With javadoc :)

 Kristian


 Videresendt melding:

 *Fra:* krosenv...@apache.org javascript:;
 *Dato:* 7. april 2013 14:33:14 CEST
 *Til:* comm...@maven.apache.org javascript:;
 *Emne:* *svn commit: r857615 - in
 /websites/production/maven/content/surefire-archives/maven-surefire-2.14.1:
 ./ css/ images/ images/logos/ images/profiles/ img/ js/
 maven-failsafe-plugin/ maven-failsafe-plugin/apidocs/
 maven-failsafe-plugin/apidocs/org/ maven-...*
 *Svar til:* dev@maven.apache.org javascript:;

 Author: krosenvold
 Date: Sun Apr  7 12:21:04 2013
 New Revision: 857615

 Log:
 Apache Maven Surefire site deployment


 [This commit notification would consist of 738 parts,
 which exceeds the limit of 50 ones, so it was shortened to the summary.]



-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier


Re: svn commit: r1465234 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src: main/java/org/apache/maven/doxia/module/apt/AptParser.java test/java/org/apache/maven/doxia/module/apt/AptPar

2013-04-07 Thread Robert Scholte

FYI: build is stable again

Robert

Op Sun, 07 Apr 2013 10:39:24 +0200 schreef Robert Scholte  
rfscho...@apache.org:



Thanks for the feedback.

I thought about discussing this solution first, but there are not that  
much options without breaking backwards compatibility. And since '##' is  
illegal, Doxia could very well make use that :)


The site documentation is decoupled from actual sources, it took some  
time to find it.

In the end it would have been easier to just use the ASF CMS shortcut.

It seems like I broke some tests according to Jenkins[1]
My IDE thinks its ok, cmdline doesn't :S
It has got to do with EOLs

I don't have much time today, but I'll try to fix it, unless someone  
beats me ;)


Robert

[1]  
https://builds.apache.org/job/doxia/jdk=JDK%201.5%20(latest),label=Windows/


Op Sun, 07 Apr 2013 09:47:13 +0200 schreef Lukas Theussl  
ltheu...@apache.org:




Excellent, I didn't see that. Thanks!

-Lukas


Hervé BOUTEMY wrote:

yes, I like this nice new markup idea too

Lukas, documentation was added in http://svn.apache.org/r1465238
did you overlooked it or do you have a more precise documentation idea?

Regards,

Hervé

Le dimanche 7 avril 2013 09:12:37 Lukas Theussl a écrit :

Seems to be a good fix, thanks Robert!

I'm only missing some documentation, could you add an example to
http://maven.apache.org/doxia/references/doxia-apt.html ?

Cheers,
-Lukas

rfscho...@apache.org wrote:

Author: rfscholte
Date: Sat Apr  6 12:21:13 2013
New Revision: 1465234

URL: http://svn.apache.org/r1465234
Log:
[DOXIA-397] Cannot link to javadoc methods

Modified:
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/
  org/apache/maven/doxia/module/apt/AptParser.java
  maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java
  /org/apache/maven/doxia/module/apt/AptParserTest.java
Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?
rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/
apache/maven/doxia/module/apt/AptParser.java Sat Apr  6 12:21:13  
2013 @@

-477,7 +477,12 @@ public class AptParser

   logMessage( ambiguousLink,  
msg );


   }

-if ( !DoxiaUtils.isValidId( hash ) )
+// link##anchor means literal
+if( hash.startsWith( # ) )
+{
+linkAnchor =  
linkAnchor.substring( 0,

hashIndex ) + hash; +}
+else if ( !DoxiaUtils.isValidId(  
hash ) )


   {

   linkAnchor =

   linkAnchor.substring( 0,
   hashIndex ) + #

Modified:
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-
module-apt/src/test/java/org/apache/maven/doxia/module/apt/AptParserTest.j
ava?rev=1465234r1=1465233r2=1465234view=diff
=
= ---
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java (original) +++
maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/test/java/org/
apache/maven/doxia/module/apt/AptParserTest.java Sat Apr  6 12:21:13  
2013

@@ -513,6 +513,26 @@ public class AptParserTest

   assertFalse( it.hasNext() );

   }

+public void testLiteralAnchor()
+throws Exception
+{
+// DOXIA-397
+String text =
+
{{{../apidocs/groovyx/net/http/ParserRegistry.html##parseText(org.apache
.http.HttpResponse)}ParserRegistry}}; +
+SinkEventTestingSink sink = new SinkEventTestingSink();
+
+parser.parse( text, sink );
+
+IteratorSinkEventElement it =  
sink.getEventList().iterator();

+assertEquals( it, head, head_, body, section1,
sectionTitle1 ); +assertEquals( it.next(), link,
+
../apidocs/groovyx/net/http/ParserRegistry.html#parseText(org.apache.htt
p.HttpResponse) ); +assertEquals( it.next(), text,
ParserRegistry );
+assertEquals( it, link_, sectionTitle1_, section1_,  
body_

); +assertFalse( it.hasNext() );
+}
+

   /** {@inheritDoc} 

Re: Dependency properties

2013-04-07 Thread Hervé BOUTEMY
I don't know if the karaf use is case is really valid (I'm still convinced a 
plugin configuraton is appropriate)
 
but I like the dependency properties idea, structured as a properties addition 
to actual dependency element in POM to avoid wreaking havoc: we don't really 
know how people will use it, but this could give plugin developers flexibility 
to create new features
 
Any strong objection?
 
This could be a good time for the team to try to implement some POM additions 
and work on consequences: with a branch in git, regularly rebased, this should 
not represent too much efforts.
 
Yes, I like it: instead of any objection?, I prefer to ask anybody with 
me?
 
Regards,
 
Hervé

Le samedi 6 avril 2013 14:05:23 Andrei Pozolotin a écrit :

Hervé

here are few thoughts:

1) transitive concern is valid, but should not be enforced the way it is now.

2) user properties on dependencies are a valid feature to help plugin writers.

3) it would help to have standard api to extract these user  properties from 
dependency

4) it could be implemented as optional xsd entry for dependency/properties
where properties is a modello component identical to the 
project/properties

Thank you, 

Andrei 
 Original Message 
Subject: Dependency properties
From: Hervé BOUTEMY herve.bout...@free.fr
To: dev@maven.apache.org
Date: Fri 05 Apr 2013 12:37:09 AM CDT

what about the shortcoming described in the Why there are no dependency 
properties in Maven2 article?

Notice we're back at a the POM model question (+ compatibility and so on) [1]
But let's start with understanding the need and how it can scale or not

Regards,

Hervé

[1] 
https://cwiki.apache.org/confluence/display/MAVEN/Moving+forward+with+the+POM+data+model

Le jeudi 4 avril 2013 12:54:50 Andrei Pozolotin a écrit : 
yes:
http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-Whytherearenodepend
encypropertiesinMaven2 
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

 





Re: Desupport Maven 1

2013-04-07 Thread Hervé BOUTEMY
for the moment, I'm on releases around Maven 3.1-alpha-1, but after that, if 
nobody else wants to do it, I can

Regards,

Hervé

Le dimanche 7 avril 2013 19:58:28 Olivier Lamy a écrit :
 +1
 Do you want to take care of that and send similar emails ?
 
 2013/4/7 Hervé BOUTEMY herve.bout...@free.fr:
  notice the recent EOL press release for Struts 1 [1]
  
  we should probably use it as a basis for doing something similar
  
  Regards,
  
  Hervé
  
  [1] http://struts.apache.org/struts1eol-press.html
  
  Le mercredi 27 février 2013 10:33:53 Benson Margulies a écrit :
  I think it's long overtime for us to officially disclaim support for
  Maven
  1.
  
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
  
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org

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



[VOTE] Maven Shared Utils 0.4 and Maven Surefire 2.14.1

2013-04-07 Thread Kristian Rosenvold
Hi,

maven-shared-utils 0.4
--
We solved 1 issue
https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=19137

There are a few issues left in
jira:http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open

maven-surefire 2.14.1
-
We solved 8 
issues:https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=19137

There are still lots of issues left in
JIRA:http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

Staging repo:https://repository.apache.org/content/repositories/maven-069/
https://repository.apache.org/content/repositories/maven-311/https://repository.apache.org/content/repositories/maven-069/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3-source-release.zip
https://repository.apache.org/content/repositories/maven-311/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3-source-release.ziphttps://repository.apache.org/content/repositories/maven-069/org/apache/maven/plugins/maven-surefire-plugin/2.14/maven-surefire-plugin-2.14-sources.jar
https://repository.apache.org/content/repositories/maven-311/org/apache/maven/plugins/maven-surefire-plugin/2.14/maven-surefire-plugin-2.14-sources.jarhttps://repository.apache.org/content/repositories/maven-069/org/apache/maven/plugins/maven-failsafe-plugin/2.14/maven-failsafe-plugin-2.14-sources.jar
https://repository.apache.org/content/repositories/maven-311/org/apache/maven/plugins/maven-failsafe-plugin/2.14/maven-failsafe-plugin-2.14-sources.jar


Staging sites:http://maven.apache.org/shared-archives/maven-shared-utils-0.4/
http://maven.apache.org/shared-archives/maven-shared-utils-0.3/http://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-surefire-plugin/index.html
http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-surefire-plugin/index.htmlhttp://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-failsafe-plugin/index.html
http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-failsafe-plugin/index.htmlhttp://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-surefire-report-plugin/index.html
http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-surefire-report-plugin/index.html


Guide to testing staged
releases:http://maven.apache.org/guides/development/guide-testing-releases.html

Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1

And here's my +1

Kristian


Re: [VOTE] Apache Maven Shared Incremental 1.1 and Apache Maven Compiler Plugin 3.1 (take 3)

2013-04-07 Thread Kristian Rosenvold
+1


2013/4/6 Olivier Lamy ol...@apache.org:
 +1

 2013/4/3 Olivier Lamy ol...@apache.org:
 Hi,

 Apache Maven Shared Incremental 1.1

 We fixed 1 issue:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?version=19002styleName=TextprojectId=11761Create=Create

 Staging repository:
 https://repository.apache.org/content/repositories/maven-057/

 Staging site: 
 http://maven.apache.org/shared-archives/maven-shared-incremental-1.1/

 Apache Maven Compiler Plugin 3.1

 We fixed 8 issues:
 http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11130version=18973

 Staging repository: 
 https://repository.apache.org/content/repositories/maven-058

 Staging site: 
 http://maven.apache.org/plugins-archives/maven-compiler-plugin-3.1/

 Vote open for 72H

 [+1]
 [0]
 [-1]

 And don't ask why they are 2 repositories :-) I did as I do usually:
 running release plugin for both projects then go to the ui and they
 were here.

 Thanks!
 --
 Olivier Lamy
 Ecetera: http://ecetera.com.au
 http://twitter.com/olamy | http://linkedin.com/in/olamy



 --
 Olivier Lamy
 Ecetera: http://ecetera.com.au
 http://twitter.com/olamy | http://linkedin.com/in/olamy

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


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



Re: [VOTE] Maven Shared Utils 0.4 and Maven Surefire 2.14.1

2013-04-07 Thread Kristian Rosenvold
The copy-paste devil in the new gmail compose interface got the
better of me; 069 is the correct repo.

Kristian


2013/4/7 Kristian Rosenvold kristian.rosenv...@gmail.com:
 Hi,

 maven-shared-utils 0.4
 --
 We solved 1 issue
 https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=19137

 There are a few issues left in
 jira:http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open

 maven-surefire 2.14.1
 -
 We solved 8 
 issues:https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11761version=19137

 There are still lots of issues left in
 JIRA:http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+SUREFIRE+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC

 Staging repo:https://repository.apache.org/content/repositories/maven-069/
 https://repository.apache.org/content/repositories/maven-311/https://repository.apache.org/content/repositories/maven-069/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3-source-release.zip
 https://repository.apache.org/content/repositories/maven-311/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3-source-release.ziphttps://repository.apache.org/content/repositories/maven-069/org/apache/maven/plugins/maven-surefire-plugin/2.14/maven-surefire-plugin-2.14-sources.jar
 https://repository.apache.org/content/repositories/maven-311/org/apache/maven/plugins/maven-surefire-plugin/2.14/maven-surefire-plugin-2.14-sources.jarhttps://repository.apache.org/content/repositories/maven-069/org/apache/maven/plugins/maven-failsafe-plugin/2.14/maven-failsafe-plugin-2.14-sources.jar
 https://repository.apache.org/content/repositories/maven-311/org/apache/maven/plugins/maven-failsafe-plugin/2.14/maven-failsafe-plugin-2.14-sources.jar


 Staging sites:http://maven.apache.org/shared-archives/maven-shared-utils-0.4/
 http://maven.apache.org/shared-archives/maven-shared-utils-0.3/http://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-surefire-plugin/index.html
 http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-surefire-plugin/index.htmlhttp://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-failsafe-plugin/index.html
 http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-failsafe-plugin/index.htmlhttp://maven.apache.org/surefire-archives/maven-surefire-2.14.1/maven-surefire-report-plugin/index.html
 http://maven.apache.org/surefire-archives/maven-surefire-2.14/maven-surefire-report-plugin/index.html


 Guide to testing staged
 releases:http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

  [ ] +1
  [ ] +0
  [ ] -1

 And here's my +1

 Kristian

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



Re: [VOTE] Apache 3.1.0-alpha-1

2013-04-07 Thread Hervé BOUTEMY
while working on site publication, I found that all my work on maven-aether-
provider unit tests had simply been pruned when merging Aether. I will need to 
re-do the work, step by step :(

From my perspective, maven-reporting-exec is ready to release: I'll do it 
tomorrow if nobody objects.

I'd like some review on DOXIA-484 before releasing Doxia 1.4

And I still didn't have a look at dependency:tree...


Regards,

Hervé

Le lundi 1 avril 2013 08:12:09 Jason van Zyl a écrit :
 Here are the release bits for 3.1.0-alpha-1:
 
 Release notes:
 https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500version=18
 967
 
 Staging repository:
 https://repository.apache.org/content/repositories/maven-042/
 
 Staged distribution:
 https://repository.apache.org/content/repositories/maven-042/org/apache/mave
 n/apache-maven/3.1.0-alpha-1/
 
 Anyone trying this in advance should know that the Site, Dependency, and
 Shade plugin are not going to work. We are aware of this and those
 responsible for those plugins are looking into it.
 
 Thanks,
 
 Jason
 
 --
 Jason van Zyl
 Founder  CTO, Sonatype
 Founder,  Apache Maven
 http://twitter.com/jvanzyl
 -
 
 We know what we are, but know not what we may be.
 
   -- Shakespeare

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



[RESULT] [VOTE] Apache Maven Shared Incremental 1.1 and Apache Maven Compiler Plugin 3.1 (take 3)

2013-04-07 Thread Olivier Lamy
Vote has passed with the following result:
+1 (binding): Hervé Boutemy, Kristian Rosenvold, Olivier Lamy

I will continue release process.

Thanks!
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

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



Re: [VOTE] Apache 3.1.0-alpha-1

2013-04-07 Thread Mark Derricutt

Hervé BOUTEMY wrote:

while working on site publication, I found that all my work on maven-aether-
provider unit tests had simply been pruned when merging Aether. I will need to
re-do the work, step by step:(
Hervé - if this is all in git, you should be able to still find all your 
commits via git reflog, if you find them via there, you can checkout 
the SHA1 of the commit, create a new branch and merge/cherry pick/rebase 
etc. etc.  and hopefully retrace your steps in a much more simpler 
fashion than starting from scratch.


Mark


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



Re: [VOTE] Apache 3.1.0-alpha-1

2013-04-07 Thread Jason van Zyl

On Apr 7, 2013, at 7:32 PM, Hervé BOUTEMY herve.bout...@free.fr wrote:

 while working on site publication, I found that all my work on maven-aether-
 provider unit tests had simply been pruned when merging Aether. I will need 
 to 
 re-do the work, step by step :(
 

I don't think you need to redo anything. If you can find the commits I can work 
them back in. I'd like to figure out how they got pruned.

 From my perspective, maven-reporting-exec is ready to release: I'll do it 
 tomorrow if nobody objects.
 
 I'd like some review on DOXIA-484 before releasing Doxia 1.4
 
 And I still didn't have a look at dependency:tree...
 
 
 Regards,
 
 Hervé
 
 Le lundi 1 avril 2013 08:12:09 Jason van Zyl a écrit :
 Here are the release bits for 3.1.0-alpha-1:
 
 Release notes:
 https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500version=18
 967
 
 Staging repository:
 https://repository.apache.org/content/repositories/maven-042/
 
 Staged distribution:
 https://repository.apache.org/content/repositories/maven-042/org/apache/mave
 n/apache-maven/3.1.0-alpha-1/
 
 Anyone trying this in advance should know that the Site, Dependency, and
 Shade plugin are not going to work. We are aware of this and those
 responsible for those plugins are looking into it.
 
 Thanks,
 
 Jason
 
 --
 Jason van Zyl
 Founder  CTO, Sonatype
 Founder,  Apache Maven
 http://twitter.com/jvanzyl
 -
 
 We know what we are, but know not what we may be.
 
  -- Shakespeare
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 

Thanks,

Jason

--
Jason van Zyl
Founder  CTO, Sonatype
Founder,  Apache Maven
http://twitter.com/jvanzyl
-

A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.

  -- Jakob Burckhardt