[jira] Commented: (MAVEN-1744) A cycle was detected for multiproject goal

2006-12-24 Thread Marin van Zandvoort (JIRA)
[ http://jira.codehaus.org/browse/MAVEN-1744?page=comments#action_83331 ] 

Marin van Zandvoort commented on MAVEN-1744:


Hi,

I did get the same error - "A cycle was detected'" after executing the same 
goals - "maven multiproject:goal -Dgoal=clean".

Later on I found that the cause was because I defined all the dependencies of 
each subproject within the common project.xml file,
so I edited that so that each subproject defines its own dependencies not 
already defined in its dependencies'  element.

Note: It also works if you define ALL dependencies needed by each subproject 
regardless of them being already defined in thier
dependencies' . Though this would create configuration 
duplication which the Multiproject goal is there to prevent from happening.

> A cycle was detected for multiproject goal
> --
>
> Key: MAVEN-1744
> URL: http://jira.codehaus.org/browse/MAVEN-1744
> Project: Maven 1.x
>  Issue Type: Bug
>Reporter: Manisha Sur
>
> I get the 'A cycle was detected' error for the multiproject:goal -Dgoal=clean 
> .
> Please let me know the possible causes 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (DOXIA-82) Doxia default site renderer redefines local macros over and over again

2006-12-24 Thread Henning Schmiedehausen (JIRA)
Doxia default site renderer redefines local macros over and over again
--

 Key: DOXIA-82
 URL: http://jira.codehaus.org/browse/DOXIA-82
 Project: doxia
  Issue Type: Bug
Reporter: Henning Schmiedehausen


The Doxia default site renderer uses Apache Velocity to render its pages. Every 
time a page is rendered, Doxia tries to define Velocity Macros but the Plexus 
Velocity component sets the replacement of Velocity Macro to false (the 
default). 

In Velocity Version 1.4, these error messages are silently discarded. In newer 
Versions (1.5 beta 2 and beyond), these messages are logged out and appear to 
be errors.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MAVENUPLOAD-1285) WizCrypt 2.1 - Upload Request To Maven Repository

2006-12-24 Thread Subhash Chandran (JIRA)
WizCrypt 2.1 - Upload Request To Maven Repository
-

 Key: MAVENUPLOAD-1285
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1285
 Project: maven-upload-requests
  Issue Type: Task
Reporter: Subhash Chandran


http://wiztools.org/upload/WizCrypt-2.1-bundle.jar

http://wiztools.org/upload/WizCrypt-2.1-javadoc.jar
http://wiztools.org/upload/WizCrypt-2.1-sources.jar
http://wiztools.org/upload/WizCrypt-2.1.jar

WizCrypt is an encryption software and engine for embedding inside 
applications. Thanks for the time and effort for uploading this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (ARCHETYPE-61) Configure distributionManagement for archetype

2006-12-24 Thread Wendy Smoak (JIRA)
Configure distributionManagement for archetype
--

 Key: ARCHETYPE-61
 URL: http://jira.codehaus.org/browse/ARCHETYPE-61
 Project: Maven Archetype
  Issue Type: Improvement
Reporter: Wendy Smoak
 Attachments: archetype-plugin-dist-mgmt-site.patch


Please configure distributionManagement for the archetype module.  Is the 
intent to publish them under maven.apache.org/archetype ?  Will there be an 
archetype-site module, like Continuum has?

For now, I've added it to maven-archetype-plugin (locally) so I can publish the 
plugin docs to maven.apache.org/plugins/maven-archetype-plugin.





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MSUREFIRE-187) Classes can't find their JNI on Windows inside surefire

2006-12-24 Thread benson margulies (JIRA)
Classes can't find their JNI on Windows inside surefire
---

 Key: MSUREFIRE-187
 URL: http://jira.codehaus.org/browse/MSUREFIRE-187
 Project: Maven 2.x Surefire Plugin
  Issue Type: Bug
  Components: classloading
Affects Versions: 2.2
 Environment: WIndows XP, JDK 1.5, ia32
Reporter: benson margulies


When run inside of surefire, my unit tests can't find their JNI. When run 
outside of surefire, all is well. I have the necessary settings arranged via 
the configuration, but no joy.

The debug trace shows the right settings for classpath, java.library.path, and 
PATH. Indeed, I created a shell script that just runs junit.textui.TestRunner 
with the same parameters (but none of surefire) and it works just fine.

[DEBUG] Setting system property 
[java.library.path]=[c:/x/rlp53/rlp/bin_g/ia32-w32-msvc71]
[DEBUG] Setting system property [bt.rlp.root]=[c:/x/rlp53/rlp/]
[DEBUG] Setting system property 
[localRepository]=[c:/x/rlp53/rnm/source/index_ws/m2]
[DEBUG] Setting system property [basedir]=[c:\x\rlp53\rnm\source\index_ws]
[DEBUG] Setting environment variable 
[PATH]=[c:\x\rlp53\rlp\bin_g\ia32-w32-msvc71;c:\vs2003\Common7\IDE;c:\vs2003\VC7\BIN;c:\vs2003\Common7\Tools;c:\vs2003\Common7\Tools\bin;c:\vs2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;c:\vs2003\Common7\IDE;c:\vs2003\VC7\BIN;c:\vs2003\Common7\Tools;c:\vs2003\Common7\Tools\bin;c:\vs2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\jdk1.5.0_09\bin;c:\Perl\bin\;c:\Python24\;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program
 Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Microsoft SQL 
Server\80\Tools\Binn\;c:\Program Files\Perforce;c:\Program 
Files\cvsnt;C:\cygwin\usr\X11R6\bin;C:\cygwin\usr\X11R6\bin;C:\cygwin\lib\lapack]

I have not built an isolated test case, but I could if that would help someone 
understand this.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ARCHETYPE-39) Add tool for working with escaping in Velocity templates

2006-12-24 Thread Wendy Smoak (JIRA)
[ http://jira.codehaus.org/browse/ARCHETYPE-39?page=comments#action_83344 ] 

Wendy Smoak commented on ARCHETYPE-39:
--

Mikko's suggestion works for me.   Can we get it in as a workaround until 
someone has time to pursue the EscapeTool from Velocity?

We really need some way of escaping expressions so they're not filtered.

Right now I can't make an archetype for the Struts 2 Blank webapp, because of 
this line in a .properties file:
requiredstring = ${getText(fieldName)} is required.

Velocity complains.
Embedded error: Error merging velocity templates
Encountered "(fieldName)} is required.\r\npassword = Password\r\nusername = User
 Name\r\nMissing.message =  This feature is under construction. Please try again
 in the next iteration.\r\n" at line 2, column 27.
Was expecting one of:
"}" ...
 ...


> Add tool for working with escaping in Velocity templates
> 
>
> Key: ARCHETYPE-39
> URL: http://jira.codehaus.org/browse/ARCHETYPE-39
> Project: Maven Archetype
>  Issue Type: Improvement
>  Components: Plugin
>Affects Versions: 1.0-alpha-4
>Reporter: Willie Vu
> Attachments: ARCHETYPE-39.patch
>
>
> e.g. I need to put ${archifactId} (without parameter replacement) into an 
> assembly descriptor.  I need to escape the dollar sign.
> This is the Escape Tool of Velocity - 
> http://jakarta.apache.org/velocity/tools/javadoc/org/apache/velocity/tools/generic/EscapeTool.html.
>   The embedded Velocity engine will be configured to use it, or archetype 
> plugin allows further Velocity configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ARCHETYPE-39) Add tool for working with escaping in Velocity templates

2006-12-24 Thread Wendy Smoak (JIRA)
 [ http://jira.codehaus.org/browse/ARCHETYPE-39?page=all ]

Wendy Smoak updated ARCHETYPE-39:
-

Patch attached: Yes

> Add tool for working with escaping in Velocity templates
> 
>
> Key: ARCHETYPE-39
> URL: http://jira.codehaus.org/browse/ARCHETYPE-39
> Project: Maven Archetype
>  Issue Type: Improvement
>  Components: Plugin
>Affects Versions: 1.0-alpha-4
>Reporter: Willie Vu
> Attachments: ARCHETYPE-39-velocity-escape-tool.patch, 
> ARCHETYPE-39.patch
>
>
> e.g. I need to put ${archifactId} (without parameter replacement) into an 
> assembly descriptor.  I need to escape the dollar sign.
> This is the Escape Tool of Velocity - 
> http://jakarta.apache.org/velocity/tools/javadoc/org/apache/velocity/tools/generic/EscapeTool.html.
>   The embedded Velocity engine will be configured to use it, or archetype 
> plugin allows further Velocity configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ARCHETYPE-39) Add tool for working with escaping in Velocity templates

2006-12-24 Thread Wendy Smoak (JIRA)
 [ http://jira.codehaus.org/browse/ARCHETYPE-39?page=all ]

Wendy Smoak updated ARCHETYPE-39:
-

Attachment: ARCHETYPE-39-velocity-escape-tool.patch


It turns out that adding EscapeTools to the Velocity context also takes only 
one line.

   context.put( "esc" , new EscapeTool() );

With this change, we'll be able to escape all the characters listed in the docs:
   http://jakarta.apache.org/velocity/tools/generic/EscapeTool.html

For example, to escape the dollar sign, it's
   ${esc.d}  or  ${esc.dollar}

My problematic property becomes:
requiredstring = ${esc.d}{getText(fieldName)} is required.



> Add tool for working with escaping in Velocity templates
> 
>
> Key: ARCHETYPE-39
> URL: http://jira.codehaus.org/browse/ARCHETYPE-39
> Project: Maven Archetype
>  Issue Type: Improvement
>  Components: Plugin
>Affects Versions: 1.0-alpha-4
>Reporter: Willie Vu
> Attachments: ARCHETYPE-39-velocity-escape-tool.patch, 
> ARCHETYPE-39.patch
>
>
> e.g. I need to put ${archifactId} (without parameter replacement) into an 
> assembly descriptor.  I need to escape the dollar sign.
> This is the Escape Tool of Velocity - 
> http://jakarta.apache.org/velocity/tools/javadoc/org/apache/velocity/tools/generic/EscapeTool.html.
>   The embedded Velocity engine will be configured to use it, or archetype 
> plugin allows further Velocity configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MAVENUPLOAD-1285) WizCrypt 2.1 - Upload Request To Maven Repository

2006-12-24 Thread Subhash Chandran (JIRA)
[ 
http://jira.codehaus.org/browse/MAVENUPLOAD-1285?page=comments#action_83348 ] 

Subhash Chandran commented on MAVENUPLOAD-1285:
---

The project is covered by Apache 2.0 license:

http://wiztools.org/project/WizCrypt/license.html

> WizCrypt 2.1 - Upload Request To Maven Repository
> -
>
> Key: MAVENUPLOAD-1285
> URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1285
> Project: maven-upload-requests
>  Issue Type: Task
>Reporter: Subhash Chandran
>
> http://wiztools.org/upload/WizCrypt-2.1-bundle.jar
> http://wiztools.org/upload/WizCrypt-2.1-javadoc.jar
> http://wiztools.org/upload/WizCrypt-2.1-sources.jar
> http://wiztools.org/upload/WizCrypt-2.1.jar
> WizCrypt is an encryption software and engine for embedding inside 
> applications. Thanks for the time and effort for uploading this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Closed: (MAVENUPLOAD-1285) WizCrypt 2.1 - Upload Request To Maven Repository

2006-12-24 Thread Subhash Chandran (JIRA)
 [ http://jira.codehaus.org/browse/MAVENUPLOAD-1285?page=all ]

Subhash Chandran closed MAVENUPLOAD-1285.
-

Resolution: Incomplete

I have not followed the naming convention required. I will close this and 
generate new jars, and create a new issue.

> WizCrypt 2.1 - Upload Request To Maven Repository
> -
>
> Key: MAVENUPLOAD-1285
> URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1285
> Project: maven-upload-requests
>  Issue Type: Task
>Reporter: Subhash Chandran
>
> http://wiztools.org/upload/WizCrypt-2.1-bundle.jar
> http://wiztools.org/upload/WizCrypt-2.1-javadoc.jar
> http://wiztools.org/upload/WizCrypt-2.1-sources.jar
> http://wiztools.org/upload/WizCrypt-2.1.jar
> WizCrypt is an encryption software and engine for embedding inside 
> applications. Thanks for the time and effort for uploading this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MAVENUPLOAD-1286) WizCrypt 2.1 Upload Request To Maven Public Repository

2006-12-24 Thread Subhash Chandran (JIRA)
WizCrypt 2.1 Upload Request To Maven Public Repository
--

 Key: MAVENUPLOAD-1286
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1286
 Project: maven-upload-requests
  Issue Type: Task
Reporter: Subhash Chandran


All the Jars:

http://wiztools.org/upload/wizcrypt-2.1-bundle.jar
http://wiztools.org/upload/wizcrypt-2.1-javadoc.jar
http://wiztools.org/upload/wizcrypt-2.1-sources.jar
http://wiztools.org/upload/wizcrypt-2.1.jar

The project uses Apache 2.0 license:

http://wiztools.org/project/WizCrypt/license.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira