[jira] Commented: (MRM-727) Archiva does not download plugin artifacts

2008-03-10 Thread Maria Odea Ching (JIRA)

[ 
http://jira.codehaus.org/browse/MRM-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126680
 ] 

Maria Odea Ching commented on MRM-727:
--

I also found this in the geronimo logs.. 

14:32:33,558 ERROR [[RepositoryServlet]] Servlet.service() for servlet 
RepositoryServlet threw exception
org.dom4j.InvalidXPathException: Invalid XPath expression: 
'//metadata/groupId'. Caused by: org/dom4j/Element
at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
at org.dom4j.xpath.DefaultXPath.init(DefaultXPath.java:59)
at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
at 
org.apache.maven.archiva.xml.XMLReader.createXPath(XMLReader.java:175)
at 
org.apache.maven.archiva.xml.XMLReader.getElementText(XMLReader.java:258)
at 
org.apache.maven.archiva.repository.metadata.RepositoryMetadataReader.read(RepositoryMetadataReader.java:56)
at 
org.apache.maven.archiva.repository.metadata.MetadataTools.readProxyMetadata(MetadataTools.java:360)
at 
org.apache.maven.archiva.repository.metadata.MetadataTools.updateMetadata(MetadataTools.java:435)
at 
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:367)
at 
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchMetadataFromProxies(ProxiedDavServer.java:405)
at 
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:343)
at 
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:189)
at 
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)
at 
org.apache.maven.archiva.web.repository.RepositoryServlet.service(RepositoryServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
at 
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:353)
at 
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)

Is this the one you've mentioned above Christian?



 Archiva does not download plugin artifacts
 --

 Key: MRM-727
 URL: http://jira.codehaus.org/browse/MRM-727
 Project: Archiva
  Issue Type: Bug
Affects Versions: 1.0.1
 Environment: Ubuntu 7.10 x64, jdk1.6.0_04 x64, geronimo 2.0.2, maven 
 2.0.8 on client
Reporter: Christian Domsch
Assignee: Maria Odea 

[jira] Commented: (MRM-727) Archiva does not download plugin artifacts

2008-03-10 Thread Maria Odea Ching (JIRA)

[ 
http://jira.codehaus.org/browse/MRM-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126687
 ] 

Maria Odea Ching commented on MRM-727:
--

Could you try it Christian and see if it works for you? 
Thanks..

 Archiva does not download plugin artifacts
 --

 Key: MRM-727
 URL: http://jira.codehaus.org/browse/MRM-727
 Project: Archiva
  Issue Type: Bug
Affects Versions: 1.0.1
 Environment: Ubuntu 7.10 x64, jdk1.6.0_04 x64, geronimo 2.0.2, maven 
 2.0.8 on client
Reporter: Christian Domsch
Assignee: Maria Odea Ching
 Fix For: 1.0.2

 Attachments: maven-resources-plugin-maven-metadata-central.xml, 
 MRM-727-build-stack-trace.txt, 
 MRM-727-geronimo-tomcat-log-0.0.0.0_access_log.2008-03-10.txt, MRM727.diff, 
 settings-wrong.xml


 When i have an initially blank local maven repo and for example start maven 
 with mvn clean, no artifacts get downloaded. Maven is configured via the 
 attached settings.xml. When i monitor the tcp traffic, i see that the GET (in 
 this case for the maven-metadata.xml for maven-clean-plugin) request issued 
 to archiva is the correct one. Archiva responses with a 404.
 When I browse the repository file system on the server where archiva stores 
 its files, i see that a maven-metadata-central.xml was stored. the contents 
 of this file are not correct, though.
 From trial and error I found out, that any request to a plugin related 
 maven-metadata.xml file will fail. If I try the same for a normal artifact 
 maven-metadata.xml (like the one for commons-lang) then archiva downloads the 
 correct file.

-- 
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: (CONTINUUM-1494) Maximum length for name column exceeded in makeAndStoreBuildResult

2008-03-10 Thread Wendy Smoak (JIRA)

[ 
http://jira.codehaus.org/browse/CONTINUUM-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126737
 ] 

Wendy Smoak commented on CONTINUUM-1494:


If it was closed as fixed in a prior version, I think it's better to leave this 
closed, open a new issue, and link them. 

I assume the change to 512 did actually fix the problem for some subset of 
Continuum 1.1 users?

 Maximum length for name column exceeded in makeAndStoreBuildResult
 --

 Key: CONTINUUM-1494
 URL: http://jira.codehaus.org/browse/CONTINUUM-1494
 Project: Continuum
  Issue Type: Bug
  Components: Database
Affects Versions: 1.1-beta-2
Reporter: André Næss
Assignee: Olivier Lamy
 Fix For: 1.2

 Attachments: maxlength.patch


 This bug is similar to a bunch of other bugs like this, it seems the data 
 model has been consistently designed with too few characters in the name 
 field. This particular bugs occurs when Continuum tries to store the test 
 results (SuiteResult in the model). Using -Dmaven.test.skip=true made the 
 problem disappear.
 I've attached a very simple fix for the problem, however, I note that 
 TestCaseFailure has no stash.maxSize set, and as soon as my Test breaks it 
 will probably crash with the same problem.
 Here's the stack trace:
 863290102 [Thread-6] ERROR 
 org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project  - 
 Error executing task
 edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: 
 javax.jdo.JDOFatalUserException: Attempt to store value 
 /new-web/newweb-erp-integration/trunk/src/main/ja
 va/com/pointcarbon/erp/agresso/domain/agressostatus/AcuhistrStatus.java (from 
 /new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressos
 tatus/AcuhistrStatusEnum.java:4297) in column NAME that has maximum 
 length of 255. Please correct your data!
 at 
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
 at 
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
 at 
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
 at 
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
 Caused by: javax.jdo.JDOFatalUserException: Attempt to store value 
 /new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressostatus/Acuh
 istrStatus.java (from 
 /new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressostatus/AcuhistrStatusEnum.java:4297)
  in column NAME
 that has maximum length of 255. Please correct your data!
 at 
 org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping.java:214)
 at 
 org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.java:203)
 at 
 org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:122)
 at 
 org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
 at 
 org.apache.maven.continuum.model.scm.ChangeFile.jdoProvideField(ChangeFile.java)
 at 
 org.apache.maven.continuum.model.scm.ChangeFile.jdoProvideFields(ChangeFile.java)
 at 
 org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
 at 
 org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:252)
 at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
 at org.jpox.store.StoreManager.insert(StoreManager.java:920)
 at 
 org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
 at 
 org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
 at 
 org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
 at 
 org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1243)
 at 
 org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKListStore.java:1231)
 at 
 org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:772)
 at 
 org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
 at 
 org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
 at 
 org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
 at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
 at org.jpox.store.StoreManager.insert(StoreManager.java:920)
 at 
 

[jira] Created: (CONTINUUM-1688) Maximum length for name column in object ChangeFile is too small

2008-03-10 Thread Olivier Lamy (JIRA)
Maximum length for name column in object ChangeFile is too small


 Key: CONTINUUM-1688
 URL: http://jira.codehaus.org/browse/CONTINUUM-1688
 Project: Continuum
  Issue Type: Bug
  Components: Database
Affects Versions: 1.1-beta-2
Reporter: Olivier Lamy
Assignee: Olivier Lamy
 Fix For: 1.2


This bug is similar to a bunch of other bugs like this, it seems the data model 
has been consistently designed with too few characters in the name field. This 
particular bugs occurs when Continuum tries to store the test results 
(SuiteResult in the model). Using -Dmaven.test.skip=true made the problem 
disappear.

I've attached a very simple fix for the problem, however, I note that 
TestCaseFailure has no stash.maxSize set, and as soon as my Test breaks it will 
probably crash with the same problem.

Here's the stack trace:


863290102 [Thread-6] ERROR 
org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project  - 
Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: 
javax.jdo.JDOFatalUserException: Attempt to store value 
/new-web/newweb-erp-integration/trunk/src/main/ja
va/com/pointcarbon/erp/agresso/domain/agressostatus/AcuhistrStatus.java (from 
/new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressos
tatus/AcuhistrStatusEnum.java:4297) in column NAME that has maximum length 
of 255. Please correct your data!
at 
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
at 
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: javax.jdo.JDOFatalUserException: Attempt to store value 
/new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressostatus/Acuh
istrStatus.java (from 
/new-web/newweb-erp-integration/trunk/src/main/java/com/pointcarbon/erp/agresso/domain/agressostatus/AcuhistrStatusEnum.java:4297)
 in column NAME
that has maximum length of 255. Please correct your data!
at 
org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping.java:214)
at 
org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.java:203)
at 
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:122)
at 
org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
at 
org.apache.maven.continuum.model.scm.ChangeFile.jdoProvideField(ChangeFile.java)
at 
org.apache.maven.continuum.model.scm.ChangeFile.jdoProvideFields(ChangeFile.java)
at 
org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:252)
at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
at org.jpox.store.StoreManager.insert(StoreManager.java:920)
at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
at 
org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1243)
at 
org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKListStore.java:1231)
at 
org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:772)
at 
org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
at 
org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:209)
at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:464)
at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
at org.jpox.store.StoreManager.insert(StoreManager.java:920)
at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
at 
org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersistenceManager.java:1243)
at 
org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKListStore.java:1231)
at 
org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:772)
at 

[jira] Commented: (MECLIPSE-344) connecting existing workspace artifact-projects

2008-03-10 Thread Richard van Nieuwenhoven (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126688
 ] 

Richard van Nieuwenhoven commented on MECLIPSE-344:
---

Only linking the SNAPSHOT's, can be done, the problem is the list of options 
are getting more and more complex and interweaving. 

So i think it is best to make no new option but let the user decide with the 
eclipse means available (what's in the workspace will be linked). 
I think the best solution is to import or delete (just from the workspace) the 
projects as needed and then let the eclipse plugin connect them.



 connecting existing workspace artifact-projects
 ---

 Key: MECLIPSE-344
 URL: http://jira.codehaus.org/browse/MECLIPSE-344
 Project: Maven 2.x Eclipse Plugin
  Issue Type: New Feature
  Components: Core : Dependencies resolution and build path
Affects Versions: 2.4
Reporter: Richard van Nieuwenhoven
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-344+rad7.patch, MECLIPSE-344+rad7.tgz, 
 MECLIPSE-344.patch, MECLIPSE-344.tgz, workspace-new-files.tgz, 
 workspace.patch, workspace_with_limit.patch


 This patch enables you to specify your workspace, and all dependent artefacts 
  that are available in your eclipse-workspace will be attached  as project 
 references even if they are not in the reactor.
 the property can be set with -DworkspaceToConnect=.
 I did not have the time to create Test cases but, i maybe someone can help 
 with that!
 The patch is based on the MECLIPSE-333 branch.
 as usual the new files are in the extra tgz.

-- 
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: (MJAVADOC-116) Impossible to aggregate javadoc if snapshot never built

2008-03-10 Thread Damien Lecan (JIRA)

[ 
http://jira.codehaus.org/browse/MJAVADOC-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126690
 ] 

Damien Lecan commented on MJAVADOC-116:
---

Wendy, this fix is waited for a long time by many people and is really a major 
issue.
Is it really not possible to work on this for 2.4 ?

 Impossible to aggregate javadoc if snapshot never built
 ---

 Key: MJAVADOC-116
 URL: http://jira.codehaus.org/browse/MJAVADOC-116
 Project: Maven 2.x Javadoc Plugin
  Issue Type: Bug
Affects Versions: 2.2
Reporter: Damien Lecan
Assignee: Vincent Siveton
 Attachments: clean javadoc-plugin-test-case with classifier use.zip, 
 javadoc-plugin-test-case with classifier use.zip, 
 javadoc-plugin-test-case.zip, log.txt, tiles-log.txt


 In a multi-module projet, I build an aggregated Javadoc for the site.
 The project is built with mvn clean deploy site-deploy
 When I add a new project, the next build always fails because the javadoc 
 plugin can't find at least one snapshot for the new added module
 In the following example, I added a new module tele.persistance:pers-commons, 
 which have never been built before.
 Maven tries to download it but it can't find it (never build before).
 {noformat} [INFO] [site:site]
 [WARNING] Unable to load parent project from repository: Could not find the 
 model file '/continuum-folders/working-directory/116/../pom.xml'.
 [INFO] Skipped About report, file index.html already exists for the 
 English version.
 [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
 [INFO] Generate JavaDocs report.
 [INFO] snapshot tele:commons:1.2.0-alpha-1-SNAPSHOT: checking for updates 
 from mirror.snapshots
 [INFO] snapshot tele.persistance:pers-data:1.2.0-alpha-1-SNAPSHOT: checking 
 for updates from mirror.snapshots
 [INFO] snapshot tele.persistance:pers-api:1.2.0-alpha-1-SNAPSHOT: checking 
 for updates from mirror.snapshots
 [INFO] snapshot tele.persistance:pers-commons:1.2.0-alpha-1-SNAPSHOT: 
 checking for updates from mirror.snapshots
 Downloading: 
 http://proxy/maven2-snapshots/repository/tele/persistance/pers-commons/1.2.0-alpha-1-SNAPSHOT/pers-commons-1.2.0-alpha-1-SNAPSHOT.jar
 [WARNING] Unable to get resource 
 'tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT' from repository 
 mirror.snapshots (http://proxy/maven2-snapshots/repository)
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 Missing:
 --
 1) tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT
   Try downloading the file manually from the project website.
   Then, install it using the command: 
   mvn install:install-file -DgroupId=tele.persistance 
 -DartifactId=pers-commons \
   -Dversion=1.2.0-alpha-1-SNAPSHOT -Dpackaging=jar 
 -Dfile=/path/to/file
   Path to dependency: 
   1) tele.persistance:pers-dao:jar:1.2.0-alpha-1-SNAPSHOT
   2) tele.persistance:pers-commons:jar:1.2.0-alpha-1-SNAPSHOT
 --
 1 required artifact is missing.
 for artifact: 
   tele.persistance:pers-dao:jar:1.2.0-alpha-1-SNAPSHOT
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   mirror.snapshots (http://proxy/maven2-snapshots/repository)
 {noformat}
 If I make an intermediate install, everything works fine

-- 
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: (MECLIPSE-398) Remove files added by additionalConfig on clean

2008-03-10 Thread Daniel Frey (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126693
 ] 

Daniel Frey commented on MECLIPSE-398:
--

 A workaround would be to be able to execute additional commands at the 
eclipse:clean goal - i.e. with the antrun plugin. Is this possible?

 Remove files added by additionalConfig on clean
 -

 Key: MECLIPSE-398
 URL: http://jira.codehaus.org/browse/MECLIPSE-398
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
Affects Versions: 2.4
 Environment: Windows XP Professional SP 2, Java 1.6.0_03-b05
Reporter: Daniel Frey

 Files generated with the additionalConfigfile should be deleted on 
 eclipse:clean automatically.

-- 
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: (MIDEA-102) Module filepath is generated incorrectly for sibling parent

2008-03-10 Thread Joern Huxhorn (JIRA)

[ 
http://jira.codehaus.org/browse/MIDEA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126692
 ] 

Joern Huxhorn commented on MIDEA-102:
-

I had to build using

mvn clean install -Dmaven.test.skip=true

because otherwise the build would fail with the following messages:

Running org.apache.maven.plugin.idea.IdeaModuleTest
[WARNING] An error occurred during dependency resolution of the following 
artifact:

org.apache.maven.plugin.test:plugin-test-1919

Caused by: required artifacts missing:
  javax.sql:jdbc-stdext:jar:2.0

for the artifact:
  org.apache.maven.plugin.test:plugin-test-19:jar:19

from the specified remote repositories:
  test-repo (file://P:\misc\maven-idea-plugin\src\test\remote-repo)

[WARNING] An error occurred during dependency resolution of the following 
artifact:

org.apache.maven.plugin.test:plugin-test-

Caused by: required artifacts missing:
  javax.sql:jdbc-stdext:jar:2.0

for the artifact:
  org.apache.maven.plugin.test:plugin-test-22:jar:22

from the specified remote repositories:
  test-repo (file://P:\misc\maven-idea-plugin\src\test\remote-repo)

[WARNING] Unable to get resource from repository test-repo 
(file://P:\misc\maven-idea-plugin\src\test\remote-repo)
[INFO] artifact junit:junit: checking for updates from test-repo
Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.484 sec  
FAILURE!
Running org.apache.maven.plugin.idea.LibraryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.maven.plugin.idea.IdeaMojoTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec

Results :

Failed tests:
  
testEjbProjectWithModulesConfigurations(org.apache.maven.plugin.idea.IdeaModuleTest)

Tests run: 37, Failures: 1, Errors: 0, Skipped: 0


But beside that, the current version works as expected for me.

 Module filepath is generated incorrectly for sibling parent
 ---

 Key: MIDEA-102
 URL: http://jira.codehaus.org/browse/MIDEA-102
 Project: Maven 2.x IDEA Plugin
  Issue Type: Bug
Affects Versions: 2.1
 Environment: $ mvn -v
 Maven version: 2.0.7
 Java version: 1.5.0_11
 OS name: windows xp version: 5.1 arch: x86
 cygwin
Reporter: Joern Huxhorn
Assignee: Dennis Lundberg
 Fix For: 2.2

 Attachments: maven-idea-plugin-MIDEA-102.patch


 I have a multi-module mvn project.
 When I do an mvn idea:clean idea:idea, the following ProjectModuleManager 
 snippet in the top level .ipr is generated:
 component name=ProjectModuleManager 
 modules 
   !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ --  
   module filepath=$PROJECT_DIR$/gateway.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/
   module 
 filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/
 /modules 
   /component
 The $PROJECT_DIR in this case is C:/dev/voca/gateway/.
 But this path is being appended in a hard-coded fashion after the 
 $PROJECT_DIR entry.
 The symptom in Intellij is the following error message:
 Cannot load module: File 
 C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not 
 exist
 Would you like to remove the module from the project?
 The workaround is to delete the extra appended file path from each module 
 entry in the above mentioned snippet.

-- 
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: (MNG-3284) Cached plugins are used, even when the specifically declared

2008-03-10 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126696
 ] 

Brett Porter commented on MNG-3284:
---

this looks good to me - if you have a chance could you turn the reproduction 
into the integration test format?

 Cached plugins are used, even when the specifically declared 
 -

 Key: MNG-3284
 URL: http://jira.codehaus.org/browse/MNG-3284
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies, Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Nigel Magnay
Priority: Critical
 Attachments: 
 0001-Initial-fix-to-see-if-we-can-have-1-version-of-a-pl.patch, 
 maven-bug-2.tar, pluginbug.tar


 In the attached project, you can build module A, then build module B, but the 
 top level aggregator project will fail at B.
 The reason this happens is that maven seems to cache plugins. When B is built 
 in isolation, all things are fine - but when built in aggregation, one of the 
 plugins that it uses has already been instantiated, and so it uses that one. 
 This is incorrect, since the declared version is different in B, and is 
 relying on functionality not present in the version declared in A.
 I have seen similar behaviour when a plugin relies on other plugins to get 
 work done - all of a sudden a build mysteriously stops working, because of a 
 completely unrelated plugin.
 This is pretty painful because
 - it's possible to get into a 'no solution', where one project relies on one 
 behaviour so can't upgrade, and one project relies on new behaviour, so can't 
 downgrade.
 - you get builds that work OK in isolation, but not in their project. This is 
 bad. Also builds tied together in bigger aggregator projects can fail in 
 mysterious ways (mysterious because the user /has/ specified the plugin 
 version, and maven has ignored them, or it's a plugin dependency that got 
 there first)
 - subtle build ordering changes can cause new failures (the example has B 
 depend on A - but the bug might only manifest itself in certain build orders 
 that change even when B and A don't).

-- 
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: (MNG-3284) Cached plugins are used, even when the specifically declared

2008-03-10 Thread Brett Porter (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126698
 ] 

Brett Porter commented on MNG-3284:
---

I'm not sure MNG-3217, MNG-3013 is related to this, but the other certainly is. 
I think this fix is going to be safe in the cases where it works and no worse 
in the cases where it doesn't. From what I remember, the plugin manager will 
still cache the containers based on a less comprehensive key so you might not 
get a complete solution with this.

I do think this would require some more comprehensive testing but is worth 
reviewing.

 Cached plugins are used, even when the specifically declared 
 -

 Key: MNG-3284
 URL: http://jira.codehaus.org/browse/MNG-3284
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies, Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Nigel Magnay
Priority: Critical
 Attachments: 
 0001-Initial-fix-to-see-if-we-can-have-1-version-of-a-pl.patch, 
 maven-bug-2.tar, pluginbug.tar


 In the attached project, you can build module A, then build module B, but the 
 top level aggregator project will fail at B.
 The reason this happens is that maven seems to cache plugins. When B is built 
 in isolation, all things are fine - but when built in aggregation, one of the 
 plugins that it uses has already been instantiated, and so it uses that one. 
 This is incorrect, since the declared version is different in B, and is 
 relying on functionality not present in the version declared in A.
 I have seen similar behaviour when a plugin relies on other plugins to get 
 work done - all of a sudden a build mysteriously stops working, because of a 
 completely unrelated plugin.
 This is pretty painful because
 - it's possible to get into a 'no solution', where one project relies on one 
 behaviour so can't upgrade, and one project relies on new behaviour, so can't 
 downgrade.
 - you get builds that work OK in isolation, but not in their project. This is 
 bad. Also builds tied together in bigger aggregator projects can fail in 
 mysterious ways (mysterious because the user /has/ specified the plugin 
 version, and maven has ignored them, or it's a plugin dependency that got 
 there first)
 - subtle build ordering changes can cause new failures (the example has B 
 depend on A - but the bug might only manifest itself in certain build orders 
 that change even when B and A don't).

-- 
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: (MRELEASE-331) SCM urls are broken for all modules, except the parent

2008-03-10 Thread Vincent Siveton (JIRA)
SCM urls are broken for all modules, except the parent 
---

 Key: MRELEASE-331
 URL: http://jira.codehaus.org/browse/MRELEASE-331
 Project: Maven 2.x Release Plugin
  Issue Type: Bug
Affects Versions: 2.0-beta-7
Reporter: Vincent Siveton
Priority: Blocker


This comes from the parent pom, which is missing a / at the end of the scm urls.

See: 
http://www.nabble.com/Re%3A-svn-commit%3A-r635240---in--maven-plugin-tools-trunk%3A-.--maven-plugin-plugin--maven-plugin-tools-ant--maven-plugin-tools-api--maven-plugin-tools-beanshell--maven-plugin-tools-java--maven-plugin-tools-javadoc--maven-plugin-tools-model--tt15929761s177.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




[jira] Commented: (MECLIPSE-344) connecting existing workspace artifact-projects

2008-03-10 Thread Barrie Treloar (JIRA)

[ 
http://jira.codehaus.org/browse/MECLIPSE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126700
 ] 

Barrie Treloar commented on MECLIPSE-344:
-

Not having an option as per 
http://jira.codehaus.org/browse/MECLIPSE-344#action_126688 makes sense to me.

If you have imported the project already into eclipse then link to it, 
otherwise use m2 repository.



 connecting existing workspace artifact-projects
 ---

 Key: MECLIPSE-344
 URL: http://jira.codehaus.org/browse/MECLIPSE-344
 Project: Maven 2.x Eclipse Plugin
  Issue Type: New Feature
  Components: Core : Dependencies resolution and build path
Affects Versions: 2.4
Reporter: Richard van Nieuwenhoven
Assignee: Arnaud Heritier
 Fix For: 2.5

 Attachments: MECLIPSE-344+rad7.patch, MECLIPSE-344+rad7.tgz, 
 MECLIPSE-344.patch, MECLIPSE-344.tgz, workspace-new-files.tgz, 
 workspace.patch, workspace_with_limit.patch


 This patch enables you to specify your workspace, and all dependent artefacts 
  that are available in your eclipse-workspace will be attached  as project 
 references even if they are not in the reactor.
 the property can be set with -DworkspaceToConnect=.
 I did not have the time to create Test cases but, i maybe someone can help 
 with that!
 The patch is based on the MECLIPSE-333 branch.
 as usual the new files are in the extra tgz.

-- 
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: (MRM-728) After successful admin login archiva reacts as if user is guest

2008-03-10 Thread Robin Roos (JIRA)

[ 
http://jira.codehaus.org/browse/MRM-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126694
 ] 

Robin Roos commented on MRM-728:


I've now repeated the exercise with the Opera browser, so this is not an 
IE-specific issue.

In the process I've recorded the archiva.log.  I've annotated the log with the 
specific actions I took at various times, each preceded with # for readability. 
 The total log is only 44 lines long.  

A few specific points:

1. The port I'm using for Archiva on Linux is 9100 (since 8080 was in use). but 
I used 8080 on Windows.  Could this indicate why authentication failse?  Are 
there multiple places where I ought to set 9100?

2. The log only shows INFO WARN and ERROR levels.  Can I invoke DEBUG?  I saw 
no way to configure the logging via the XML files in conf/ 

3. The first entry in the log is an ascending number.  I'm seeing huge leaps in 
its value.  Perhaps its time-based so I need not be concerned, but if it is a 
log message id of some sort then something is putting out huge numbers of log 
messages on a suppressed channel.  I point this out in case its useful, 
although it probably has no significance.

Finally I will happily run a new version to chase the error, run with DEBUG 
enabled, or do anything else which might help to resolve this issue.  Clearly I 
am not the only user struggling with this.

Many thanks, Robin.

 After successful admin login archiva reacts as if user is guest
 ---

 Key: MRM-728
 URL: http://jira.codehaus.org/browse/MRM-728
 Project: Archiva
  Issue Type: Bug
Affects Versions: 1.0.1
 Environment: linux
Reporter: Robin Roos
 Fix For: 1.0.x


 I ran Archiva on my windows box and, after configuring the admin user, I was 
 able to login.  The header of the web page identified me as Administrator 
 (admin) and I could see all the expected functions on the left hand frame.  
 So far so good.
 I had Archiva installed on a linux box and started.  I surfed to the box from 
 Windows and configured the admin user.  But when I logged in as admin I got a 
 page with only Search/FindArtifact/Browse functions.  The header page reads 
 Login - Register.  It is as if I am not logged in and am seeing the guest 
 functions.  Note that if I log in with a deliberately incorrect password then 
 I get an error message as expected.  But logging in with the right 
 credentials appears to fail silently.
 As a result I cannot deploy any artifacts into Archiva, I cannot roll out the 
 maven/subversion/archiva based edition of our in-house project, and I fear my 
 time is limited!

-- 
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: (MECLIPSE-398) Remove files added by additionalConfig on clean

2008-03-10 Thread Daniel Frey (JIRA)
Remove files added by additionalConfig on clean
-

 Key: MECLIPSE-398
 URL: http://jira.codehaus.org/browse/MECLIPSE-398
 Project: Maven 2.x Eclipse Plugin
  Issue Type: Bug
Affects Versions: 2.4
 Environment: Windows XP Professional SP 2, Java 1.6.0_03-b05
Reporter: Daniel Frey


Files generated with the additionalConfigfile should be deleted on 
eclipse:clean automatically.

-- 
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: (MRM-728) After successful admin login archiva reacts as if user is guest

2008-03-10 Thread Robin Roos (JIRA)

 [ 
http://jira.codehaus.org/browse/MRM-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Roos updated MRM-728:
---

Attachment: archiva.log

Attaching the (annotated) log file.

 After successful admin login archiva reacts as if user is guest
 ---

 Key: MRM-728
 URL: http://jira.codehaus.org/browse/MRM-728
 Project: Archiva
  Issue Type: Bug
Affects Versions: 1.0.1
 Environment: linux
Reporter: Robin Roos
 Fix For: 1.0.x

 Attachments: archiva.log


 I ran Archiva on my windows box and, after configuring the admin user, I was 
 able to login.  The header of the web page identified me as Administrator 
 (admin) and I could see all the expected functions on the left hand frame.  
 So far so good.
 I had Archiva installed on a linux box and started.  I surfed to the box from 
 Windows and configured the admin user.  But when I logged in as admin I got a 
 page with only Search/FindArtifact/Browse functions.  The header page reads 
 Login - Register.  It is as if I am not logged in and am seeing the guest 
 functions.  Note that if I log in with a deliberately incorrect password then 
 I get an error message as expected.  But logging in with the right 
 credentials appears to fail silently.
 As a result I cannot deploy any artifacts into Archiva, I cannot roll out the 
 maven/subversion/archiva based edition of our in-house project, and I fear my 
 time is limited!

-- 
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: (SUREFIRE-470) Surefire website should expose configuration documentation better

2008-03-10 Thread Tarjei Huse (JIRA)
Surefire website should expose configuration documentation better
-

 Key: SUREFIRE-470
 URL: http://jira.codehaus.org/browse/SUREFIRE-470
 Project: Maven Surefire
  Issue Type: Improvement
  Components: documentation
Affects Versions: 2.4.2
Reporter: Tarjei Huse
Priority: Minor


The only way I've managed to find this document:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

is by googing for surefire testng attributes. This document should be linked 
to from the Using Testng document. 

regards,




-- 
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: (MNG-3284) Cached plugins are used, even when the specifically declared

2008-03-10 Thread Nigel Magnay (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nigel Magnay updated MNG-3284:
--

Attachment: mng3284-usingCachedPlugins.tar

Convert JUnit test to maven integration test


 Cached plugins are used, even when the specifically declared 
 -

 Key: MNG-3284
 URL: http://jira.codehaus.org/browse/MNG-3284
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies, Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Nigel Magnay
Priority: Critical
 Attachments: 
 0001-Initial-fix-to-see-if-we-can-have-1-version-of-a-pl.patch, 
 maven-bug-2.tar, mng3284-usingCachedPlugins.tar, pluginbug.tar


 In the attached project, you can build module A, then build module B, but the 
 top level aggregator project will fail at B.
 The reason this happens is that maven seems to cache plugins. When B is built 
 in isolation, all things are fine - but when built in aggregation, one of the 
 plugins that it uses has already been instantiated, and so it uses that one. 
 This is incorrect, since the declared version is different in B, and is 
 relying on functionality not present in the version declared in A.
 I have seen similar behaviour when a plugin relies on other plugins to get 
 work done - all of a sudden a build mysteriously stops working, because of a 
 completely unrelated plugin.
 This is pretty painful because
 - it's possible to get into a 'no solution', where one project relies on one 
 behaviour so can't upgrade, and one project relies on new behaviour, so can't 
 downgrade.
 - you get builds that work OK in isolation, but not in their project. This is 
 bad. Also builds tied together in bigger aggregator projects can fail in 
 mysterious ways (mysterious because the user /has/ specified the plugin 
 version, and maven has ignored them, or it's a plugin dependency that got 
 there first)
 - subtle build ordering changes can cause new failures (the example has B 
 depend on A - but the bug might only manifest itself in certain build orders 
 that change even when B and A don't).

-- 
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: (DOXIA-74) Added muse format to doxia-core

2008-03-10 Thread Lukas Theussl (JIRA)

 [ 
http://jira.codehaus.org/browse/DOXIA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-74.
--

  Assignee: Lukas Theussl
Resolution: Won't Fix

Arnaud expressed privately that he doesn't want to include this in doxia 
anymore.

 Added muse format to doxia-core
 ---

 Key: DOXIA-74
 URL: http://jira.codehaus.org/browse/DOXIA-74
 Project: Maven Doxia
  Issue Type: New Feature
  Components: Core
Affects Versions: 1.0-alpha-8
Reporter: Arnaud Bailly
Assignee: Lukas Theussl
Priority: Minor
 Attachments: patch-doxia-1.0-alpha-8, patch-doxia-1.0-alpha-8-1.0-rc3


 As a workaround to DOXIA-68 bug, I have m\ade a patch to 
 doxia-core-1.0-alpha-8 that include necessary code for generating maven sites 
 from muse syntax and add a dependency to muse-parser from doxia-core pom.xml. 
 This patch may be useful for people who wish to write their documentation 
 using Emacs muse mode.

-- 
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: (DOXIA-203) Add support for level 6 sections and generalize Sink API for sections

2008-03-10 Thread Lukas Theussl (JIRA)

[ 
http://jira.codehaus.org/browse/DOXIA-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126712
 ] 

Lukas Theussl commented on DOXIA-203:
-

There is an issue (don't know if it's an inconsistency) with the xhtml-based 
parsers and sinks: eg sectionTitle1() in XhtmlBaseSink emits a h2 tag, 
sectionTitle2() a h3 etc, sectionTitle5() emits a h6 but there is no method 
that emits a h1.

 Add support for level 6 sections and generalize Sink API for sections
 -

 Key: DOXIA-203
 URL: http://jira.codehaus.org/browse/DOXIA-203
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Sink API
Affects Versions: 1.0-alpha-10
Reporter: Vincent Massol

 XWiki supports 6 levels (see 
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax) and thus I cannot 
 write a valid parser if the Sink API doesn't support a level 6.
 I'd even suggest to unify all sink method for sections into a single method 
 with a level parameter passed instead of having sectionTitle1(), etc.

-- 
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: (DOXIA-206) Add new standard parameters to link sink API

2008-03-10 Thread Lukas Theussl (JIRA)

[ 
http://jira.codehaus.org/browse/DOXIA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126715
 ] 

Lukas Theussl commented on DOXIA-206:
-

query string is html specific, so it shouldn't go into the sink api. Anchors 
are already supported as part of the link and the rest should be covered by 
DOXIA-204. Ok to close?

 Add new standard parameters to link sink API
 

 Key: DOXIA-206
 URL: http://jira.codehaus.org/browse/DOXIA-206
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Sink API
Affects Versions: 1.0-alpha-10
Reporter: Vincent Massol

 For example XWik supports the following parameters:
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
 Here are some that could be added as standard parameters:
 * query string
 * anchor
 * interwiki link (maybe)
 Other parameters are specific to XWiki (space, subwiki, page name, etc), and 
 thus we should also have a generic way of adding parameters, see DOXIA-204

-- 
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: (DOXIA-205) Add new standard parameters to figure sink API

2008-03-10 Thread Lukas Theussl (JIRA)

[ 
http://jira.codehaus.org/browse/DOXIA-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126716
 ] 

Lukas Theussl commented on DOXIA-205:
-

The first 4 (and more) are now supported with DOXIA-204, the image as a link 
can be done by sandwiching the figure between link()/link_() events. Ok to 
close?

 Add new standard parameters to figure sink API 
 ---

 Key: DOXIA-205
 URL: http://jira.codehaus.org/browse/DOXIA-205
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Sink API
Affects Versions: 1.0-alpha-10
Reporter: Vincent Massol

 For example XWik supports the following parameters:
 http://code.xwiki.org/xwiki/bin/view/Macros/ImageMacro
 Here are some that could be added as standard parameters:
 * width
 * height
 * vertical alignment
 * horizontal alignment
 * whether the figure should be a link
 Other parameters are specific to XWiki and thus we should also have a generic 
 way of adding parameters, see DOXIA-204

-- 
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: (DOXIA-206) Add new standard parameters to link sink API

2008-03-10 Thread Lukas Theussl (JIRA)

 [ 
http://jira.codehaus.org/browse/DOXIA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-206.
---

 Assignee: Lukas Theussl
   Resolution: Fixed
Fix Version/s: 1.0-beta-1

 Add new standard parameters to link sink API
 

 Key: DOXIA-206
 URL: http://jira.codehaus.org/browse/DOXIA-206
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Sink API
Affects Versions: 1.0-alpha-10
Reporter: Vincent Massol
Assignee: Lukas Theussl
 Fix For: 1.0-beta-1


 For example XWik supports the following parameters:
 http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
 Here are some that could be added as standard parameters:
 * query string
 * anchor
 * interwiki link (maybe)
 Other parameters are specific to XWiki (space, subwiki, page name, etc), and 
 thus we should also have a generic way of adding parameters, see DOXIA-204

-- 
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: (DOXIA-205) Add new standard parameters to figure sink API

2008-03-10 Thread Lukas Theussl (JIRA)

 [ 
http://jira.codehaus.org/browse/DOXIA-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-205.
---

 Assignee: Lukas Theussl
   Resolution: Fixed
Fix Version/s: 1.0-beta-1

 Add new standard parameters to figure sink API 
 ---

 Key: DOXIA-205
 URL: http://jira.codehaus.org/browse/DOXIA-205
 Project: Maven Doxia
  Issue Type: Improvement
  Components: Sink API
Affects Versions: 1.0-alpha-10
Reporter: Vincent Massol
Assignee: Lukas Theussl
 Fix For: 1.0-beta-1


 For example XWik supports the following parameters:
 http://code.xwiki.org/xwiki/bin/view/Macros/ImageMacro
 Here are some that could be added as standard parameters:
 * width
 * height
 * vertical alignment
 * horizontal alignment
 * whether the figure should be a link
 Other parameters are specific to XWiki and thus we should also have a generic 
 way of adding parameters, see DOXIA-204

-- 
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: (MNG-2433) Maven looks for snapshots in offline mode

2008-03-10 Thread Paul Benedict (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126730
 ] 

Paul Benedict commented on MNG-2433:


Do you not have 2.2-SNAPSHOT already present on your system? I imagine that if 
it isn't there the first time, it cannot possibly build with a plugin that's 
absent. That is different than trying to update a plugin that already is 
installed.

 Maven looks for snapshots in offline mode
 -

 Key: MNG-2433
 URL: http://jira.codehaus.org/browse/MNG-2433
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies
Affects Versions: 2.0.5
Reporter: Carsten Ziegeler
Assignee: Jason van Zyl
Priority: Critical
 Fix For: 2.0.6


 It seems that sometimes Maven2 is looking for snapshots in offline mode (this 
 happens for example in the Cocoon project). here is an output that might help:
 :\dev\workspace\cocoon-2.2\core\cocoon-webappmvn -o -Dmaven.test.skip=true 
 coc
 oon:deploy
 [INFO]
 NOTE: Maven is executing in offline mode. Any artifacts not already in your 
 loca
 l
 repository will be inaccessible.
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'cocoon'.
 [INFO] org.apache.maven.plugins: checking for updates from snapshots
 [INFO] org.apache.maven.plugins: checking for updates from mortbay-repo
 [INFO] org.codehaus.mojo: checking for updates from snapshots
 [INFO] org.codehaus.mojo: checking for updates from mortbay-repo
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from snapshots
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from mortbay-repo
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from central
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from apache.snapshot
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from apache-cvs
 [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT: 
 checkin
 g for updates from apache.snapshots
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from snapshots
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from mortbay-repo
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from central
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from apache.snapshot
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from apache-cvs
 [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for 
 updat
 es from apache.snapshots
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from snapshots
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from mortbay-repo
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from central
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from apache.snapshot
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from apache-cvs
 [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking 
 for
 updates from apache.snapshots
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from s
 napshots
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from m
 ortbay-repo
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from c
 entral
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from a
 pache.snapshot
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from a
 pache-cvs
 [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates 
 from a
 pache.snapshots

-- 
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: (MEAR-82) From version 2.3 on, resources are not always copied to the EAR structure

2008-03-10 Thread Torsten Reinhard (JIRA)

[ 
http://jira.codehaus.org/browse/MEAR-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126732
 ] 

Torsten Reinhard commented on MEAR-82:
--

I just wondered, why I was missing resources in my ear, too.
Have you tried to configure 
resourcesDir${project.build.outputDirectory}/resourcesDir ?

Don´t know, why this is not a default...

 From version 2.3 on, resources are not always copied to the EAR structure
 -

 Key: MEAR-82
 URL: http://jira.codehaus.org/browse/MEAR-82
 Project: Maven 2.x Ear Plugin
  Issue Type: Bug
Affects Versions: 2.3, 2.3.1
Reporter: Emmanuel
 Attachments: dummyProject.zip


 I had a EAR project that copied resources from a higher-level folder (see  
 ../  below). It worked perfectly with maven-ear-plugin version 2.2
 With versions 2.3 and 2.3.1, it seems to have stopped working that way. 
 However, I see nowhere an indication on whether it is a new feature / 
 impovement or a bug. Or is it that I'm not using it the right way? But if so, 
 how do you explain the change of behaviour between versions 2.2 and 2.3 ?
 Here above is a part of a Ear POM that shows the problem.
 And attached is a complete simple project to help reproduce the problem.
 packagingear/packaging
 [...]
 resources
   resource
   directory../myResources/directory
   targetPathtargResources/targetPath
   includes
   include*.properties/include
   /includes
   /resource
 /resources
 plugins
   plugin
   artifactIdmaven-ear-plugin/artifactId
   !-- From Version 2.3 on, resources are no longer 
 copied properly. Bug or evolution? --
   !--version2.3.1/version--
   version2.2/version
   /plugin
   /plugins
 [...]
 Hope this helps make a better (world?) 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] Commented: (MNG-2744) checksum comparison should be case-insensitive

2008-03-10 Thread Brian Fox (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126736
 ] 

Brian Fox commented on MNG-2744:


Ben, we need tests for these things so it's not just a one liner. A unit test 
at minimum, an IT test in addition would be better.

 checksum comparison should be case-insensitive
 --

 Key: MNG-2744
 URL: http://jira.codehaus.org/browse/MNG-2744
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.4
Reporter: Ian Springer
 Fix For: 2.0.9

 Attachments: case-insensitive-checksums-2.0.x.patch, 
 case-insensitive-checksums-2.1.x.patch


 Validation of MD5 and SHA1 checksums should be case-insensitive (since the 
 individual characters represent hexadecimal digits). For example:
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '9657ed010cea89caa1e35ae326dfccf28ea007f5'; remote
 = '9657ED010CEA89CAA1E35AE326DFCCF28EA007F5' - RETRYING

-- 
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] Reopened: (MNG-3452) StackOverflowError building Apache ServiceMix 3

2008-03-10 Thread John Casey (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey reopened MNG-3452:
-

  Assignee: John Casey  (was: Brett Porter)

I don't know that these are duplicates. The stack traces are very different.

 StackOverflowError building Apache ServiceMix 3
 ---

 Key: MNG-3452
 URL: http://jira.codehaus.org/browse/MNG-3452
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.1
Reporter: Eugene Kuleshov
Assignee: John Casey
 Attachments: clipboard.txt


 Maven 2.1-SNAPSHOT fail on building ServiceMix projects. Steps to reproduce:
 * Checkout https://svn.apache.org/repos/asf/servicemix/smx3/trunk 
 * Run mvn install
 This works with maven 2.0.8 but fails with the following exception with 
 recent 2.1-SNAPSHOT

-- 
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] Issue Comment Edited: (MNG-3452) StackOverflowError building Apache ServiceMix 3

2008-03-10 Thread John Casey (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126740
 ] 

jdcasey edited comment on MNG-3452 at 3/10/08 12:23 PM:
---

I don't know that this is a duplicate of MNG-3391, actually. The stack traces 
are very different. At the very least, it's worth investigating to verify that 
they really are caused by the same problem.

  was (Author: jdcasey):
I don't know that these are duplicates. The stack traces are very different.
  
 StackOverflowError building Apache ServiceMix 3
 ---

 Key: MNG-3452
 URL: http://jira.codehaus.org/browse/MNG-3452
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.1
Reporter: Eugene Kuleshov
Assignee: John Casey
 Attachments: clipboard.txt


 Maven 2.1-SNAPSHOT fail on building ServiceMix projects. Steps to reproduce:
 * Checkout https://svn.apache.org/repos/asf/servicemix/smx3/trunk 
 * Run mvn install
 This works with maven 2.0.8 but fails with the following exception with 
 recent 2.1-SNAPSHOT

-- 
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: (MNG-3415) Transfer errors cause junk metadata in the local repo

2008-03-10 Thread John Casey (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey closed MNG-3415.
---

Resolution: Fixed

This issue is fixed. I applied Brett's patch (thanks for the heavy lifting 
here, Brett), and added integration tests to check writing the metadata on 
ResourceNotFoundException, but not on TransferFailedException.

NOTE: This integration test required a little extra functionality in the 
abstract parent test class, to allow conditional use of different files for the 
updateInterval calculation (we're making sure these files are not modified on 
successive builds when ResourceNotFoundException happens).

The integration test should be fairly well-documented, so have a look.

 Transfer errors cause junk metadata in the local repo
 -

 Key: MNG-3415
 URL: http://jira.codehaus.org/browse/MNG-3415
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.8
Reporter: Brian Fox
Assignee: John Casey
 Fix For: 2.0.9

 Attachments: MNG-3415.diff


 I see this all the time and I swear there was an issue for it, but now I 
 can't find it. Sometimes there is metadata in the repo, usually after an 
 offline build or a build where something went wrong downloading artifacts. 
 Maven will apparently decide based on the metadata that the file can never be 
 found and will simply fail on a missing artifact. You can tell this has 
 happened because no attempt has actually been made to download the artifact 
 from a repository. Subsequent clearing of (portions) the localrepo fixes the 
 issue. This is terribly confusing to new users...and annoying to everyone.

-- 
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] Work started: (MNG-2861) NullPointerException in DefaultArtifactCollector for relocated resolvedArtifacts with different version ranges and available versions.

2008-03-10 Thread Brian Fox (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on MNG-2861 started by Brian Fox.

 NullPointerException in DefaultArtifactCollector for relocated 
 resolvedArtifacts with different version ranges and available versions.
 --

 Key: MNG-2861
 URL: http://jira.codehaus.org/browse/MNG-2861
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.5
Reporter: Micah Whitacre
Assignee: Brian Fox
 Fix For: 2.0.9

 Attachments: MNG-2861-maven-project.patch, MNG-2861.tar.gz, 
 MNG-2861_broken.zip


 In a remoteRepository that I am populating I have a project.  Previously I 
 was deploying artifacts with an old groupId and then decided to switch to 
 having a new more descriptive groupId.  For the old groupId I have deployed 
 versions 1.0 and 1.1.  For the new groupId I have deployed 1.2 and 2.0.  I 
 deployed a relocation POM to the old groupId for the 1.2 version.  I also 
 updated the metadata.xml files to include 1.2 as an available version.  This 
 way projects using version ranges [1,2) will be able to pick up the newest 
 version.  So in the repository I now have:
 oldgroupId:project:1.0
 oldgroupId:project:1.1
 oldgroupId:project:1.2 - redirecting to newgroupId:project:1.2
 newgroupId:project:1.2
 newgroupId:project:2.0
 The oldgroupId's metadata lists the available versions as [1.0,1.1,1.2].  The 
 newgroupId's metadata lists the available versions has [1,2].
 I have 3 additional projects A, B, C.  A depends on B and C.  B depends on 
 oldgroupId:project:[1,2).  Project B has also finished development and been 
 released so we are avoiding rereleasing it for the groupId change.   C 
 depends on newgroupId:project:[2,3).  When I try to build project A, Maven 
 dies and gives me the following stack trace.
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] null
 [INFO] 
 
 [DEBUG] Trace
 java.lang.NullPointerException
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:168)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:284)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
   at 
 org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1142)
   at 
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:374)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 

[jira] Commented: (MNG-2861) NullPointerException in DefaultArtifactCollector for relocated resolvedArtifacts with different version ranges and available versions.

2008-03-10 Thread Brian Fox (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126742
 ] 

Brian Fox commented on MNG-2861:


I was not able to reproduce using the file based repo, but when I added them to 
an http repo, i can reproduce in 2.0.9-SNAPSHOT

 NullPointerException in DefaultArtifactCollector for relocated 
 resolvedArtifacts with different version ranges and available versions.
 --

 Key: MNG-2861
 URL: http://jira.codehaus.org/browse/MNG-2861
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.5
Reporter: Micah Whitacre
 Fix For: 2.0.9

 Attachments: MNG-2861-maven-project.patch, MNG-2861.tar.gz, 
 MNG-2861_broken.zip


 In a remoteRepository that I am populating I have a project.  Previously I 
 was deploying artifacts with an old groupId and then decided to switch to 
 having a new more descriptive groupId.  For the old groupId I have deployed 
 versions 1.0 and 1.1.  For the new groupId I have deployed 1.2 and 2.0.  I 
 deployed a relocation POM to the old groupId for the 1.2 version.  I also 
 updated the metadata.xml files to include 1.2 as an available version.  This 
 way projects using version ranges [1,2) will be able to pick up the newest 
 version.  So in the repository I now have:
 oldgroupId:project:1.0
 oldgroupId:project:1.1
 oldgroupId:project:1.2 - redirecting to newgroupId:project:1.2
 newgroupId:project:1.2
 newgroupId:project:2.0
 The oldgroupId's metadata lists the available versions as [1.0,1.1,1.2].  The 
 newgroupId's metadata lists the available versions has [1,2].
 I have 3 additional projects A, B, C.  A depends on B and C.  B depends on 
 oldgroupId:project:[1,2).  Project B has also finished development and been 
 released so we are avoiding rereleasing it for the groupId change.   C 
 depends on newgroupId:project:[2,3).  When I try to build project A, Maven 
 dies and gives me the following stack trace.
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] null
 [INFO] 
 
 [DEBUG] Trace
 java.lang.NullPointerException
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:168)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:284)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
   at 
 org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1142)
   at 
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:374)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

[jira] Commented: (MNG-3431) Pom Extensions not supported for Toolchains

2008-03-10 Thread Shane Isbell (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126749
 ] 

Shane Isbell commented on MNG-3431:
---

I tried the toolchain in 2.1 and it looks as though the extensions work in that 
version but then I get:

java.lang.ClassCastException: 
org.apache.maven.dotnet.extensions.toolchain.DotnetToolchain cannot be cast to 
org.apache.maven.dotnet.extensions.toolchain.Dotnet
Toolchainat 
org.apache.maven.dotnet.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:127)

I get the same exception in 2.0.9 if I put my jar containing the dotnet 
toolchain directly in the maven/lib directory.

 Pom Extensions not supported for Toolchains
 ---

 Key: MNG-3431
 URL: http://jira.codehaus.org/browse/MNG-3431
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.0.9
Reporter: Shane Isbell
Priority: Minor

 When I add a pom extension referening a jar containing an implementation of a 
 toolchain and toolchain factory, the toolchain plugin does not pick up my 
 extensions. I get an exception on mvn install:
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.maven.dotnet.extensions.toolchain.DotnetToolchainFactory

-- 
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: (MANTRUN-55) Review Plugin Documentation

2008-03-10 Thread Dennis Lundberg (JIRA)

 [ 
http://jira.codehaus.org/browse/MANTRUN-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MANTRUN-55.
--

   Resolution: Fixed
Fix Version/s: 1.2

 Review Plugin Documentation
 ---

 Key: MANTRUN-55
 URL: http://jira.codehaus.org/browse/MANTRUN-55
 Project: Maven 2.x Antrun Plugin
  Issue Type: Task
Reporter: Allan Ramirez
Assignee: Allan Ramirez
 Fix For: 1.2

 Attachments: MANTRUN-55-maven-antrun-plugin-2.patch, 
 MANTRUN-55-maven-antrun-plugin-3.patch, MANTRUN-55-maven-antrun-plugin.patch

   Original Estimate: 12 hours
  Time Spent: 2 hours
  Remaining Estimate: 10 hours



-- 
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: (MSITE-45) Ability to create an ear/war/zip from site

2008-03-10 Thread Dennis Lundberg (JIRA)

 [ 
http://jira.codehaus.org/browse/MSITE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MSITE-45.


   Resolution: Fixed
Fix Version/s: 2.0-beta-6

 Ability to create an ear/war/zip from site
 --

 Key: MSITE-45
 URL: http://jira.codehaus.org/browse/MSITE-45
 Project: Maven 2.x Site Plugin
  Issue Type: New Feature
Affects Versions: 2.0-beta-5
Reporter: Brett Porter
Assignee: Dennis Lundberg
 Fix For: 2.0-beta-6

 Attachments: MSITE-45-maven-site-plugin.patch, patch.txt


 I think they should be standalone goals, like in m1
 site:ear - create ear
 site:war - create war
 site:zip - create zip
 I think this one might be a lower priority. I will postpone it.

-- 
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: (MANTRUN-51) Can't find plugin dependency in multiproject

2008-03-10 Thread gotama (JIRA)

[ 
http://jira.codehaus.org/browse/MANTRUN-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126760
 ] 

gotama commented on MANTRUN-51:
---

Steinar - THANK YOU for the workaround! OMG I was going nuts for 2 days trying 
to figure this out. I figured it was a bug. I was simply trying to use Ant to 
scp some files and discovered the same - that on the module itself, it works 
but when exec from a parent POM on a multi-module project, the 'scp' fails. I 
added:

dependencies
dependency
groupIdant/groupId
artifactIdant-optional/artifactId
version1.5.3-1/version
/dependency
dependency
groupIdant/groupId
artifactIdant-jsch/artifactId
version1.6.5/version
/dependency
/dependencies

to the ant plugin for the first executing module in the multi-module project 
and when the last module was exec'd w/ the 'scp' command, all worked ok.

OK, so this bug is 2 years old and still causing pain.  Whats the status on 
getting this fixed? Any interest? Thanks.




 Can't find plugin dependency in multiproject
 

 Key: MANTRUN-51
 URL: http://jira.codehaus.org/browse/MANTRUN-51
 Project: Maven 2.x Antrun Plugin
  Issue Type: Bug
Affects Versions: 1.0, 1.1
 Environment: maven 2.0.4, antrun 1.0  1.1, jdk 1.5.0_06, windows xp
Reporter: Fredrik Vraalsen

 I'm using antrun in my project to create an IzPack installation.  The plugin 
 configuration is below.  
 When maven is run from the top-level project, the ant taskdef fails because 
 it cannot find the IzPackTask class.  However, when I run maven from the 
 subproject itself, it works fine.  Not sure if this is related to 
 http://jira.codehaus.org/browse/MANTRUN-49.  The error message from maven is 
 at the bottom.
 {noformat}
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   executions
   execution
   phasepackage/phase
   configuration
   tasks
   taskdef name=izpack 
 classname=com.izforge.izpack.ant.IzPackTask/
   izpack 
 input=${project.build.directory}/classes/izPack.xml 
 output=${project.build.directory}/CorasTool-${coras.version}-installer.jar 
 basedir=${project.build.directory}/
   /tasks
   /configuration
   goals
   goalrun/goal
   /goals
   /execution
   /executions
   dependencies
   dependency
   groupIdizpack/groupId
   artifactIdstandalone-compiler/artifactId
   version3.8.0/version
   /dependency
   /dependencies
 /plugin
 [INFO] [antrun:run {execution: default}]
 [INFO] Executing tasks
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Error executing ant tasks
 Embedded error: taskdef class com.izforge.izpack.ant.IzPackTask cannot be 
 found
 [INFO] 
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant 
 tasks
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
 at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
   

[jira] Commented: (MNG-3430) Toolchain doesn't match Toolchain extensions

2008-03-10 Thread Milos Kleint (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126761
 ] 

Milos Kleint commented on MNG-3430:
---

the factory should use this constructor
protected DefaultToolchain( ToolchainModel model, String type, Logger logger )
for some reason the incomplete
protected DefaultToolchain( ToolchainModel model, Logger logger )
constructor is also present. 

What about I keep both constructors supported and the getType() method does 
this:
return type != null ? type : model.getType();




 Toolchain doesn't match Toolchain extensions
 

 Key: MNG-3430
 URL: http://jira.codehaus.org/browse/MNG-3430
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.0.9
Reporter: Shane Isbell
Assignee: Milos Kleint
Priority: Minor

 Toolchain uses null key within storing toolchains in Maven Session, which 
 causes extensions not to match.
 Specifically, this problem occurs in the 
 DefaultToolchainManager.storeToolchainToBuildContext method.  When storing 
 into context
 context.put( getStorageKey( toolchain.getType() ), toolchain.getModel() );
 toolchain.getType() always returns null. Using toolchain.getModel().getType() 
 will return the correct type and fix the problem.

-- 
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: (MNG-3430) Toolchain doesn't match Toolchain extensions

2008-03-10 Thread Milos Kleint (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Milos Kleint closed MNG-3430.
-

   Resolution: Fixed
Fix Version/s: 2.1-alpha-1
   2.0.x

done:
http://svn.apache.org/viewvc?rev=635690view=rev

 Toolchain doesn't match Toolchain extensions
 

 Key: MNG-3430
 URL: http://jira.codehaus.org/browse/MNG-3430
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.0.9
Reporter: Shane Isbell
Assignee: Milos Kleint
Priority: Minor
 Fix For: 2.0.x, 2.1-alpha-1


 Toolchain uses null key within storing toolchains in Maven Session, which 
 causes extensions not to match.
 Specifically, this problem occurs in the 
 DefaultToolchainManager.storeToolchainToBuildContext method.  When storing 
 into context
 context.put( getStorageKey( toolchain.getType() ), toolchain.getModel() );
 toolchain.getType() always returns null. Using toolchain.getModel().getType() 
 will return the correct type and fix the problem.

-- 
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: (MPIR-77) index mojo does not recognize src/site/apt/index.apt as an override for the generated index.html file.

2008-03-10 Thread Dennis Lundberg (JIRA)

[ 
http://jira.codehaus.org/browse/MPIR-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126763
 ] 

Dennis Lundberg commented on MPIR-77:
-

Ping!

 index mojo does not recognize src/site/apt/index.apt as an override for the 
 generated index.html file.
 --

 Key: MPIR-77
 URL: http://jira.codehaus.org/browse/MPIR-77
 Project: Maven 2.x Project Info Reports Plugin
  Issue Type: Bug
Affects Versions: 2.0.1
Reporter: John Casey

 It seems that the only way to override the generated output of the index 
 report is to use the src/site/resources/index.html file...the 
 src/site/apt/index.apt file does not work. It should be possible to create 
 any file matching: src/site/(suffix)/index.(suffix) and have it replace the 
 output of this report, or at least displace it to an about.html file or 
 something similar.

-- 
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: (MNG-3430) Toolchain doesn't match Toolchain extensions

2008-03-10 Thread Paul Benedict (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126764
 ] 

Paul Benedict commented on MNG-3430:


Affects version is 2.0.9 -- should Fix Version also be 2.0.9 not 2.0.x?

 Toolchain doesn't match Toolchain extensions
 

 Key: MNG-3430
 URL: http://jira.codehaus.org/browse/MNG-3430
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.0.9
Reporter: Shane Isbell
Assignee: Milos Kleint
Priority: Minor
 Fix For: 2.0.x, 2.1-alpha-1


 Toolchain uses null key within storing toolchains in Maven Session, which 
 causes extensions not to match.
 Specifically, this problem occurs in the 
 DefaultToolchainManager.storeToolchainToBuildContext method.  When storing 
 into context
 context.put( getStorageKey( toolchain.getType() ), toolchain.getModel() );
 toolchain.getType() always returns null. Using toolchain.getModel().getType() 
 will return the correct type and fix the problem.

-- 
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: (MONE-23) one:convert kept linksa,b,c/links vs making linkslinka/linklinkb/linklinkc/link/links

2008-03-10 Thread Dennis Lundberg (JIRA)

 [ 
http://jira.codehaus.org/browse/MONE-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MONE-23.
---

   Resolution: Fixed
Fix Version/s: 1.3

Fixed and a new 1.3-SNAPSHOT has been deployed.

 one:convert kept linksa,b,c/links vs making 
 linkslinka/linklinkb/linklinkc/link/links 
 --

 Key: MONE-23
 URL: http://jira.codehaus.org/browse/MONE-23
 Project: Maven 2.x One Plugin
  Issue Type: Bug
Affects Versions: 1.2
 Environment: Windows
Reporter: Jeff Jensen
Assignee: Dennis Lundberg
Priority: Minor
 Fix For: 1.3


 Workaround is an easy manual adjustment.

-- 
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: (SUREFIRE-467) NoSuchMethodError UrlUtils.getURL when using JDK3 for testing

2008-03-10 Thread Herve Boutemy (JIRA)

 [ 
http://jira.codehaus.org/browse/SUREFIRE-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed SUREFIRE-467.
--

 Assignee: Herve Boutemy
   Resolution: Fixed
Fix Version/s: 2.5

fixed in r635738

 NoSuchMethodError UrlUtils.getURL when using JDK3 for testing
 -

 Key: SUREFIRE-467
 URL: http://jira.codehaus.org/browse/SUREFIRE-467
 Project: Maven Surefire
  Issue Type: Bug
Affects Versions: 2.4.2
 Environment: Maven 2.0.8
 JDK 1.5.0_11
 JDK 1.3.1_20
Reporter: Antoine Véret
Assignee: Herve Boutemy
 Fix For: 2.5

 Attachments: debug.log


 java.lang.NoSuchMethodError
 at org.apache.maven.surefire.util.UrlUtils.getURL(UrlUtils.java:39)
 at 
 org.apache.maven.surefire.booter.SurefireBooter.createClassLoader(SurefireBooter.java:730)
 Only appears when using JDK3, not JDK4 with the following configuration
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-surefire-plugin/artifactId
 configuration
   jvm${JDK3_HOME}/bin/java/jvm
 /configuration
   /plugin
 See the debug log

-- 
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: (MONE-24) one:convert puts javadoc-plugin in build/plugins vs reporting/plugins

2008-03-10 Thread Dennis Lundberg (JIRA)
one:convert puts javadoc-plugin in build/plugins vs reporting/plugins
-

 Key: MONE-24
 URL: http://jira.codehaus.org/browse/MONE-24
 Project: Maven 2.x One Plugin
  Issue Type: Bug
Affects Versions: 1.2
Reporter: Jeff Jensen




-- 
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: (MONE-24) one:convert puts javadoc-plugin in build/plugins vs reporting/plugins

2008-03-10 Thread Dennis Lundberg (JIRA)

 [ 
http://jira.codehaus.org/browse/MONE-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MONE-24.
---

 Assignee: Dennis Lundberg
   Resolution: Fixed
Fix Version/s: 1.3

 one:convert puts javadoc-plugin in build/plugins vs reporting/plugins
 -

 Key: MONE-24
 URL: http://jira.codehaus.org/browse/MONE-24
 Project: Maven 2.x One Plugin
  Issue Type: Bug
Affects Versions: 1.2
Reporter: Jeff Jensen
Assignee: Dennis Lundberg
 Fix For: 1.3




-- 
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: (MNG-3361) Deploying from Leopard, with Svn 1.4.4 has error on automated Svn commit

2008-03-10 Thread Matt Ryall (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126772
 ] 

Matt Ryall commented on MNG-3361:
-

This is actually a Leopard issue, but there is a bug in Subversion for tracking 
it here:

http://subversion.tigris.org/issues/show_bug.cgi?id=3059

 Deploying from Leopard, with Svn 1.4.4 has error on automated Svn commit
 

 Key: MNG-3361
 URL: http://jira.codehaus.org/browse/MNG-3361
 Project: Maven 2
  Issue Type: Bug
  Components: Deployment
Affects Versions: 2.0.8
Reporter: Paul Hammant

 [INFO] 
 
 [INFO] BUILD SUCCESSFUL
 [INFO] 
 
 [INFO] Total time: 3 minutes 25 seconds
 [INFO] Finished at: Fri Jan 11 08:49:42 PST 2008
 [INFO] Final Memory: 14M/29M
 [INFO] 
 
 [INFO] Checking in modified POMs...
 [INFO] Executing: svn --non-interactive commit --file 
 /tmp/maven-scm-1359802395.commit --targets /tmp/maven-scm-28211-targets
 [INFO] Working directory: /scm/oss/jremoting/root/trunk
 [INFO] 
 
 [ERROR] BUILD FAILURE
 [INFO] 
 
 [INFO] Unable to commit files
 Provider message:
 The svn command failed.
 Command output:
 svn: Commit failed (details follow):
 svn: MKACTIVITY of 
 '/jremoting/!svn/act/c136e17a-8ec7-44c4-a326-b2611ec72ffc': authorization 
 failed (https://svn.codehaus.org)

-- 
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: (MNG-1323) Plugin extensions (dependencies) not resolved in reactor build

2008-03-10 Thread Brian Fox (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126773
 ] 

Brian Fox commented on MNG-1323:


Piotr, yes, I've scheduled it for 2.0.10 so we will be looking at it soon.

 Plugin extensions (dependencies) not resolved in reactor build
 --

 Key: MNG-1323
 URL: http://jira.codehaus.org/browse/MNG-1323
 Project: Maven 2
  Issue Type: Bug
  Components: Plugins and Lifecycle
Affects Versions: 2.0
Reporter: Kenney Westerhof
 Fix For: 2.0.10

 Attachments: MNG-1323-components-2.0.x.diff, 
 MNG-1323-core-integration-testing-2.diff, 
 MNG-1323-core-integration-testing.diff, 
 MNG-1323-core-integration-tests-3.diff, MNG-1323-core-integration-tests.diff, 
 MNG1323-maven-core-2.1.diff


 I've added a dependency on an Ant Task in 
 project/build/plugins/plugin[artifactId='maven-antrun-plugin']/dependencies/ 
 and run that anttask using the antrun plugin.
 When run from the project dir itself it runs fine.
 When running from the root of the project tree (reactor build, project one 
 level below root),
 antrun bails out because the taskdef can't be found (not on classpath).
 It looks like the dependency isn't resolved, or not added to the plugins' 
 classrealm.

-- 
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: (MNG-2744) checksum comparison should be case-insensitive

2008-03-10 Thread Benjamin Bentmann (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-2744:
---

Attachment: case-insensitive-checksums-2.1.x.patch

Brian, I don't want to question your endeavor to increase test coverage but I 
don't agree that this is a reason to prevent trivial fixes with tiny code 
changes from being applied as soon as possible. I would rather suggest to 
create sub tasks Add test for XYZ for those trivial patches where an 
accompanying is nice to have but not necessary.

Anyway, here's my next try to patch the trunk, was really more than one line 
;-) I's not elegant but shows the failure if unpatched.

 checksum comparison should be case-insensitive
 --

 Key: MNG-2744
 URL: http://jira.codehaus.org/browse/MNG-2744
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.4
Reporter: Ian Springer
 Fix For: 2.0.9

 Attachments: case-insensitive-checksums-2.0.x.patch, 
 case-insensitive-checksums-2.1.x.patch, case-insensitive-checksums-2.1.x.patch


 Validation of MD5 and SHA1 checksums should be case-insensitive (since the 
 individual characters represent hexadecimal digits). For example:
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '9657ed010cea89caa1e35ae326dfccf28ea007f5'; remote
 = '9657ED010CEA89CAA1E35AE326DFCCF28EA007F5' - RETRYING

-- 
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] Issue Comment Edited: (MNG-2744) checksum comparison should be case-insensitive

2008-03-10 Thread Benjamin Bentmann (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126774
 ] 

bentmann edited comment on MNG-2744 at 3/10/08 7:54 PM:
-

Brian, I don't want to question your endeavor to increase test coverage but I 
don't agree that this is a reason to prevent trivial fixes with tiny code 
changes from being applied as soon as possible. I would rather suggest to 
create sub tasks Add test for XYZ for those trivial patches where an 
accompanying test is nice to have but not necessary.

Anyway, here's my next try to patch the trunk, was really more than one line 
;-) I's not elegant but shows the failure if unpatched.

  was (Author: bentmann):
Brian, I don't want to question your endeavor to increase test coverage but 
I don't agree that this is a reason to prevent trivial fixes with tiny code 
changes from being applied as soon as possible. I would rather suggest to 
create sub tasks Add test for XYZ for those trivial patches where an 
accompanying is nice to have but not necessary.

Anyway, here's my next try to patch the trunk, was really more than one line 
;-) I's not elegant but shows the failure if unpatched.
  
 checksum comparison should be case-insensitive
 --

 Key: MNG-2744
 URL: http://jira.codehaus.org/browse/MNG-2744
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.4
Reporter: Ian Springer
 Fix For: 2.0.9

 Attachments: case-insensitive-checksums-2.0.x.patch, 
 case-insensitive-checksums-2.1.x.patch, case-insensitive-checksums-2.1.x.patch


 Validation of MD5 and SHA1 checksums should be case-insensitive (since the 
 individual characters represent hexadecimal digits). For example:
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '9657ed010cea89caa1e35ae326dfccf28ea007f5'; remote
 = '9657ED010CEA89CAA1E35AE326DFCCF28EA007F5' - RETRYING

-- 
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: (MNG-2744) checksum comparison should be case-insensitive

2008-03-10 Thread Benjamin Bentmann (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-2744:
---

Attachment: (was: case-insensitive-checksums-2.1.x.patch)

 checksum comparison should be case-insensitive
 --

 Key: MNG-2744
 URL: http://jira.codehaus.org/browse/MNG-2744
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.4
Reporter: Ian Springer
 Fix For: 2.0.9

 Attachments: case-insensitive-checksums-2.0.x.patch, 
 case-insensitive-checksums-2.1.x.patch, case-insensitive-checksums-2.1.x.patch


 Validation of MD5 and SHA1 checksums should be case-insensitive (since the 
 individual characters represent hexadecimal digits). For example:
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '9657ed010cea89caa1e35ae326dfccf28ea007f5'; remote
 = '9657ED010CEA89CAA1E35AE326DFCCF28EA007F5' - RETRYING

-- 
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: (MNG-2744) checksum comparison should be case-insensitive

2008-03-10 Thread Benjamin Bentmann (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-2744:
---

Attachment: case-insensitive-checksums-2.1.x.patch

 checksum comparison should be case-insensitive
 --

 Key: MNG-2744
 URL: http://jira.codehaus.org/browse/MNG-2744
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.4
Reporter: Ian Springer
 Fix For: 2.0.9

 Attachments: case-insensitive-checksums-2.0.x.patch, 
 case-insensitive-checksums-2.1.x.patch, case-insensitive-checksums-2.1.x.patch


 Validation of MD5 and SHA1 checksums should be case-insensitive (since the 
 individual characters represent hexadecimal digits). For example:
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '9657ed010cea89caa1e35ae326dfccf28ea007f5'; remote
 = '9657ED010CEA89CAA1E35AE326DFCCF28EA007F5' - RETRYING

-- 
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: (MNG-3454) processing a relocation erases requested version range

2008-03-10 Thread Brian Fox (JIRA)
processing a relocation erases requested version range
--

 Key: MNG-3454
 URL: http://jira.codehaus.org/browse/MNG-3454
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.8, 2.0.7, 2.0.6, 2.0.5
Reporter: Brian Fox
Priority: Minor


While fixing MNG-2861, I came across a weird scenario where the contents of the 
relocation can affect what happens. In 2861, the relocation did not specify a 
version, only a group id. However, if a version is specified, in 
MavenMetadataSource: 164 the versionRange is reset to the contents of the 
relocation.getVersion(). This effectively tosses out the requested range 
information. We only get here after selecting the version that has been 
relocated, but now we have a recommended version, which can cause a different 
version to be selected. See the two sample projects in MNG-2861 to see how the 
handling is different. (brett's version has the version in the relocation and 
thus expresses the behavior described here)

The fix is simple, change the line to:
if ( relocation.getVersion() != null )
{
//we don't want to blast the versionRange 
information
artifact.selectVersion( relocation.getVersion() );
}

however, I'm not certain what the ramifications of this are. The potential 
exists for having selected a version that no longer matches the requested 
version range. Say the version range was [1.0,2.0] and 2.0 was relocated to 
3.0. The fix to 2861 involves reloading the available versions from the 
relocated artifact. This means that there is no not an artifact to match 
1.0-2.0 and who knows what's going to happen.

I'm choosing to document this and not fix it for now due to the risk of 
instability. A search of open issues didn't result in anyone experiencing 
trouble with 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] Updated: (MNG-3454) processing a relocation erases requested version range

2008-03-10 Thread Brian Fox (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox updated MNG-3454:
---

Attachment: MNG-2861_broken.zip

 processing a relocation erases requested version range
 --

 Key: MNG-3454
 URL: http://jira.codehaus.org/browse/MNG-3454
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.5, 2.0.6, 2.0.7, 2.0.8
Reporter: Brian Fox
Priority: Minor
 Attachments: MNG-2861.tar.gz, MNG-2861_broken.zip


 While fixing MNG-2861, I came across a weird scenario where the contents of 
 the relocation can affect what happens. In 2861, the relocation did not 
 specify a version, only a group id. However, if a version is specified, in 
 MavenMetadataSource: 164 the versionRange is reset to the contents of the 
 relocation.getVersion(). This effectively tosses out the requested range 
 information. We only get here after selecting the version that has been 
 relocated, but now we have a recommended version, which can cause a different 
 version to be selected. See the two sample projects in MNG-2861 to see how 
 the handling is different. (brett's version has the version in the relocation 
 and thus expresses the behavior described here)
 The fix is simple, change the line to:
 if ( relocation.getVersion() != null )
 {
 //we don't want to blast the versionRange 
 information
 artifact.selectVersion( relocation.getVersion() );
 }
 however, I'm not certain what the ramifications of this are. The potential 
 exists for having selected a version that no longer matches the requested 
 version range. Say the version range was [1.0,2.0] and 2.0 was relocated to 
 3.0. The fix to 2861 involves reloading the available versions from the 
 relocated artifact. This means that there is no not an artifact to match 
 1.0-2.0 and who knows what's going to happen.
 I'm choosing to document this and not fix it for now due to the risk of 
 instability. A search of open issues didn't result in anyone experiencing 
 trouble with 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] Updated: (MNG-3454) processing a relocation erases requested version range

2008-03-10 Thread Brian Fox (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox updated MNG-3454:
---

Attachment: MNG-2861.tar.gz

 processing a relocation erases requested version range
 --

 Key: MNG-3454
 URL: http://jira.codehaus.org/browse/MNG-3454
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.5, 2.0.6, 2.0.7, 2.0.8
Reporter: Brian Fox
Priority: Minor
 Attachments: MNG-2861.tar.gz, MNG-2861_broken.zip


 While fixing MNG-2861, I came across a weird scenario where the contents of 
 the relocation can affect what happens. In 2861, the relocation did not 
 specify a version, only a group id. However, if a version is specified, in 
 MavenMetadataSource: 164 the versionRange is reset to the contents of the 
 relocation.getVersion(). This effectively tosses out the requested range 
 information. We only get here after selecting the version that has been 
 relocated, but now we have a recommended version, which can cause a different 
 version to be selected. See the two sample projects in MNG-2861 to see how 
 the handling is different. (brett's version has the version in the relocation 
 and thus expresses the behavior described here)
 The fix is simple, change the line to:
 if ( relocation.getVersion() != null )
 {
 //we don't want to blast the versionRange 
 information
 artifact.selectVersion( relocation.getVersion() );
 }
 however, I'm not certain what the ramifications of this are. The potential 
 exists for having selected a version that no longer matches the requested 
 version range. Say the version range was [1.0,2.0] and 2.0 was relocated to 
 3.0. The fix to 2861 involves reloading the available versions from the 
 relocated artifact. This means that there is no not an artifact to match 
 1.0-2.0 and who knows what's going to happen.
 I'm choosing to document this and not fix it for now due to the risk of 
 instability. A search of open issues didn't result in anyone experiencing 
 trouble with 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: (MNG-2861) NullPointerException in DefaultArtifactCollector for relocated resolvedArtifacts with different version ranges and available versions.

2008-03-10 Thread Brian Fox (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox closed MNG-2861.
--

Resolution: Fixed

fixed + IT

 NullPointerException in DefaultArtifactCollector for relocated 
 resolvedArtifacts with different version ranges and available versions.
 --

 Key: MNG-2861
 URL: http://jira.codehaus.org/browse/MNG-2861
 Project: Maven 2
  Issue Type: Bug
  Components: Artifacts and Repositories
Affects Versions: 2.0.5
Reporter: Micah Whitacre
Assignee: Brian Fox
 Fix For: 2.0.9

 Attachments: MNG-2861-maven-project.patch, MNG-2861.tar.gz, 
 MNG-2861_broken.zip


 In a remoteRepository that I am populating I have a project.  Previously I 
 was deploying artifacts with an old groupId and then decided to switch to 
 having a new more descriptive groupId.  For the old groupId I have deployed 
 versions 1.0 and 1.1.  For the new groupId I have deployed 1.2 and 2.0.  I 
 deployed a relocation POM to the old groupId for the 1.2 version.  I also 
 updated the metadata.xml files to include 1.2 as an available version.  This 
 way projects using version ranges [1,2) will be able to pick up the newest 
 version.  So in the repository I now have:
 oldgroupId:project:1.0
 oldgroupId:project:1.1
 oldgroupId:project:1.2 - redirecting to newgroupId:project:1.2
 newgroupId:project:1.2
 newgroupId:project:2.0
 The oldgroupId's metadata lists the available versions as [1.0,1.1,1.2].  The 
 newgroupId's metadata lists the available versions has [1,2].
 I have 3 additional projects A, B, C.  A depends on B and C.  B depends on 
 oldgroupId:project:[1,2).  Project B has also finished development and been 
 released so we are avoiding rereleasing it for the groupId change.   C 
 depends on newgroupId:project:[2,3).  When I try to build project A, Maven 
 dies and gives me the following stack trace.
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] null
 [INFO] 
 
 [DEBUG] Trace
 java.lang.NullPointerException
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:168)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:305)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:284)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
   at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:243)
   at 
 org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1142)
   at 
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:374)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
   at 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at 

[jira] Updated: (MNG-3284) Cached plugins are used, even when the specifically declared

2008-03-10 Thread Brian Fox (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox updated MNG-3284:
---

Fix Version/s: 2.0.9

Identified as blocker to upgrading. Lets try to include this (even has an IT)

 Cached plugins are used, even when the specifically declared 
 -

 Key: MNG-3284
 URL: http://jira.codehaus.org/browse/MNG-3284
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies, Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Nigel Magnay
Priority: Critical
 Fix For: 2.0.9

 Attachments: 
 0001-Initial-fix-to-see-if-we-can-have-1-version-of-a-pl.patch, 
 maven-bug-2.tar, mng3284-usingCachedPlugins.tar, pluginbug.tar


 In the attached project, you can build module A, then build module B, but the 
 top level aggregator project will fail at B.
 The reason this happens is that maven seems to cache plugins. When B is built 
 in isolation, all things are fine - but when built in aggregation, one of the 
 plugins that it uses has already been instantiated, and so it uses that one. 
 This is incorrect, since the declared version is different in B, and is 
 relying on functionality not present in the version declared in A.
 I have seen similar behaviour when a plugin relies on other plugins to get 
 work done - all of a sudden a build mysteriously stops working, because of a 
 completely unrelated plugin.
 This is pretty painful because
 - it's possible to get into a 'no solution', where one project relies on one 
 behaviour so can't upgrade, and one project relies on new behaviour, so can't 
 downgrade.
 - you get builds that work OK in isolation, but not in their project. This is 
 bad. Also builds tied together in bigger aggregator projects can fail in 
 mysterious ways (mysterious because the user /has/ specified the plugin 
 version, and maven has ignored them, or it's a plugin dependency that got 
 there first)
 - subtle build ordering changes can cause new failures (the example has B 
 depend on A - but the bug might only manifest itself in certain build orders 
 that change even when B and A don't).

-- 
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: (MNG-3284) Cached plugins are used, even when the specifically declared

2008-03-10 Thread Brian Fox (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126778
 ] 

Brian Fox commented on MNG-3284:


any chance you can make that patch against svn?

 Cached plugins are used, even when the specifically declared 
 -

 Key: MNG-3284
 URL: http://jira.codehaus.org/browse/MNG-3284
 Project: Maven 2
  Issue Type: Bug
  Components: Dependencies, Plugins and Lifecycle
Affects Versions: 2.0.7
Reporter: Nigel Magnay
Priority: Critical
 Fix For: 2.0.9

 Attachments: 
 0001-Initial-fix-to-see-if-we-can-have-1-version-of-a-pl.patch, 
 maven-bug-2.tar, mng3284-usingCachedPlugins.tar, pluginbug.tar


 In the attached project, you can build module A, then build module B, but the 
 top level aggregator project will fail at B.
 The reason this happens is that maven seems to cache plugins. When B is built 
 in isolation, all things are fine - but when built in aggregation, one of the 
 plugins that it uses has already been instantiated, and so it uses that one. 
 This is incorrect, since the declared version is different in B, and is 
 relying on functionality not present in the version declared in A.
 I have seen similar behaviour when a plugin relies on other plugins to get 
 work done - all of a sudden a build mysteriously stops working, because of a 
 completely unrelated plugin.
 This is pretty painful because
 - it's possible to get into a 'no solution', where one project relies on one 
 behaviour so can't upgrade, and one project relies on new behaviour, so can't 
 downgrade.
 - you get builds that work OK in isolation, but not in their project. This is 
 bad. Also builds tied together in bigger aggregator projects can fail in 
 mysterious ways (mysterious because the user /has/ specified the plugin 
 version, and maven has ignored them, or it's a plugin dependency that got 
 there first)
 - subtle build ordering changes can cause new failures (the example has B 
 depend on A - but the bug might only manifest itself in certain build orders 
 that change even when B and A don't).

-- 
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-1959) Please sync org.mockftpserver repository with ibiblio

2008-03-10 Thread Chris Mair (JIRA)
Please sync org.mockftpserver repository with ibiblio
-

 Key: MAVENUPLOAD-1959
 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1959
 Project: maven-upload-requests
  Issue Type: Task
Reporter: Chris Mair


Please sync the org.mockftpserver repository with the central repository.

Comma-Delimited Form:
org.mockftpserver,[EMAIL 
PROTECTED]/home/groups/m/mo/mockftpserver/htdocs/m2repo,rsync_ssh,Chris 
Mair, [EMAIL PROTECTED] ,,

Proof of Ownership of the mockftpserver.org domain
http://reports.internic.net/cgi/whois?whois_nic=mockftpserver.orgtype=domain
Note name=Chris Mair and [EMAIL PROTECTED]

AND SourceForge project page showing Chris Mair as the project owner:
http://sourceforge.net/projects/mockftpserver

Follow the chrismair Project Admins link and note that the name and email are 
the same.

Thanks. - Chris Mair

-- 
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: (MNG-3452) StackOverflowError building Apache ServiceMix 3

2008-03-10 Thread John Casey (JIRA)

 [ 
http://jira.codehaus.org/browse/MNG-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey closed MNG-3452.
---

Resolution: Fixed

 StackOverflowError building Apache ServiceMix 3
 ---

 Key: MNG-3452
 URL: http://jira.codehaus.org/browse/MNG-3452
 Project: Maven 2
  Issue Type: Bug
Affects Versions: 2.1
Reporter: Eugene Kuleshov
Assignee: John Casey
 Attachments: clipboard.txt


 Maven 2.1-SNAPSHOT fail on building ServiceMix projects. Steps to reproduce:
 * Checkout https://svn.apache.org/repos/asf/servicemix/smx3/trunk 
 * Run mvn install
 This works with maven 2.0.8 but fails with the following exception with 
 recent 2.1-SNAPSHOT

-- 
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: (MNG-3391) StackOverflowError in DefaultMavenProjectBuilder

2008-03-10 Thread John Casey (JIRA)

[ 
http://jira.codehaus.org/browse/MNG-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126780
 ] 

John Casey commented on MNG-3391:
-

The problem comes when one of the managed dependencies is of type 'pom' and 
inherits from the current pom. This creates a situation where 
mergeManagedDependencies(..) tries to resolve the descendant project instance, 
which during it's construction has to construct its ancestor project 
instances...a set that contains the current one.

And round and round we go.

I've isolated this locally, and will try to put together an integration test to 
express it simply. Hopefully then I can figure out how to solve it, since it 
would seem to demand that module projects already exist, while the call to 
build a module projects actually happens after DefaultMaven gets an instance of 
the parent back. So, it would seem that some sort of prescanning or 
post-processing would be in order, to connect the merged dependency maps after 
all projects are built.

Ralph (or anyone): Is there a reason why the mergeManagedDependencies(..) call 
happens before processProjectLogic(..)? Also, the buildWithDependencies(..) 
call will complicate this, since it's really in the wrong place (it's 
over-extending the reach of the MavenProjectBuilder's design by adding artifact 
resolution beyond the POM in question and its ancestry). 

 StackOverflowError in DefaultMavenProjectBuilder
 

 Key: MNG-3391
 URL: http://jira.codehaus.org/browse/MNG-3391
 Project: Maven 2
  Issue Type: Bug
  Components: Inheritance and Interpolation
Affects Versions: 2.1-alpha-1, 2.1
Reporter: Carlos Sanchez
Assignee: John Casey
Priority: Blocker
 Fix For: 2.1-alpha-1


 checkout https://svn.apache.org/repos/asf/servicemix/smx3/trunk and try to 
 run a goail in samples/cxf-wsdl-first 
 if you checkout only 
 https://svn.apache.org/repos/asf/servicemix/smx3/trunk/samples/cxf-wsdl-first 
  there's no problem, so it must be something to do with the parents
 Revisions tested: 619946 and 609730
 $ mvn process-test-resources
 [WARNING] Deprecated expression: ${version} - missing prefix. Use 
 ${pom.version} (model: org.apache.servicemix:servicemix:pom:3.3-SNAPSHOT)
 [INFO] Attempting to resolve a version for plugin: 
 org.apache.servicemix.tooling:jbi-maven-plugin using meta-version: LATEST
 ---
 constituent[0]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/aspectjrt-1.5.3.jar
 constituent[1]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/backport-util-concurrent-3.0.jar
 constituent[2]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/commons-cli-1.0.jar
 constituent[3]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/doxia-sink-api-1.0-alpha-9.jar
 constituent[4]: file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/jsch-0.1.27.jar
 constituent[5]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/jtidy-4aug2000r7-dev.jar
 constituent[6]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-artifact-3.0-20080208.175410-49.jar
 constituent[7]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-core-2.1-20080208.175921-35.jar
 constituent[8]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-embedder-2.1-SNAPSHOT-sources.jar
 constituent[9]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-embedder-2.1-SNAPSHOT.jar
 constituent[10]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-lifecycle-2.1-20080208.175921-36.jar
 constituent[11]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-model-2.1-20080208.175921-40.jar
 constituent[12]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-plugin-api-2.1-20080208.175921-35.jar
 constituent[13]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-profile-2.1-20080208.175921-37.jar
 constituent[14]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-project-2.1-20080208.175921-38.jar
 constituent[15]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/maven-reporting-api-2.1-20080208.175921-19.jar
 constituent[16]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/plexus-container-default-1.0-alpha-44.jar
 constituent[17]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/plexus-interactivity-api-1.0-alpha-6.jar
 constituent[18]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/plexus-utils-1.4.5.jar
 constituent[19]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/retrotranslator-runtime-1.2.1.jar
 constituent[20]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/wagon-file-1.0-beta-2.jar
 constituent[21]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/wagon-http-lightweight-1.0-beta-2.jar
 constituent[22]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/wagon-http-shared-1.0-beta-2.jar
 constituent[23]: 
 file:/d:/apps/apache-maven-2.1-SNAPSHOT/lib/wagon-provider-api-1.0-beta-2.jar
 constituent[24]: 
 

[jira] Commented: (MANTRUN-66) Can't execute ant ftp under Java6

2008-03-10 Thread gotama (JIRA)

[ 
http://jira.codehaus.org/browse/MANTRUN-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126784
 ] 

gotama commented on MANTRUN-66:
---


FTP is an optional ant task. Sounds like you need to define the optional ant 
tasks dependencies under plugin. 

This is likely NAB.


 Can't execute ant ftp under Java6
 -

 Key: MANTRUN-66
 URL: http://jira.codehaus.org/browse/MANTRUN-66
 Project: Maven 2.x Antrun Plugin
  Issue Type: Bug
Affects Versions: 1.1
 Environment: Windows XP, Java 1.6
Reporter: Massimiliano Amato

 I have a simple and build.xml file that perform an FTP, that is called by 
 antrun, if i execute it using Java5 it works like a charm, if i execute using 
 Java6 it doesn't work and says i can't find a needed library
 Problem is that if i use Java6 and i call the ant file directly works so it 
 must be some kind of antrun issue with java6 i think, i have also another 
 antrun task defined in my project and that works, so probably issue is only 
 with tasks (like ftp) that needs library

-- 
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