Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] The project [unknown-group-id]:[unknown-artifact-id]:[unknown-version] (D:projectssandboxpom.xml) has 4 errors
- [ERROR] Malformed POM D:projectssandboxpom.xml: Unrecognised tag: 'plugin' (position: START_TAG seen ...http://maven.apache.org/xsd/maven-4.0.0.xsd"> r
- n <build>rn<plugin>... @3:9) @ D:projectssandboxpom.xml, line 3, column 9 -> [Help 2]
- [ERROR] 'groupId' is missing. @ line 1, column 204
- [ERROR] 'artifactId' is missing. @ line 1, column 204
- [ERROR] 'version' is missing. @ line 1, column 204
- [ERROR]
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <build>
- <plugin>
- <inherited>false</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <id>test</id>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target name="test">
- <scp trust="true" failonerror="true" verbose="off" sftp="true"
- file=""
- todir="" />
- <sshexec trust="true" failonerror="true"
- host="test.server"
- username="testuser"
- password="test"
- command=""
- timeout="1000" />
- <taskdef name="scp" classname="org.apache.tools.ant.taskdefs.optional.ssh.Scp">
- <classpath refid="maven.plugin.classpath" />
- </taskdef>
- </target>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-commons-net</artifactId>
- <version>1.6.5</version>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-jsch</artifactId>
- <version>1.9.1</version>
- </dependency>
- </dependencies>
- </plugin>
- </build>
- </project>
Add Comment
Please, Sign In to add comment