Quantcast
Channel: Alfresco Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 305

installing javascript console for alfresco 5.0

$
0
0

Hello

I'm on Alfresco 5.0 SDK 2.1.1 and I downloaded the jsconsole on "https://github.com/share-extras/js-console"

I succeded to install via the "manuel technique" (the one in the bottom of the previous link) and also via "goal method" from this website => https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/...

For my job i need to also succed in "dependency" method

I did the mvn install and the dependencies in both amp : repo and share

******************************************************************
picture of the org.shareextras repository => http://www.noelshack.com/2015-46-1447166844-1.png

[code] <dependency>
<groupId>org.sharextras</groupId>
<artifactId>javascript-console-repo</artifactId>
<!-- <version>0.6.0</version> --> // my version seem to be 1.0, not 0.6.0
<version>1.0</version>
<type>amp</type>
</dependency>[/code]
******************************************************************

I also changed the maven war plugin wich I found in my "effective POM", so I added him in my "pom.xml" only for my pom.xml in repo, my pom.xml in the sare already had a plugin section

********************************************************************
[code] <build>
<pluginManagement> //build management helped me to avoid a warning about overinding versions
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.5</version>
<dependencies>
<dependency>
<groupId>org.alfresco.maven.plugin</groupId>
<artifactId>alfresco-maven-plugin</artifactId>
<version>2.1.1</version>
</dependency>
</dependencies>
<configuration>
<overlay>
<groupId>org.sharextras</groupId>
<artifactId>javascript-console-repo</artifactId>
<type>amp</type>
</overlay>
<archiveClasses>false</archiveClasses>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build> [/code]

******************************************************************************

I tried a lot of different things, synthax but in dependency method I never succed to just find the module

picture of my logs => http://www.noelshack.com/2015-46-1447167246-2.png

Thanks in advance if you know something

5.0

Viewing all articles
Browse latest Browse all 305

Trending Articles