Removed Bundle Installation Profile as this can cause conflicts
Updated Readme to next release info
diff --git a/README.md b/README.md
index 5240d58..e722fe9 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
| Version | Description |
|:--------|:------------|
|1.0.0 |Initial Release. Do not use anymore as it has issues with handling embedded bundles|
-|1.0.1 |Fixes for the embedded bundles issue and prevents the interactive mode to fail to ask for certain parameters by having no defaults|
+|1.0.2 |Fixes for the embedded bundles issue and prevents the interactive mode to fail to ask for certain parameters by having no defaults|
#### Introduction
@@ -64,7 +64,7 @@
mvn archetype:generate \
-DarchetypeGroupId=org.apache.sling \
-DarchetypeArtifactId=sling-project-archetype \
- -DarchetypeVersion=1.0.1
+ -DarchetypeVersion=1.0.2
```
Maven will then guide you through the configuration process to fill in all the
properties and then create the project.
diff --git a/src/main/resources/archetype-resources/core.example/pom.xml b/src/main/resources/archetype-resources/core.example/pom.xml
index e1036af..a2c027c 100644
--- a/src/main/resources/archetype-resources/core.example/pom.xml
+++ b/src/main/resources/archetype-resources/core.example/pom.xml
@@ -150,27 +150,4 @@
<artifactId>junit</artifactId>
</dependency>
</dependencies>
-
- <!--Commented out to avoid accidental deployment -->
- <!--<profiles>-->
- <!--<profile>-->
- <!--<id>autoInstallBundle</id>-->
- <!--<build>-->
- <!--<plugins>-->
- <!--<plugin>-->
- <!--<groupId>org.apache.sling</groupId>-->
- <!--<artifactId>maven-sling-plugin</artifactId>-->
- <!--<executions>-->
- <!--<execution>-->
- <!--<id>install-bundle</id>-->
- <!--<goals>-->
- <!--<goal>install</goal>-->
- <!--</goals>-->
- <!--</execution>-->
- <!--</executions>-->
- <!--</plugin>-->
- <!--</plugins>-->
- <!--</build>-->
- <!--</profile>-->
- <!--</profiles>-->
</project>
diff --git a/src/main/resources/archetype-resources/core/pom.xml b/src/main/resources/archetype-resources/core/pom.xml
index e298d91..255bb4c 100644
--- a/src/main/resources/archetype-resources/core/pom.xml
+++ b/src/main/resources/archetype-resources/core/pom.xml
@@ -145,26 +145,9 @@
</dependency>
</dependencies>
- <profiles>
- <!-- ATTENTION: It is highly recomended not to deploy this with this Profile if this Bundle was or will be deployed with the All package -->
- <profile>
- <id>autoInstallBundle</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.sling</groupId>
- <artifactId>maven-sling-plugin</artifactId>
- <executions>
- <execution>
- <id>install-bundle</id>
- <goals>
- <goal>install</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <!--
+ Attention: the autoInstallBundle was removed as deploying bundles directly and through a package is causing
+ issues with updates and can prevent the latest code of a bundle being deployed.
+ If you know what you are doing then you can use maven-sling-plugin directly from the Maven CLI.
+ -->
</project>