You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2008/08/04 14:25:52 UTC

[jira] Created: (SM-1496) jbi-maven-plugin fails on build

jbi-maven-plugin fails on build
-------------------------------

                 Key: SM-1496
                 URL: https://issues.apache.org/activemq/browse/SM-1496
             Project: ServiceMix
          Issue Type: Bug
          Components: tooling
    Affects Versions: 3.3
            Reporter: Lars Heinemann
             Fix For: 3.3


when trying to build the plugin it complains:

[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
[INFO]    task-segment: [clean, install]                                                                                                                                           
[INFO] ------------------------------------------------------------------------                                                                                                    
[INFO] [clean:clean]                                                                                                                                                               
[INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
[INFO] [plugin:descriptor]                                                                                                                                                         
[WARNING]                                                                                                                                                                          

Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.

[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 13 mojo descriptors.
[INFO] Applying extractor for language: bsh                   
[INFO] Extractor for language: bsh found 0 mojo descriptors.  
[INFO] [resources:resources]                                  
[INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
[INFO] Copying 2 resources                                                 
[INFO] [compiler:compile]                                                  
[INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
[INFO] ------------------------------------------------------------------------                                         
[ERROR] BUILD FAILURE                                                                                                   
[INFO] ------------------------------------------------------------------------                                         
[INFO] Compilation failure                                                                                              

/mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)

/mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
location: class org.apache.maven.artifact.resolver.ResolutionNode

/mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
symbol  : method isChildOfRootNode()
location: class org.apache.maven.artifact.resolver.ResolutionNode

/mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
symbol  : method isChildOfRootNode()
location: class org.apache.maven.artifact.resolver.ResolutionNode


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
[INFO] Final Memory: 27M/105M
[INFO] ------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1496) jbi-maven-plugin fails on build

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SM-1496.
------------------------------

    Resolution: Fixed

Lars, patch get applied

svn commit . -m "[SM-1496] explicitly specify mvn version to avoid picking up wrong mvn lib version from transitive dependency"
Sending        trunk/pom.xml
Transmitting file data .
Committed revision 682632.

thanks



> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>         Attachments: patch.diff
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1496) jbi-maven-plugin fails on build

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44728#action_44728 ] 

Lars Heinemann commented on SM-1496:
------------------------------------

Hi Freeman,

this is my environment:

mvn --version:

Maven version: 2.0.8
Java version: 1.5.0_15
OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"

Regards
Lars


> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1496) jbi-maven-plugin fails on build

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1496:
--------------------------------

    Assignee: Freeman Fang

> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SM-1496) jbi-maven-plugin fails on build

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1496 started by Freeman Fang.

> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1496) jbi-maven-plugin fails on build

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44729#action_44729 ] 

Freeman Fang commented on SM-1496:
----------------------------------

Hi Lars,

Still can't reproduce this problem with mvn 2.0.8, my evn is
mvn -version
Maven version: 2.0.8
Java version: 1.5.0_15
OS name: "linux" version: "2.6.9-42.elsmp" arch: "i386" Family: "unix"

And I just go through the src code of maven, the method needed are there.
Would you please clean the mvn artifacts from your local mvn repository and try again, and I will do same thing on my side as well.

Regards
Freeman

> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1496) jbi-maven-plugin fails on build

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann updated SM-1496:
-------------------------------

    Attachment: patch.diff

This patch did solve the problem for me.


> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>         Attachments: patch.diff
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1496) jbi-maven-plugin fails on build

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44721#action_44721 ] 

Freeman Fang commented on SM-1496:
----------------------------------

Hi Lars,

I can't reproduce this issue with maven 2.0.9, what's the maven version you are using?

Regards
Freeman

> jbi-maven-plugin fails on build
> -------------------------------
>
>                 Key: SM-1496
>                 URL: https://issues.apache.org/activemq/browse/SM-1496
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.3
>            Reporter: Lars Heinemann
>            Assignee: Freeman Fang
>             Fix For: 3.3
>
>
> when trying to build the plugin it complains:
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] Building ServiceMix :: Maven2 JBI Plugin                                                                                                                                    
> [INFO]    task-segment: [clean, install]                                                                                                                                           
> [INFO] ------------------------------------------------------------------------                                                                                                    
> [INFO] [clean:clean]                                                                                                                                                               
> [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target                                                                             
> [INFO] [plugin:descriptor]                                                                                                                                                         
> [WARNING]                                                                                                                                                                          
> Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 13 mojo descriptors.
> [INFO] Applying extractor for language: bsh                   
> [INFO] Extractor for language: bsh found 0 mojo descriptors.  
> [INFO] [resources:resources]                                  
> [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
> [INFO] Copying 2 resources                                                 
> [INFO] [compiler:compile]                                                  
> [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
> [INFO] ------------------------------------------------------------------------                                         
> [ERROR] BUILD FAILURE                                                                                                   
> [INFO] ------------------------------------------------------------------------                                         
> [INFO] Compilation failure                                                                                              
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
> symbol  : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
> symbol  : method isChildOfRootNode()
> location: class org.apache.maven.artifact.resolver.ResolutionNode
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
> [INFO] Final Memory: 27M/105M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.