Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Building Foundation-Sites via Maven does not work #974

Closed
tde-desc opened this issue Apr 10, 2017 · 0 comments
Closed

Building Foundation-Sites via Maven does not work #974

tde-desc opened this issue Apr 10, 2017 · 0 comments

Comments

@tde-desc
Copy link

tde-desc commented Apr 10, 2017

Having problem with building Foundation via Maven since a couple of days. I'm using the following Build-plugin-config:

<plugin>
	<groupId>com.github.eirslett</groupId>
	<artifactId>frontend-maven-plugin</artifactId>
	<!-- Use the latest released version:
	https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
	<version>1.0</version>
	<configuration>
		<workingDirectory>src/main/webapp</workingDirectory>
	</configuration>
	<executions>
		<execution>
			<id>install node and npm</id>
			<goals>
				<goal>install-node-and-npm</goal>
			</goals>
			<configuration>
				<nodeVersion>v6.3.0</nodeVersion>
				<npmVersion>3.10.5</npmVersion>

			</configuration>
		</execution>

		<execution>
			<id>npm install</id>
			<goals>
				<goal>npm</goal>
			</goals>
			<!-- Optional configuration which provides for running any npm command -->
			<configuration>
				<arguments>install</arguments>

			</configuration>
		</execution>

		<execution>
			<id>npm install bower</id>
			<goals>
				<goal>npm</goal>
			</goals>
			<!-- Optional configuration which provides for running any npm command -->
			<configuration>
				<arguments>install bower</arguments>

			</configuration>
		</execution>

		<execution>
			<id>bower install</id>
			<goals>
				<goal>bower</goal>
			</goals>
			<!-- Optional configuration which provides for running any npm command -->
			<configuration>
				<arguments>install</arguments>

			</configuration>
		</execution>

		<execution>
			<id>npm run build</id>
			<goals>
				<goal>npm</goal>
			</goals>
			<configuration>
				<arguments>run build</arguments>

			</configuration>
		</execution>
	</executions>

</plugin>

Which results in the following output:

[INFO] --- frontend-maven-plugin:1.0:bower (bower install) @ resources-ui ---
[INFO] Running 'bower install' in /home/user/Development/Projects/repository/src/main/webapp
[INFO] bower foundation-sites#~6.3     cached https://github.com/zurb/foundation-sites.git#6.3.1
[INFO] bower foundation-sites#~6.3   validate 6.3.1 against https://github.com/zurb/foundation-sites.git#~6.3
[INFO] bower what-input#~4.0.3         cached https://github.com/ten1seven/what-input.git#4.0.6
[INFO] bower what-input#~4.0.3       validate 4.0.6 against https://github.com/ten1seven/what-input.git#~4.0.3
[ERROR] bower                        ECONFLICT Unable to find suitable version for what-input
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Also mentioned here : #594 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant