Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven2 build deployment #12

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 24 comments
Closed

Maven2 build deployment #12

GoogleCodeExporter opened this issue Apr 22, 2015 · 24 comments

Comments

@GoogleCodeExporter
Copy link

Please start using Maven2 for build and deployment.

I believe it will save time in long run.

Thanks,
--MG

Original issue reported on code.google.com by mgrushin...@gmail.com on 1 Dec 2008 at 3:49

@GoogleCodeExporter
Copy link
Author

Repository URL : http://www.smartclient.com/smartgwt/maven2
       GroupId : com.smartgwt
    ArtifactId : smartgwt
       Version : 1.0b2-SNAPSHOT  (at the time of writing)

Original comment by nikolas....@gmail.com on 8 Dec 2008 at 12:46

@GoogleCodeExporter
Copy link
Author

Is that artifactory server? Somehow it doesn't show the directory and just 
prompts to
save a file... Something is not right.

Thanks

Original comment by mgrushin...@gmail.com on 8 Dec 2008 at 12:52

@GoogleCodeExporter
Copy link
Author

The Directory Index seems to be disabled/misconfigured.
That's not a problem, as the only file that is required by maven2 is the JAR:
http://www.smartclient.com/smartgwt/maven2/com/smartgwt/smartgwt/1.0b2-SNAPSHOT/
smartgwt-1.0b2-SNAPSHOT.jar

I'm sure the missing files (.pom, .md5, .sha1) will be in the repository soon.

Original comment by nikolas....@gmail.com on 8 Dec 2008 at 2:06

@GoogleCodeExporter
Copy link
Author

Added to repository. Repository details as mentioned by nikolas.lotz above. 
Future 
drops will have the message digests.

Original comment by sanjiv.j...@gmail.com on 17 Dec 2008 at 9:59

  • Changed state: Fixed
  • Added labels: 12-17-2008

@GoogleCodeExporter
Copy link
Author

I am not sure this is fixed.  My repository manager (Nexus) still will not get 
files
from this repository.  This may be due to the fact that directory listing has 
been
disabled.

Also, maven separates snapshots from releases in different repositories.  This 
is
required if you want to include your repository in the public repository.  
Guidelines
for the public repository are listed here:

http://maven.apache.org/guides/mini/guide-central-repository-upload.html


Original comment by skjard...@gmail.com on 18 Dec 2008 at 6:57

@GoogleCodeExporter
Copy link
Author

Thanks, I'll check it out.

Original comment by sanjiv.j...@gmail.com on 18 Dec 2008 at 7:14

@GoogleCodeExporter
Copy link
Author

Original comment by sanjiv.j...@gmail.com on 18 Dec 2008 at 7:14

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I have set up a repository that gets updated with the automated builds:

 Repository: http://smartgwtsnap.rorschach.de

   Group Id: com.smartgwt
Artifact Id: smartgwt
    Version: 1.0b2-SNAPSHOT

Original comment by nikolas....@gmail.com on 21 Jan 2009 at 10:41

@GoogleCodeExporter
Copy link
Author

Thanks Nikolas. 

skjardine, can you verify with the repository settings provided by nikolas 
(comment 8). If all is well, I'll go ahead 
and close this issue. Can revisit at some point in the future to place on 
mavenrepository.com or even host it on 
smartclient.

Original comment by sanjiv.j...@gmail.com on 21 Jan 2009 at 11:20

@GoogleCodeExporter
Copy link
Author

Original comment by sanjiv.j...@gmail.com on 22 Jan 2009 at 10:23

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Re "http://smartgwtsnap.rorschach.de" 

Is there an official Maven distribution of 1,0b3 ?

http://www.smartclient.com/smartgwt/maven2 - still doesn't work correctly.


Original comment by john.lon...@gmail.com on 28 Apr 2009 at 3:15

@GoogleCodeExporter
Copy link
Author

What version should I be looking for the recent features added for GWT-RPC 
(discussed
in this thread):
http://forums.smartclient.com/showthread.php?t=4814

I am using the following mojo 

Group Id: com.smartgwt
Artifact Id: smartgwt
Version: 1.0b2-SNAPSHOT

which according to this thread should be updated by automated builds but
"DSProtocol.java" still misses CLIENTCUSTOM("clientCustom")

or is there another Maven distribution

Thanks in advance
Arash

Original comment by rakhshan on 16 May 2009 at 7:25

@GoogleCodeExporter
Copy link
Author

You're pointing to an older version. See this post for details : 

http://forums.smartclient.com/showthread.php?t=3030

Original comment by sanjiv.j...@gmail.com on 16 May 2009 at 9:15

@GoogleCodeExporter
Copy link
Author

We have setup an official maven repository.

Repository URL : http://www.smartclient.com/maven2

Group Id: com.smartgwt 
Artifact Id: smartgwt 
Version: 1.2-SNAPSHOT

Artifact for smartgwt-skins

Group Id: com.smartgwt 
Artifact Id: smartgwt-skins 
Version: 1.2-SNAPSHOT

Original comment by smartgwt...@gmail.com on 7 Aug 2009 at 5:26

@GoogleCodeExporter
Copy link
Author

Like #11 I'm not sure this is fixed. My pom.xml is as follows:

  <repositories>
    <repository>
        <id>SmartGWT</id>
        <url>http://www.smartclient.com/smartgwt/maven2</url>
    </repository>
  </repositories>
  ...
  <dependency>
        <groupId>com.smartgwt</groupId>
        <artifactId>smartgwt</artifactId>
        <version>1.3</version>
  </dependency>

And I still get a missing artifact error. I think the error is in the 
repository 
because if everything were fine I should be able to browse the artifacts in my 
M2Eclipse enviroment, which I can't.

Original comment by supertra...@gmail.com on 9 Oct 2009 at 1:07

@GoogleCodeExporter
Copy link
Author

Try this repository definition in your pom.xml:

  <repository>
    <id>smartgwt</id>
    <name>SmartGWT</name>
    <url>http://www.smartclient.com/maven2</url>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>

Note the different URL.

Original comment by sean.flanigan@gmail.com on 20 Oct 2009 at 5:13

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Please update the version numbers and the repository url on the following wiki 
page:

http://code.google.com/p/smartgwt-ea/wiki/HowToEclipseGWTMaven

Thanks,
Neil.

Original comment by crown...@gmail.com on 8 Dec 2009 at 8:41

@GoogleCodeExporter
Copy link
Author

Please, could you update the page Neil mentioned ?
The repository URL and version numbers are still the old ones.

Original comment by dmartin....@gmail.com on 6 Jan 2010 at 5:32

@GoogleCodeExporter
Copy link
Author

This is the latest I have used:

Repository URL : http://www.smartclient.com/maven2

Group Id: com.smartgwt 
Artifact Id: smartgwt 
Version: 2.0

Artifact for smartgwt-skins

Group Id: com.smartgwt 
Artifact Id: smartgwt-skins 
Version: 2.0



This is the part of pom.xml you need to be defined:

  <pluginRepositories>
    <pluginRepository>
        <id>gwt-maven-plugins</id>
        <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
    </pluginRepository>
  </pluginRepositories>    
  <repositories>        
    <repository>
        <id>gwt-maven</id>
        <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
    </repository>
    <repository>
        <id>smartclient</id>
        <name>smartclient.com</name>
        <url>http://www.smartclient.com/maven2</url>
   </repository>
  </repositories>

and in 

<dependenices> 

...

         <dependency>
      <groupId>com.smartgwt</groupId>
      <artifactId>smartgwt</artifactId>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>com.smartgwt</groupId>
      <artifactId>smartgwt-skins</artifactId>
      <version>2.0</version>
    </dependency>
...

</dependenices>

Original comment by filip...@gmail.com on 11 Feb 2010 at 1:47

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I'm unable to get the dependencies from the repository by maven.
The following message I get from maven:

02.11.10 14:54:53 MEZ: Updating index 
smartclient|http://www.smartclient.com/maven2/
02.11.10 14:54:54 MEZ: Unable to update index for 
smartclient|http://www.smartclient.com/maven2/: Resource 
nexus-maven-repository-index.properties does not exist

Original comment by stephan....@gmail.com on 2 Nov 2010 at 1:57

@GoogleCodeExporter
Copy link
Author

same problem here - using repository via nexus. any fixes?

Original comment by tantea...@hotmail.com on 4 Mar 2011 at 7:57

@GoogleCodeExporter
Copy link
Author

Same problem here with the index ...

Original comment by mario.si...@gmail.com on 11 Mar 2011 at 4:34

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

No branches or pull requests

1 participant