11-10-2015 09:58 AM
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/alfresco-lifecycle-aggregato...
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 =>
<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>
******************************************************************
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
********************************************************************
<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>
******************************************************************************
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
11-10-2015 01:22 PM
11-10-2015 09:30 PM
11-18-2015 06:22 PM
mvn install:install-file -Dfile=[AMP full path and name] -DgroupId=[GROUPID] -DartifactId=[AMP name without version] -Dversion=[AMP_VERSION] -Dpackaging=amp -DlocalRepositoryPath=[local .M2 full path]
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.