[
http://jira.codehaus.org/browse/MNBMODULE-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140893#action_140893
]
Johan Andrén commented on MNBMODULE-31:
---------------------------------------
This is the error from the module depending on the previous:
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) se.databyran.prosang.client.core:server:jar:2008.7.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=se.databyran.prosang.client.core
-DartifactId=server -Dversion=2008.7.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=se.databyran.prosang.client.core
-DartifactId=server -Dversion=2008.7.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) se.databyran.prosang.client.core:util:nbm:2008.7.1-SNAPSHOT
2) se.databyran.prosang.client.core:server:jar:2008.7.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
se.databyran.prosang.client.core:util:nbm:2008.7.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
> Different behaviour when building from different root projects
> --------------------------------------------------------------
>
> Key: MNBMODULE-31
> URL: http://jira.codehaus.org/browse/MNBMODULE-31
> Project: Maven 2.x Netbeans Module Plugin
> Issue Type: Bug
> Affects Versions: 2.6
> Reporter: Johan Andrén
> Assignee: Milos Kleint
> Fix For: 2.7
>
>
> We have a project structure where the netbeans platform application is not
> the root project, something like this
> masterproject
> -- netbeansplatform app
> ----suite1
> ----suite2
> ------module1
> ------module2
> All subprojects are setup as modules in the parent maven projects.
> When we build from the netbeansplatform app all modules are deployed as
> jar-files to the maven repository, but when we run from the masterproject the
> nbm-files instead of the jars are deployed. Since we have intermodule
> dependencies this makes the build fail.
> Not sure about what project information to attach to the issue to help
> resolve 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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email