You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2017/12/15 12:06:00 UTC

[jira] [Commented] (CONNECTORS-1475) maven build not working

    [ https://issues.apache.org/jira/browse/CONNECTORS-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292412#comment-16292412 ] 

Karl Wright commented on CONNECTORS-1475:
-----------------------------------------

Hi [~Bummibaer],

The instructions you are reading are correct and involve building ManifoldCF using ant, not maven.  Maven builds are not officially supported and you cannot produce anything other than jars with this -- not a binary image.

The instructions have you use the distributed "lib" package and place it into the "lib" folder at the top level of the source tree, and then use ant to build.  If you are building from trunk, there is an alternative step you should take to get the ManifoldCF dependencies into place: ant make-core-deps

Also, this is the kind of question that should be posted on the user list, not via ticket.


> maven build not working
> -----------------------
>
>                 Key: CONNECTORS-1475
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1475
>             Project: ManifoldCF
>          Issue Type: Bug
>         Environment: Windows 7 Professional
>            Reporter: Steffen Netz
>
> I cannot build the trunk of ManifoldCF. I get the error below.
> Also, I don't understand the README:
> _ Copy the lib folder in the lib distribution into the source distribution.
> which lib distribution should copied?_
> Any hint?
> Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187. (org.apache.maven.plugins:maven-dependency-plugin:2.8:copy:copy-war:generate-resources)
> org.apache.maven.plugin.MojoExecutionException: Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187.
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:224)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.copyArtifact(CopyMojo.java:133)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.doExecute(CopyMojo.java:111)
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:167)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)
> 	at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362)
> 	at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1)
> 	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)