I got the code from the repo mentioned below. I tied building the code and got stuck at this point.
----
I was able to follow the instructions up to the point at which I am now trying to build the .war files as specified below
## Making the wars
Run `mvn clean package`.
In case [bower] fails, try to investigate using `mvn package -X`.
You can start bower manually in `org.eclipse.winery.repository` and `org.eclipse.winery.topologymodeler` by issuing `bower install`.
There are two WARs generated:
* `org.eclipse.winery.repository/target/winery.war` and
* `org.eclipse.winery.topologymodeler/target/winery-topologymodeler.war`
Now, when I try to build mvm clean package in the org.eclipse.winery.repository directory I am getting the following errors.
Please see below, any Idea what could be wrong here?
Any help on resolving this will be appreciated.
[ERROR] Failed to execute goal on project org.eclipse.winery.repository: Could not resolve dependencies for project org.eclipse.winery:org.eclipse.winery.repository:war:0.1.37-SNAPSHOT: The following
artifacts could not be resolved: org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.generators.ia:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.repository.client:jar:0.1.37-SNAPSHOT: Could not
find artifact org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project org.eclipse.winery.repository: Could not resolve dependencies for project org.eclipse.winery:org.eclipse.winery.repository:war:0.1.37-SNAPSHOT:
The following artifacts could not be resolved: org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.generators.ia:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.repository.client:jar:0.1.37-SNAPSHOT:
Could not find artifact org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.eclipse.winery:org.eclipse.winery.repository:war:0.1.37-SNAPSHOT: The following artifacts
could not be resolved: org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.generators.ia:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.repository.client:jar:0.1.37-SNAPSHOT: Could not find artifact
org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.generators.ia:jar:0.1.37-SNAPSHOT,
org.eclipse.winery:org.eclipse.winery.repository.client:jar:0.1.37-SNAPSHOT: Could not find artifact org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT, org.eclipse.winery:org.eclipse.winery.generators.ia:jar:0.1.37-SNAPSHOT,
org.eclipse.winery:org.eclipse.winery.repository.client:jar:0.1.37-SNAPSHOT: Could not find artifact org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.eclipse.winery:org.eclipse.winery.common:jar:0.1.37-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:449)
... 26 more
[ERROR]