NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
gcameo
Joined: 21 Apr 2010 Posts: 21
|
Posted: Thu Apr 22, 2010 10:04 pm Post subject: Module dependency has friend dependency |
|
|
Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
| Code: | | Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend. |
I have added this declaration to my pom.xml
| Code: |
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
|
And this to my module.xml
| Code: |
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
|
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A |
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Fri Apr 23, 2010 5:43 am Post subject: [platform-dev] Re: Module dependency has friend dependency |
|
|
you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
Code:
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
Code:
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
|
|
|
| Back to top |
|
 |
gcameo
Joined: 21 Apr 2010 Posts: 21
|
Posted: Fri Apr 23, 2010 10:39 am Post subject: Re: [platform-dev] Re: Module dependency has friend dependency |
|
|
Hi Thanks.
Can you give an example on how this implementation dependency is done in a maven based application.
I was thinking that is what I have done in my module.xml.
Kind regards
| Milos Kleint wrote: | you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
Code:
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
Code:
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
|
|
|
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Fri Apr 23, 2010 11:13 am Post subject: [platform-dev] Re: Module dependency has friend dependency |
|
|
On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi Thanks.
Can you give an example on how this implementation dependency is done in a maven based application.
I was thinking that is what I have done in my module.xml.
|
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation version from the module's manifest..
Milos
| Quote: |
Kind regards
Milos Kleint wrote:
| Quote: | you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
|
| Quote: | On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed (address-removed)> wrote:
| Quote: | Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
Code:
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
Code:
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
|
|
|
|
|
| Back to top |
|
 |
gcameo
Joined: 21 Apr 2010 Posts: 21
|
Posted: Fri Apr 23, 2010 12:54 pm Post subject: Re: [platform-dev] Re: Module dependency has friend dependency |
|
|
Hi,
Tha has resolved the issue. for anyone who comes looking for a solution, I added this
| Code: |
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>
|
But that only led to another issue with this as the error message
| Code: |
Private classes referenced in module: [org.netbeans.modules.xml.schema.completion.CompletionResultItem, org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
|
Does that mean that I cannot use these classes in my project.
Regards
| Milos Kleint wrote: | On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi Thanks.
Can you give an example on how this implementation dependency is done in a maven based application.
I was thinking that is what I have done in my module.xml.
|
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation version from the module's manifest..
Milos
| Quote: |
Kind regards
Milos Kleint wrote:
| Quote: | you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
|
| Quote: | On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed (address-removed)> wrote:
| Quote: | Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
Code:
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
Code:
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
|
|
|
|
|
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Fri Apr 23, 2010 2:12 pm Post subject: [platform-dev] Re: Module dependency has friend dependency |
|
|
check the nbm-plugin parameter for ignoring validation errors.. the validation was not made to recognize custom explicit values.. feel free to file as bug or sumbit a patch.
Milos
On Fri, Apr 23, 2010 at 2:55 PM, gcameo <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi,
Tha has resolved the issue. for anyone who comes looking for a solution, I added this
Code:
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 = 5</explicitValue>
</dependency>
But that only led to another issue with this as the error message
Code:
Private classes referenced in module: [org.netbeans.modules.xml.schema.completion.CompletionResultItem, org.netbeans.modules.xml.schema.completion.CompletionQuery]
[ERROR]Project depends on packages not accessible at runtime in module org.netbeans.api:org-netbeans-modules-xml-schema-completion:jar:RELEASE68
Does that mean that I cannot use these classes in my project.
Regards
Milos Kleint wrote:
| Quote: | On Fri, Apr 23, 2010 at 12:40 PM, gcameo <address-removed (address-removed)> wrote:
| Quote: | Hi Thanks.
Can you give an example on how this implementation dependency is done in a maven based application.
I was thinking that is what I have done in my module.xml.
|
unlikely.. the pattern for impl dependencies is XXX = IMPL_VERSION
where XXX is the codenamebase and IMPL_VERSION is the implementation version from the module's manifest..
Milos
| Quote: |
Kind regards
Milos Kleint wrote:
| Quote: | you either have declare implementation dependency <explicitValue> xxx = yyy</explicitValue>
or you have to ask someone to be added as friend.
Milos
|
| Quote: | On Fri, Apr 23, 2010 at 12:04 AM, gcameo <address-removed (address-removed)> wrote:
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | Hi All,
I am unable to build my platform maven application.
Each time I try to build, the build fails with
Code:
Module dependency has friend dependency on org.netbeans.modules.xml.text/2but is not listed as friend.
I have added this declaration to my pom.xml
Code:
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-xml-text</artifactId>
<version>RELEASE68</version>
</dependency>
And this to my module.xml
Code:
<dependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-xml-text</id>
<type>spec</type>
<explicitValue>org.netbeans.modules.xml.text/2 > 1.26</explicitValue>
</dependency>
</dependencies>
But it still doesn't work.
Any form of help will be very much appreciated.
Regards
Farouk A
|
|
|
|
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|