Hi

When running "mvn clean install" on the branch 'magnolia-4.5.x', then I 
get the following error

mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective 
model for info.magnolia:magnolia-core:jar:4.5.9-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 214, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective 
model for info.magnolia:magnolia-templating-editor:jar:4.5.9-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
com.atlassian.maven.plugins:maven-clover2-plugin is missing. @ line 75, 
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective 
model for info.magnolia:magnolia-module-workflow:jar:4.5.9-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' 
must be unique: info.magnolia:magnolia-core:test-jar -> duplicate 
declaration of version 4.5.9-SNAPSHOT @ line 98, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective 
model for info.magnolia:magnolia-empty-webapp:war:4.5.9-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-clean-plugin is missing. @ line 182, 
column 15
[WARNING] 'build.plugins.plugin.version' for 
org.mortbay.jetty:jetty-maven-plugin is missing. @ line 216, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they 
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING]
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] magnolia-project
[INFO] magnolia-core
[INFO] magnolia-jaas
[INFO] magnolia-gui
[INFO] magnolia-rendering
[INFO] magnolia-module-admininterface
[INFO] magnolia-module-fckeditor
[INFO] magnolia-templating
[INFO] magnolia-templating-editor
[INFO] magnolia-templating-jsp
[INFO] magnolia-templating-samples
[INFO] magnolia-module-cache
[INFO] magnolia-module-exchange-simple
[INFO] magnolia-module-mail
[INFO] magnolia-module-store-client
[INFO] magnolia-module-workflow
[INFO] magnolia-empty-webapp
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building magnolia-project 4.5.9-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[WARNING] The POM for info.magnolia:maven-setproperty-plugin:jar:1.1.1 
is missing, no dependency information available
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] magnolia-project .................................. FAILURE [0.140s]
[INFO] magnolia-core ..................................... SKIPPED
[INFO] magnolia-jaas ..................................... SKIPPED
[INFO] magnolia-gui ...................................... SKIPPED
[INFO] magnolia-rendering ................................ SKIPPED
[INFO] magnolia-module-admininterface .................... SKIPPED
[INFO] magnolia-module-fckeditor ......................... SKIPPED
[INFO] magnolia-templating ............................... SKIPPED
[INFO] magnolia-templating-editor ........................ SKIPPED
[INFO] magnolia-templating-jsp ........................... SKIPPED
[INFO] magnolia-templating-samples ....................... SKIPPED
[INFO] magnolia-module-cache ............................. SKIPPED
[INFO] magnolia-module-exchange-simple ................... SKIPPED
[INFO] magnolia-module-mail .............................. SKIPPED
[INFO] magnolia-module-store-client ...................... SKIPPED
[INFO] magnolia-module-workflow .......................... SKIPPED
[INFO] magnolia-empty-webapp ............................. SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1.019s
[INFO] Finished at: Thu Apr 25 14:05:37 CEST 2013
[INFO] Final Memory: 7M/81M
[INFO] 
------------------------------------------------------------------------
[ERROR] Plugin info.magnolia:maven-setproperty-plugin:1.1.1 or one of 
its dependencies could not be resolved: Failed to read artifact 
descriptor for info.magnolia:maven-setproperty-plugin:jar:1.1.1: Failure 
to find info.magnolia:maven-setproperty-plugin:pom:1.1.1 in 
http://repo.maven.apache.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central 
has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException


Do I first need to build something else?

(btw, I get the same error when trying to build the master branch)

Thanks

Michael



Am 25.04.13 13:04, schrieb Jan Haderka:
> --
> Jan
>
> On Apr 25, 2013, at 12:19 PM, Michael Wechner<[email protected]>  
> wrote:
>
>> Greetings
>>
>> I would like to build Magnolia from source (git) via the command line,
>> but have trouble finding a guide to do so.
>>
>> For example it's not clear to me which git repositories I really need from
>>
>> http://git.magnolia-cms.com/gitweb/
> To start with basic Magnolia and to build something minimalistic but runnable 
> it should be enough to build
>
> http://git.magnolia-cms.com/gitweb/?p=magnolia_main.pub.git;a=summary
>
> Once you clone the repo locally, running "mvm clean install" should get you 
> going.
>
> you probably want to build from the tag to build yourself exact copy of some 
> release or from one of the maintenance branches (those that end with .x). The 
> "master" branch points to what will be Magnolia 5.0 and is currently under 
> heavy development so you might have some extra issues (depending on when you 
> get that branch).
>
> Just out of curiosity, why do you need to build yourself instead of using 
> already built artefacts available in maven repo?
>
> HTH,
> Jan
>
>
>
>
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to:<[email protected]>
> ----------------------------------------------------------------
>



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to