mnabeelkhan / tableexport-for-vaadin

Automatically exported from code.google.com/p/tableexport-for-vaadin
0 stars 0 forks source link

pom is unprecise #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a project with the folling pom.xml:
<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/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.company.test</groupId>
    <artifactId>test</artifactId>
    <name>test</name>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>jar</packaging>

    <repositories>
        <repository>
            <id>vaadin-addons</id>
            <url>http://maven.vaadin.com/vaadin-addons</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>com.vaadin.addon</groupId>
            <artifactId>tableexport-for-vaadin</artifactId>
            <version>1.5.1.3</version>
        </dependency>       
    </dependencies>

</project>

2. run mvn compile
3. see output error
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.103s
[INFO] Finished at: Mon May 19 15:00:49 CEST 2014
[INFO] Final Memory: 5M/13M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project test: Could not resolve dependencies 
for project com.company.test:test:jar:0.0.1-SNAPSHOT: Could not find artifact 
org.vaadin.addons:tableexport-for-vaadin:jar:1.5.1.3 in 
maven2-repository.java.net (http://download.java.net/maven/2/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]

To correct the issue:
Change groupId to 'groupId'
        <dependency>
            <groupId>groupId</groupId>
            <artifactId>tableexport-for-vaadin</artifactId>
            <version>1.5.1.3</version>
        </dependency>

What is the expected output? What do you see instead?
The groupId should be clearer and closer to java package  name 
('com.vaadin.addon') or vaadin maven repo : 'org.vaadin.addons', at least, not 
the generic 'groupId' value !

What version of the product are you using? On what operating system?
1.5.1.3
Win7
mvn 3.1.2
Java5

Please provide any additional information below.

Original issue reported on code.google.com by jeremie....@gmail.com on 19 May 2014 at 1:07

GoogleCodeExporter commented 8 years ago
I am seeing a similar issue as well

Missing artifact org.vaadin.addon:tableexport-for-vaadin:jar:1.5.1.5

Is there a solution yet to fix maven dependency? Thanks!

Original comment by karthik....@gmail.com on 10 Oct 2014 at 2:32